Skip to main content
POST
Get Ingest Status
Use this API to poll the status of an ingestion started with Ingest Knowledge.

Endpoint

POST https://api.velt.dev/v2/memory/knowledge/ingest-status Rate limit: 600 requests per minute per API key. This endpoint rejects unrecognized fields, so a misspelled key returns INVALID_ARGUMENT.

Headers

string
required
Your API key.
string
required

Body

Params

object
required

Example Requests

Poll an ingestion

Response

status is processing, completed, or failed. dedupOf is set when the file was a duplicate of an existing source; when it is, the reported status, counts, and download URLs mirror that winning source’s live state, not the duplicate’s own. A freshly uploaded duplicate therefore reports processing until the original finishes converting, then flips to completed. Keep polling until the status is terminal before downloading. extractedRulesCount, chunkCount, originalDownloadUrl, and canonicalMdDownloadUrl are returned only when status is completed. A processing or failed poll returns status and sourceId, plus whichever of startedAt, updatedAt, mimeType, dedupOf, and failureReason apply. A completed response also carries metadata.usedRawFallback: true when the converter fell back to raw text. originalDownloadUrl and canonicalMdDownloadUrl are signed URLs valid for 15 minutes from the response that returned them. Poll again to mint fresh URLs. On failed, failureReason is one of pdf-llm-conversion-failed, storage-upload-failed, cloud-tasks-enqueue-failed, embedding-failed, unsupported-mime-detected-post-validation, or workspace-deleted-mid-flow.

Success Response

Failed Ingestion Response

Failure Response