Knowledge Bases
Ingest uploaded files
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.
post/knowledge-bases/{kb_id}/files/ingest
Request
- Base URL: https://console.hyperstack.cloud/ai/api/v1
- URL: https://console.hyperstack.cloud/ai/api/v1/knowledge-bases/{kb_id}/files/ingest
- Auth: API key in header api_key
Path parameters
kb_idinteger required
Numeric ID of the knowledge base. Call the List knowledge bases API to retrieve the id of an existing knowledge base.
Request body
Response
The files were queued for indexing.
Changes
No recorded changes to this operation across all 1 revision of this API.