Ingest uploaded files
POST/knowledge-bases/:kb_id/files/ingest
Queues one or more uploaded files for indexing. Call this after uploading each file to the pre-signed URL from Generate a file upload URL. Indexing runs in the background, so the response returns immediately with a task per file.
Request
Responses
- 202
- 401
- 404
The files were queued for indexing.
Your API key is missing or invalid.
No knowledge base with that ID exists.
Was this page helpful?