v1

latestOpenAPI 3.1.02026-07-26142186376.1 KB
Knowledge

Upload Content

Upload content to the knowledge base. Supports file uploads, text content, or URLs. Content is processed asynchronously in the background. Supports custom readers and chunking strategies.

post/knowledge/content

Query parameters

db_idstring nullable

Database ID to use for content storage

Database ID to use for content storage

knowledge_idstring nullable

Knowledge base ID to upload to

Knowledge base ID to upload to

Response

Content upload accepted for processing

idstring required

Unique identifier for the content

namestring nullable

Name of the content

descriptionstring nullable

Description of the content

typestring nullable

MIME type of the content

sizestring nullable

Size of the content in bytes

linked_tostring nullable

ID of related content if linked

metadataobject nullable

Additional metadata as key-value pairs

access_countinteger nullable

Number of times content has been accessed

status'processing' | 'completed' | 'failed'

Enumeration of possible content processing statuses.

status_messagestring nullable

Status message or error details

created_atstring date-time nullable

Timestamp when content was created

updated_atstring date-time nullable

Timestamp when content was last updated