Combined
API referenceEndpointsQuery

Get Query Receipt

Return the audit receipt for a prior query without returning query result content.

GET
/v1/query-receipts/{receiptId}

Return the audit receipt for a prior query without returning query result content.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

receiptId*string

Query receipt UUID used for content-free audit status.

Formatuuid

Query Parameters

accountId*string

Account UUID that defines the tenant and authorization scope.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/query-receipts/00000000-0000-4000-8000-000000000006?accountId=00000000-0000-4000-8000-000000000001"
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",    "principalId": "0a52818d-1e0c-4e64-848e-4d04f9e914e5",    "canonicalSqlHash": "string",    "sourceIds": [      "1142aa4e-ac22-46dd-ac6a-fc70d264bc91"    ],    "datasetIds": [      "ef1d0ac6-a99b-4710-9052-39f6f9fb8ca7"    ],    "grantVersionStart": -9007199254740991,    "grantVersionEnd": -9007199254740991,    "state": "queued",    "rows": 0,    "truncated": true,    "estimatedBytes": 0,    "durationMs": 0,    "errorCode": "string",    "createdAt": "2019-08-24T14:15:22Z",    "finishedAt": "2019-08-24T14:15:22Z"  },  "correlationId": "string"}