Read one program-ledger record.
Read one program-ledger record. - Rensei REST API operation reference.
AuthorizationBearer <rsk_live_*>Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
programId*string^prog_[0-9a-f]{32}$Program-ledger record.
application/json- response
ledgerVersion*stringprogramVersion*stringprogramId*string^prog_[0-9a-f]{32}$externalKey*string1 <= length <= 512title*string1 <= length <= 512scope*|origin*|nullcreatedByPrincipalRef*string1 <= lengthauthor*createdAt*string^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$date-timecurl -X GET 'https://app.rensei.ai/api/cli/programs/string'{ "ledgerVersion": "rensei.session-ledger/v1alpha1", "programVersion": "rensei.session-ledger.program/v1alpha1", "programId": "string", "externalKey": "string", "title": "string", "scope": { "kind": "project", "projectId": "string" }, "origin": { "sessionId": "string", "graphId": "string", "projectId": "string", "phase": "string", "stateVersion": 1 }, "createdByPrincipalRef": "string", "author": { "kind": "human", "id": "string" }, "createdAt": "2019-08-24T14:15:22Z"}Open a program-ledger record for an external key, idempotently.
Creates the program a coordinator records decisions and handoffs against. The external key - an epic identifier or a campaign slug - is unique within the organization: a repeat call returns the existing program with created set to false. An origin session is optional, so a coordinator running off-platform with no session-ledger node can open one; when supplied, a project-scoped program must name that session project. A cross-project program requires an org-wide credential, and external keys are unique per project for project-scoped programs and org-wide for cross-project ones. An external key is immutable once claimed: programs are append-only and there is no rename or delete. The author is derived from the authenticating principal.
Read ordered structured-reference events for one program ledger.
Read ordered structured-reference events for one program ledger. - Rensei REST API operation reference.