Skip to main content
PATCH
Update Content

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

content_id
string
required

Content ID

Query Parameters

db_id
string | null

Database ID to use

knowledge_id
string | null

Knowledge base ID to use

Body

application/x-www-form-urlencoded
name
string | null

Content name

description
string | null

Content description

metadata
string | null

Content metadata as JSON string

reader_id
string | null

Reader ID. In Agno 2.7.4, local knowledge validates the value, but the content patch does not apply or persist the reader change.

Response

Content updated successfully

id
string
required

Unique identifier for the content

name
string | null

Name of the content

description
string | null

Description of the content

type
string | null

MIME type of the content

size
string | null

Size of the content in bytes

linked_to
string | null

Knowledge instance name used for content isolation. Local Agno 2.7.4 responses return null because response conversion does not propagate the stored value.

metadata
Metadata · object | null

Additional metadata as key-value pairs

access_count
integer | null

Stored access count. Local Agno 2.7.4 responses return null because response conversion does not propagate the stored value.

Required range: x >= 0
status
enum<string> | null

Processing status of the content

Available options:
processing,
completed,
failed
status_message
string | null

Status message or error details

created_at
string<date-time> | null

Timestamp when content was created

updated_at
string<date-time> | null

Timestamp when content was last updated