Returns aggregated observability metrics for the machine-identity service within the specified time range. Metrics are pre-computed and bucketed by the requested granularity, enabling efficient dashboard queries and SLA reporting. Use this endpoint to power operational dashboards, monitor service health, track agent activity trends, and generate compliance reports.Documentation Index
Fetch the complete documentation index at: https://docs.truthlocks.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
API key with
metrics:read scope. Alternatively, pass a Bearer JWT token in
the Authorization header.Tenant identifier for multi-tenant isolation.
Query Parameters
Start of the time range in ISO 8601 format (e.g.
2026-04-06T00:00:00Z).End of the time range in ISO 8601 format (e.g.
2026-04-06T23:59:59Z).Aggregation granularity. Must be one of:
hour, day, week. Defaults to
hour.Response
Start of the queried time range (ISO 8601).
End of the queried time range (ISO 8601).
Aggregation granularity used.
Counts per event type within the time range. Each key is an event type (e.g.
orchestration.completed), each value is the total count.Latency percentiles in milliseconds for key operations: -
orchestration_p50
(number) — Median orchestration duration - orchestration_p95 (number) —
95th percentile orchestration duration - orchestration_p99 (number) — 99th
percentile orchestration duration - guardrail_check_p50 (number) — Median
guardrail check latency - guardrail_check_p95 (number) — 95th percentile
guardrail check latency - guardrail_check_p99 (number) — 99th percentile
guardrail check latencyPercentage of events with
error severity across all event types. Range:
0.0 to 100.0.Number of unique agents that emitted at least one event during the time range.
Total number of orchestrations started during the time range.
Total accumulated LLM inference cost in US cents across all orchestrations.
Time-series array of metric buckets. Each bucket contains
timestamp,
event_counts, error_rate, and active_agents for the bucket’s time
window.
