Skip to main content
POST
Show last turns of an agent session (what it received, what it responded)

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Used by ordinary gateway operations; not accepted by Console-only operations. 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
id
string
required

Agent ID

nameOrKey
string

Session name/key (omit for main)

turns
string

Number of recent turns to show (default: 5)

Response

Success — body conforms to the @Returns schema.

agentId
string
required
availableSessions
string[]
required
error
string
required
{key}
any