VocalDocscontracts 1.65.0

Read an Ingestion run

GET /v1/knowledge-bases/{knowledge_base_id}/ingestion-runs/{run_id}

PropertyValue
Operationget_ingestion_run
GroupKnowledge bases
Scopeknowledge:read
Route classread
IdempotencyNo Idempotency-Key
AuditNot audited: A configuration read; a Source and an Ingestion run carry no content.
Released in1.53.0
Phase 0 hostServed (the hosted api pins 1.65.0)

Request

Set VOCAL_API to the base URL of your API and VOCAL_API_KEY to an API key with the knowledge:read scope (Authentication and keys). Replace each placeholder, such as agt_... or <name>, with your own value.

curl "$VOCAL_API/v1/knowledge-bases/kb_.../ingestion-runs/kir_..." \
  -H "Authorization: Bearer $VOCAL_API_KEY"

Parameters

NameInTypeRequiredDescription
knowledge_base_idpathKnowledgeBaseIdyesThe id of a Knowledge base: kb_ and the row's UUIDv7 in 26 Crockford base32 characters. Opaque and safe to log.
run_idpathIngestionRunIdyesThe id of an Ingestion run of a Source: kir_ and the row's UUIDv7 in 26 Crockford base32 characters. Opaque and safe to log.

Responses

StatusContent typeShapeError codes
200application/jsonIngestionRun
400application/jsonErrorEnvelopeinvalid_request
401application/jsonErrorEnvelopeunauthenticated
403application/jsonErrorEnvelopeforbidden
404application/jsonErrorEnvelopenot_found
429application/jsonErrorEnveloperate_limited
500application/jsonErrorEnvelopeinternal_error

Fields of the 200 answer

The shape is IngestionRun.

FieldTypeRequiredDescription
causeIngestionCauseyes
countsIngestionCountsyes
created_atTimestampyes
error_codesarray of IngestionErrorCodeyesThe distinct codes of the run and of its failed Documents, in first-seen order.
finished_atTimestamp or nullyes
idIngestionRunIdyes
knowledge_base_idKnowledgeBaseIdyes
object"knowledge_ingestion_run"yes
source_idKnowledgeSourceIdyes
source_namestring or nullnoThe display name of the run's Source (1.54.0), null when it has none; a deleted Source keeps its name here. Absent from an api before 1.54.0.
started_atTimestamp or nullyes
statusIngestionRunStatusyes