Skip to main content
POST
Read the provider-neutral state of an accepted channel turn

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Required for every non-open scope. Bootstrap the first key with ravi daemon init-admin-key; rotate, derive, and revoke via the ravi context family. Specs: runtime/context-keys, sdk/auth.

Body

application/json
agentId
string
required

Concrete local agent id used for authorization

Pattern: ^[A-Za-z0-9][A-Za-z0-9._~-]*$
request
object
required

Channel runtime readback request object (JSON when invoked from the CLI)

Response

Success — body conforms to the @Returns schema.

binding
object
required
lastSequence
integer
required
Required range: 0 <= x <= 9007199254740991
observedAt
string<date-time>
required
Pattern: ^(?:(?:\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)))$
protocol
string
required
Allowed value: "ravi.channel.runtime-events"
requestId
string
required
Pattern: ^[A-Za-z0-9][A-Za-z0-9._~-]*$
schemaVersion
number
required
state
enum<string>
required
Available options:
accepted,
running,
waiting_approval,
completed,
failed,
interrupted
assistantMessageId
string
Pattern: ^[A-Za-z0-9][A-Za-z0-9._~-]*$
lastEventRuntimeGenerationId
string
Pattern: ^[A-Za-z0-9][A-Za-z0-9._~-]*$
runtimeGenerationId
string
Pattern: ^[A-Za-z0-9][A-Za-z0-9._~-]*$
terminalEvent
object