Get the assembled audit receipt for an inbound dispatch.
Get the assembled audit receipt for an inbound dispatch. - Rensei REST API operation reference.
Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
In: header
Path Parameters
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/cli/dispatch/string/receipt"{
"receipt": {
"version": "v1",
"sessionId": "string",
"workflowInstanceId": "string",
"workspaceId": "string",
"decision": {
"decisionId": "string",
"modelId": "string",
"modelVersion": "string",
"policyRuling": {
"property1": null,
"property2": null
},
"entryHash": "string",
"signingKeyId": "string",
"signature": "string",
"occurredAt": "2019-08-24T14:15:22Z",
"promptHash": "string",
"promptSnapshotId": "string",
"contextHash": "string",
"contextSnapshotId": "string"
},
"inferences": [
{
"provider": "string",
"model": "string",
"costUsd": 0,
"latencyMs": 0,
"totalTokens": 0,
"count": 0
}
],
"totalCostUsd": 0,
"durationMs": 0,
"sessionStatus": "string",
"evals": [
{
"graderId": "string",
"status": "scored",
"score": 0,
"pass": true,
"reasoning": "string"
}
],
"evalStatus": "none",
"kgHits": {
"observationIds": [
"string"
],
"graphNodeIds": [
"string"
],
"count": 0
},
"kgStatus": "none",
"triggerMeta": {
"triggerType": "string",
"triggerEventId": "string",
"definitionVersion": "string",
"isTestRun": true,
"instanceStartedAt": "2019-08-24T14:15:22Z",
"instanceCompletedAt": "2019-08-24T14:15:22Z"
},
"retentionMeta": {
"hotRetentionDays": 0,
"coldRetentionYears": 0,
"archiveCoveredThrough": "2019-08-24T14:15:22Z",
"archiveSha256": "string",
"archiveProvider": "string"
},
"actorProvenance": {
"agentId": "string",
"agentIdentityId": "string",
"sourceIdentity": "string",
"trackerProvider": "string",
"trackerSessionId": "string"
},
"auditChainRef": {
"sequenceNumber": 0,
"prevHash": "string",
"merkleAnchorUrl": "http://example.com"
},
"receiptIntegrity": {
"receiptHash": "string",
"assembledAt": "2019-08-24T14:15:22Z",
"receiptVersion": "v1"
},
"links": {
"jwksVerifyUrl": "http://example.com",
"permalink": "http://example.com"
}
}
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}Submit an inbound BYOA agent-dispatch request.
Authentication accepts an rsk API key, a requester-registration-bound OAuth agent token, a WorkOS user token, or a browser session. REG-10 is conditional: a bound registration with a public key requires all three X-Rensei-Request-* headers; a light registration without a key, an unbound rsk key, a user token, and a session do not. A strict registration without a key is misconfigured and returns 403. The public key is canonical standard base64 of the raw 32-byte Ed25519 key. The signature is canonical standard base64 of 64 bytes over the exact UTF-8 canonical-envelope JSON. Nonce replay rejection is best-effort: if Redis is unavailable, replay-cache checks fail open while signature and inclusive +/-300-second timestamp validation remain enforced.
Stream best-effort live execution events for a workflow instance.
Stream best-effort live execution events for a workflow instance. - Rensei REST API operation reference.