Ingestion APIAPI v1 ReferenceIngestion

Get ingestion status

Returns the processing status for a previously created ingestion.

GET
/v1/ingestion/{id}

Returns the processing status for a previously created ingestion.

Status is returned as an integer:

  • 1 - UNKNOWN
  • 2 - CREATED (accepted, queued)
  • 3 - STARTED (processing in progress)
  • 4 - COMPLETED (successfully processed)
  • 5 - FAILED (processing failed; check ingestion logs)

Authorization

PrivateApiKeyHeader
X-PSYKHE-API-KEY<token>

Private API key (sk_...). Server-to-server only; never expose in client-side code.

In: header

Path Parameters

id*integer

Ingestion ID returned from POST /ingestion/.

Response Body

application/json

curl -X GET "https://api.psykhe.dev/v1/ingestion/0"
{
  "errors": null,
  "meta": null,
  "data": {
    "id": 477021,
    "client_id": "fwrd-staging",
    "trigger_source": {
      "type": "client",
      "mode": "insert",
      "comment": null,
      "metadata": null,
      "user": null
    },
    "product_metrics": null,
    "file_identifier": "cd0b729438a546e6ef8516de00affb0691f612c0",
    "status": 2,
    "created_at": "2026-05-13T18:03:50.828851Z",
    "updated_at": "2026-05-13T18:03:51.260869Z"
  }
}
Empty
Empty