Knowledge Bases
Source Actions
Enqueue, re-ingest, or delete knowledge base sources
POST
Path Parameters
Knowledge source ID (UUID).
Enqueue File Ingestion
After creating a file source and uploading the file to its presigned URL, enqueue ingestion:POST /v1/knowledge-sources/{sourceId}/enqueue
The
jobId returned when you created the file source. It must belong to this source — a mismatched or unknown jobId returns 400 invalid_request.Rebuild the source even if it was previously ingested.
Re-ingest a Source
Re-ingesting creates a new ingestion job and rebuilds the source’s vectors.POST /v1/knowledge-sources/{sourceId}/reingest
Delete a Source
DELETE /v1/knowledge-sources/{sourceId}
Deletes the source row, related storage objects, and enqueues worker-side vector deletion.
