Using the Chunk API

Audience: integrators submitting VEX evidence chunks to Excititor.

The Chunk API ingests VEX evidence as a newline-delimited JSON (NDJSON) stream and queues it for processing. The server recomputes a deterministic digest over each chunk so callers can confirm exactly what was accepted.

Endpoint

POST /vex/evidence/chunks
Content-Type: application/x-ndjson

Response — 202 Accepted:

{ "chunk_digest": "sha256:…", "queue_id": "uuid" }

Operational notes

Example

curl -X POST https://excitor.local/vex/evidence/chunks \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/x-ndjson" \
  --data-binary @docs/modules/excititor/samples/chunk-sample.ndjson