Get organization execution monitoring
PreviewOperate durable execution, schedules, sandbox infrastructure, budgets, payments and audit logs.
/v1/monitoringSee authentication for credentials and permissions.
Responses
200Organization execution monitoring
Organization execution monitoring
Live execution population, ownership, and event-window summary.
object
Complete count of actor leases valid at the observation time.
Complete population of live sessions and runnable or held session actors.
Bounded phase, organization, and live holder breakdown; consult cohorts_truncated.
Bounded execution breakdown for one organization and live lease holder.
object
Sessions in this phase, organization, and holder cohort.
Public identifier of the organization owning these sessions.
Execution state shared by this organization and live holder cohort.
Live lease holder; null for unleased or expired ownership.
Whether ownership cohort detail exceeded its limit; population and phase counts remain complete.
Committed lifecycle event counts in the lookback window, not lifetime totals.
object
Held leases whose deadline has passed, regardless of worker heartbeat.
UTC observation time used to classify lease validity and event windows.
Acquisition, reacquisition, and release counts in the lookback window; renewals are excluded.
object
Age of the oldest work awaiting a valid lease, in milliseconds; null when none is runnable.
Distinct organizations represented in the current population.
Organization-to-worker mapping derived only from valid actor leases.
Valid actor ownership linking an organization to a worker.
object
Valid actor leases held by this worker within this organization.
Public identifier of the sessions’ owning organization.
Worker currently holding the valid actor leases.
Complete counts by execution state, with observed phase ages.
Population and age of one committed execution state.
object
Complete number of sessions observed in this execution state.
Age of the oldest committed phase observation in milliseconds; may be partial when cohorts are truncated.
Execution state: runnable, model, tools, waiting, or setup.
Monitoring boundary: organization or fleet.
Lookback window for lifecycle and ownership event counts, in seconds.
Bounded worker observations; global telemetry is redacted for organization callers.
Scope-aware actor ownership with platform-only worker telemetry.
object
Last reported admission flag; null in organization scope.
Valid actor leases in this monitoring scope; not occupied work slots.
Reported maximum worker concurrency; null in organization scope.
Reported worker activity load, distinct from actor leases; null in organization scope.
Worker identifier recorded by actor ownership or the fleet registry.
Last worker heartbeat in UTC; null in organization scope.
Leased session counts by execution state within this scope.
object
Fleet-only worker status, including stale heartbeats; null in organization scope.
Registered worker group; null in organization scope.
Whether worker detail exceeded its limit; population and phase counts remain complete.
Example
{ "actor_leases": 3700, "actors": 5000, "cohorts": [ { "count": 32, "org_id": "org_00000000000000000000000000000001", "phase": "model", "worker_id": "worker-01" } ], "cohorts_truncated": false, "events": { "reason.started": 350, "tool.started": 240, "turn.started": 120 }, "expired_leases": 3, "generated_at": "2026-10-14T12:00:03Z", "lease_events": { "acquired": 120, "reacquired": 3, "released": 110 }, "oldest_runnable_ms": 3000, "organizations": 12, "ownership": [ { "actor_leases": 32, "org_id": "org_00000000000000000000000000000001", "worker_id": "worker-01" } ], "phases": [ { "count": 2800, "oldest_ms": 3200, "phase": "model" } ], "scope": "fleet", "window_seconds": 60, "workers": [ { "accepting_work": true, "actor_leases": 32, "capacity": 50, "current_load": 8, "id": "worker-01", "last_heartbeat_at": "2026-10-14T12:00:00Z", "phases": { "model": 20, "tools": 12 }, "status": "active", "worker_group": "execution" } ], "workers_truncated": false}403Forbidden
Forbidden
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"}404Not enrolled
Not enrolled
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"}