Read an operation receipt
GET
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.
bearerAuthheader
AuthorizationBearer <token>project_id*stringOwning project identifier. Nonempty, at most 128 UTF-8 bytes, with no control characters. Project creation belongs to the project service.
operation_id*stringCaller-allocated durable operation identity, scoped to one project.
Format
uuidSuccess
application/json- 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?|nullcurl -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" } }}