ServicesCatalogHTTP APIOperations

Read an operation receipt

GET
/api/catalog/projects/{project_id}/operations/{operation_id}

Read a saved operation receipt. A receipt can contain sensitive project data. An operation identity does not give access to the receipt. You must have permission to publish to the project.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

project_id*string

Owning project identifier. Nonempty, at most 128 UTF-8 bytes, with no control characters. Project creation belongs to the project service.

operation_id*string

Caller-allocated durable operation identity, scoped to one project.

Formatuuid

Response Body

Success

application/json
  1. response

Absent receipt means no completed operation was found, not a fence preventing late completion. Internal trusted recovery/closure is outside this public API.

receipt?|null
curl -X GET 'https://api.spiraldb.dev/api/catalog/projects/string/operations/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "receipt": {    "operation": {      "input": null,      "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",      "result": null    },    "publication": {      "commitId": "a1b223ee-0195-4e35-9b2a-72c93f345117",      "parentCommitId": "2190c2c7-05a1-4d12-b832-c839047d6921"    }  }}