Skip to main content
PATCH
/
knowledge
/
content
/
{content_id}
{
  "id": "3c2fc685-d451-4d47-b0c0-b9a544c672b7",
  "name": "example.pdf",
  "description": "",
  "type": "application/pdf",
  "size": "251261",
  "metadata": {},
  "access_count": 1,
  "status": "completed",
  "status_message": "",
  "created_at": "2025-09-08T15:22:53Z",
  "updated_at": "2025-09-08T15:22:54Z"
}

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

The ID of the database 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

ID of the reader to use for processing

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

ID of related content if linked

metadata
Metadata · object

Additional metadata as key-value pairs

access_count
integer | null

Number of times content has been accessed

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