Inspect an organization actor and its lease history
PreviewOperate durable execution, schedules, sandbox infrastructure, budgets, payments and audit logs.
/v1/monitoring/actors/{session_id}See authentication for credentials and permissions.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Session identifier
Responses
200Organization actor diagnostics
Organization actor diagnostics
Authorized actor inspection with bounded ownership history and trace timing.
object
Actor observation after validating the owning session’s organization.
object
Lease attempts accumulated since the last release.
UTC cancellation request timestamp; null when cancellation is not requested.
Persisted consumed event cursor; its difference from inbox_seq is not a pending-message count.
Monotonic ownership fence; null when no actor row exists.
Current recorded holder, or previous holder for an expired lease; null when unleased.
Durable inbox progress cursor; it is not a message count.
UTC deadline of the recorded lease; null when unleased.
Last persisted acquisition or renewal acknowledgement in UTC; null before an acknowledgement or after release.
Observed lease validity: held, expired, or unleased.
Positive interval between renewal acknowledgement and expiry in milliseconds; null when unavailable.
Persisted next-input progress cursor.
Public identifier of the owning session’s organization.
Observed execution state; idle is also possible for a released actor detail.
UTC timestamp of the committed observation used to classify the phase.
Milliseconds awaiting a valid lease; null for held or parked actors.
UTC timestamp when the actor became runnable; null for parked work.
Canonical session identifier whose actor is being inspected.
Persisted session lifecycle status.
UTC observation time for actor ownership and timing.
Up to 50 newest ownership changes from the retained one-day history.
Persisted actor ownership transition, excluding renewal noise.
object
New lease deadline in UTC; null for a release.
Ownership fence associated with this transition.
Holder acquiring ownership, or the holder relinquishing a released lease.
Ownership transition: acquired, reacquired, or released; renewals produce no history entry.
UTC time of the persisted ownership transition.
Previous lease deadline in UTC, when recorded.
Holder preceding acquisition or reacquisition, when recorded.
Up to 100 projected steps from the latest turn, newest first; no conversation payloads.
Payload-free timing projection of one step in the latest turn.
object
Recorded step duration in milliseconds; null until duration is available.
Trace-step category, without tool arguments, results, or agent names.
UTC time at which the projected step started.
Projected execution status of the trace step.
Projected step ordinal within the turn.
Projected turn ordinal for this trace step.
Example
{ "actor": { "attempts_since_release": 1, "cancel_requested_at": "2026-10-14T12:00:02Z", "consumed_seq": 39, "fence": 17, "holder": "worker-01", "inbox_seq": 42, "lease_expires_at": "2026-10-14T12:00:10Z", "lease_renewed_at": "2026-10-14T12:00:00Z", "lease_state": "held", "lease_ttl_ms": 10000, "next_input_seq": 12, "org_id": "org_00000000000000000000000000000001", "phase": "model", "phase_since": "2026-10-14T12:00:01Z", "runnable_age_ms": 3000, "runnable_since": "2026-10-14T11:59:59Z", "session_id": "session_01933b5a000070008000000000000001", "session_status": "active" }, "generated_at": "2026-10-14T12:00:03Z", "ownership_history": [ { "expires_at": "2026-10-14T12:00:10Z", "fence": 18, "holder": "worker-02", "kind": "reacquired", "occurred_at": "2026-10-14T12:00:00Z", "previous_expires_at": "2026-10-14T11:59:59Z", "previous_holder": "worker-01" } ], "steps": [ { "duration_ms": 820, "kind": "tool", "started_at": "2026-10-14T12:00:01Z", "status": "completed", "step_no": 3, "turn_no": 2 } ]}404Actor not found
Actor not found
Standard error response.
Wire shape is RFC 9457 Problem Details:
every error response includes title and status, and may include
detail, code, allowed_actions, retry_after_seconds, instance,
and type. The content type is rewritten to application/problem+json
with the application/problem+json content type.
object
Recovery actions the caller can take next.
Agent-actionable link describing a follow-up the caller can take. Used in two contexts:
- Error recovery —
ErrorResponse.allowed_actionscarriesrels likeretry,retry-later,unarchive,get-existingso the agent knows the right next call after a 4xx/429. - Entity hypermedia —
WithUrls<T>.allowed_actionscarries state-awarerels likecancel,events,self,updateon the entity itself so the agent can follow links instead of reconstructing routes from prose.
The shape is intentionally identical across both contexts; the closed
rel vocabulary distinguishes them.
object
Short, agent-readable hint (e.g. “Shorten ‘name’ to <= 200 chars.”, “Cancel the active turn for this session.”).
Absolute (preferred) or relative URL the caller may invoke
directly. Always present on entity hypermedia actions
(WithUrls<T>.allowed_actions); optional on error-recovery
actions (ErrorResponse.allowed_actions) where the matching
operation_id is enough and the URI is implicit from the failed
call.
HTTP method to use against href. Required for entity hypermedia
actions; usually omitted on error-recovery actions where the same
operation is retried with its original method.
OpenAPI operationId the caller should invoke. Lets an MCP client
resolve the call without parsing href.
Link relation describing the action. Examples: self, cancel, pause,
resume, events, retry, retry-later, unarchive,
get-existing, delete, update.
OpenAPI $ref to the request-body schema, when the action takes one
(e.g. #/components/schemas/UpdateSessionRequest). Lets a tool-calling
agent fetch the input shape without scanning the whole spec.
Stable, machine-readable error code (snake_case).
Human-readable explanation specific to this occurrence.
Request URI for this occurrence.
Seconds the caller should wait before retrying (429 / transient 503).
HTTP status code; mirrors the response status line.
Short, human-readable summary of the problem (e.g. “Not Found”).
RFC 9457 problem type URI. Optional; identifies the problem class.
Example
{ "allowed_actions": [ { "method": "POST" } ], "code": "session_not_found", "detail": "Session session_01933b5a000070008000000000000001 not found in org org_01933b5a000070008000000000000001.", "instance": "/v1/sessions/session_01933b5a000070008000000000000001", "retry_after_seconds": 30, "status": 404, "title": "Session not found", "type": "https://everruns.com/docs/errors/session_not_found"}