Ingestion
Upload and ingest documents
Upload a document
Upload a document file for processing. The document will be automatically parsed, classified, and embedded.
Authorization
AuthorizationRequiredBearer <token>Use a JWT access token or API key. Include as: Authorization: Bearer <token>
In: header
Request Body
multipart/form-dataRequiredfileRequiredfileDocument file (PDF, DOCX, HTML, TXT, EML, images)
Format:
"binary"project_idstringAssign to a project (optional)
auto_classifybooleanDefault:
truegenerate_embeddingsbooleanDefault:
trueextract_fieldsbooleanDefault:
trueprioritystringValue in:
"low" | "normal" | "high"webhook_urlstringURL to notify when processing completes
Format:
"uri"metadatastringJSON string of custom metadata
Document accepted for processing
Ingest documents via JSON (base64)
Authorization
AuthorizationRequiredBearer <token>Use a JWT access token or API key. Include as: Authorization: Bearer <token>
In: header
Request Body
application/jsonRequireddocumentsRequiredarray<object>project_idstringprioritystringValue in:
"low" | "normal" | "high"Documents accepted
List ingestion jobs
Authorization
AuthorizationRequiredBearer <token>Use a JWT access token or API key. Include as: Authorization: Bearer <token>
In: header
Query Parameters
statusstringproject_idstringlimitintegerDefault:
20offsetintegerDefault:
0Job list
Get ingestion job status
Authorization
AuthorizationRequiredBearer <token>Use a JWT access token or API key. Include as: Authorization: Bearer <token>
In: header
Path Parameters
jobIdRequiredstringJob details