Monitoring API: metrics, events, and cost
Query platform-level metrics, activity event logs, API performance data, per-agent metrics and summaries, and agent cost data from the Nora Monitoring API.The Monitoring API gives you observability into the Nora platform and the agents you can access. You can pull a high-level metrics summary, page through the activity event log, query detailed per-agent metrics with time range filters, retrieve pre-aggregated summary statistics, and fetch cost data. Session users follow normal ownership and workspace membership. A workspace API key with
monitoring:read is restricted to agents and events in its exact bound workspace, even when the issuing user can access other workspaces.
Platform metrics summary
Return aggregate health and usage metrics for the entire platform as seen by the authenticated user.Response
number
Total number of accessible agents.
number
Agents currently in
running state.number
Agents currently in
deploying state.number
Agents in
queued state.number
Agents in
stopped state.number
Agents in
warning state.number
Agents in
error state.number
Total number of deployments.
object
Deployment queue job counts.
Fleet needs-attention roll-up
Return only the agents that need an operator’s attention right now, with the reasons why. Derived at read time from existing state — no extra configuration. Use it to drive a triage view instead of scanning every agent. Requires themonitoring:read scope.
Detected reasons: error and budget_paused (severity error); warning, stuck_deploying (queued/deploying over 10 minutes), budget_warning (a running agent crossed a budget soft threshold), and telemetry_stalled (a running agent reported no container telemetry for over 5 minutes).
Response
string
ISO timestamp the roll-up was computed.
number
Total number of accessible agents evaluated.
number
Number of agents needing attention.
array
Agents needing attention, errors first. Each has
agentId, name, status, severity, and a reasons array of { code, severity, label }.Activity event log
Return a chronological log of activity events. When you supplyagentId the results are filtered to that agent; otherwise all events across your agents are returned.
Query parameters
string
Filter events to a specific agent UUID.
number
default:"50"
Maximum number of events to return, ordered newest first.
string
Filter events to a specific event type slug.
string
Full-text filter across event messages.
string
Inclusive start date (
YYYY-MM-DD) for the event window.string
Inclusive end date (
YYYY-MM-DD) for the event window.number
Page number for paginated results (1-based).
Supplying any of
page, search, type, from, or to switches the response to a pagination
envelope (with limit clamped to 10–100). Without those filters, a flat array is returned
(limit 1–100, default 50).Response
string
Event UUID.
string
Event type slug, e.g.
agent_deployed, agent_redeployed.string
Human-readable description of the event.
object
Additional context for the event.
string
ISO 8601 event timestamp.
API performance data
Return raw API performance metric records. Useful for building latency dashboards or debugging slow endpoints.Unlike the other
/monitoring/* endpoints, this one requires a platform-admin session.
Workspace API keys are rejected with 403 session_required even when issued by an admin; non-admin
sessions receive 403 {"error": "Admin access required"}.Query parameters
string
ISO 8601 start timestamp. Defaults to 24 hours ago.
Response
Each record represents a single API call that was instrumented.number
Measured value (typically response time in ms).
object
Context for the measurement, such as path and method.
string
ISO 8601 timestamp when the metric was recorded.
Agent metrics
Return time-series metric records for a specific agent. You can filter by metric type and specify an exact time range.Path parameters
string
required
Agent UUID.
Query parameters
string
Metric type filter, e.g.
cpu, memory, tokens. When omitted, all types are returned.string
ISO 8601 start of the time range. Defaults to 24 hours ago.
string
ISO 8601 end of the time range. Defaults to now.
Response
string
Metric record UUID.
string
Agent UUID.
string
Metric category slug.
number
Numeric metric value.
object
Additional context for the metric.
string
ISO 8601 timestamp.
Agent metrics summary
Return pre-aggregated summary statistics for an agent. Useful for dashboards that need totals without querying the full time-series.Path parameters
string
required
Agent UUID.
Response
number
Total LLM tokens consumed by this agent.
number
Total LLM API requests made.
number
Average LLM response latency in milliseconds.
string
ISO 8601 timestamp of the most recent metric record.
Agent cost
Return estimated token-cost data for a specific agent. Token usage is grouped by model when runtime responses include model metadata; older rows without metadata appear asUnknown model.
period_start and period_end instead of period_days for a custom UTC date window.
Path parameters
string
required
Agent UUID.
Response
number
Estimated token cost in USD.
number
Total estimated token cost in USD.
number
Input or prompt tokens recorded in the period.
number
Output or completion tokens recorded in the period.
number
Total tokens recorded in the period.
object
Token pricing details.
string
Start of the reporting period (ISO 8601).
string
End of the reporting period (ISO 8601).

