Ingest Knowledge
Ingest Knowledge
POST
Ingest Knowledge
Use this API to submit reference material (guidelines, standards, policy docs) to your Memory knowledge base. Ingestion is asynchronous: the call returns immediately with a
sourceId, and conversion, rule extraction, and embedding run in the background. Poll Get Ingest Status until the status is terminal. Supported file types: PDF, CSV, Excel (.xlsx), and plain text.
Endpoint
POST https://api.velt.dev/v2/memory/knowledge/ingest
Headers
Your API key.
Your Auth Token.
Body
Params
The request is a discriminated union onsource: send source: "inline" with a base64 file (decoded size up to 5 MB), or source: "fileRef" with a gs:// URI from Get Upload URL (up to 30 MB).
Example Requests
Inline (file up to 5 MB)
By reference (file up to 30 MB)
Response
Ingestion runs in the background. Poll Get Ingest Status with the returnedsourceId until the status is completed or failed.

