Rensei docs

Persist one positive terminal observation and resolve matching fences.

Ordinary evidence resolves through an opaque durable adoption receipt. A nil-adoption orphan tombstone is resolved server-side from exact host/session/shim/process and group-reap proof. Time, liveness loss, and fence expiry are not evidence.

POST
/api/daemon/session-shim/terminal-evidence

Authorization

workerJwt
headerAuthorizationBearer <JWT>

Short-lived worker runtime JWT minted by the platform. Claims bind the worker, project, organization, registration, and scopes.

Request Body

application/json
  1. body
orgId*string
Length1 <= length <= 256
sessionId*string
Length1 <= length <= 256
hostId*string
Length1 <= length <= 256
shimId*string
Length1 <= length <= 256
processEpoch*string
Match^(0|[1-9][0-9]*)$
evidenceId*string
Length1 <= length <= 256
kind*string
durableAdoptionCorrelation*string
Length1 <= length <= 4096
adoptedControllerGeneration*string
Match^(0|[1-9][0-9]*)$
observedAt*string
Match^(0|-?[1-9][0-9]*)$

Response Body

Terminal evidence is durable.

application/json
  1. response
evidence*||
revision*string
Match^[1-9][0-9]*$
requestDigest*string
Match^[0-9a-f]{64}$
resolvedCorrelationCount*integer
Range0 <= value <= 9007199254740991
idempotentReplay*boolean
Example Request
curl -X POST 'https://app.rensei.ai/api/daemon/session-shim/terminal-evidence' \  -H 'Content-Type: application/json' \  -d '{  "orgId": "string",  "sessionId": "string",  "hostId": "string",  "shimId": "string",  "processEpoch": "string",  "evidenceId": "string",  "kind": "ordinary_terminal_receipt",  "durableAdoptionCorrelation": "string",  "adoptedControllerGeneration": "string",  "observedAt": "string"}'
Example Response
{  "evidence": {    "orgId": "string",    "sessionId": "string",    "hostId": "string",    "shimId": "string",    "processEpoch": "string",    "evidenceId": "string",    "kind": "ordinary_terminal_receipt",    "durableAdoptionCorrelation": "string",    "adoptedControllerGeneration": "string",    "observedAt": "string"  },  "revision": "string",  "requestDigest": "string",  "resolvedCorrelationCount": 0,  "idempotentReplay": true}