Skip to main content
POST
Upload Text Item

Autorizaciones

Authorization
string
header
requerido

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

Cuerpo

application/json
name
string
requerido

Name for the knowledge item

content
string
requerido

The text content to index as a knowledge item

knowledge_base_id
string<uuid> | null

Optional ID of a knowledge base to assign the item to

Respuesta

Successful Response

id
string<uuid>
requerido

Unique identifier for the knowledge item

name
string
requerido

Name of the knowledge item

created_date
string<date-time>
requerido

When the item was created

status
enum<string>
requerido

Current status of the knowledge item

Opciones disponibles:
indexing,
uploaded,
error
category
string
predeterminado:txt
Allowed value: "txt"
size_bytes
integer | null

Size of the knowledge item content in bytes

knowledge_base_id
string<uuid> | null

ID of the knowledge base this item belongs to, if any

content
string | null

Text content of the knowledge item