pctx0
Knowledge
Upload Document
Upload a knowledge document as multipart/form-data. Accepted files: .txt or .md, UTF-8, max 2 MB. labels may be a JSON array string or comma/semicolon-delimited values. Label keys must not start with _.
POST
pctx0
Authorizations
Workspace access key for agent/runtime integrations.
Path Parameters
Body
multipart/form-data
Response
Created
Example:
"88888888-8888-8888-8888-888888888888"
Example:
"11111111-1111-1111-1111-111111111111"
Example:
"Product FAQ"
Example:
"faq.md"
Example:
"text/markdown"
Example:
"e3b0c44298fc1c149afbf4c8996fb924"
Example:
1800
Available options:
processing, indexed, failed Example:
"processing"
Example:
"2026-07-01T12:00:00Z"
Example:
"2026-07-01T12:00:00Z"
Example:
Example:
"recursive"
Example:
800
Example:
100
