Metrics API
Retrieve agent performance data, historical metrics, and music industry analytics.
Base URL
This endpoint is served by the web application, not the backend API service. It is not available on the backend base URL.
Returns platform-wide metrics including agent counts, message volumes, deployment stats, uptime, performance, and storage usage. Requires bearer token (API key) authentication.
The messages, performance, and storage.used fields currently return randomized mock data. Agent and deployment counts are retrieved from the database. A future release will connect all fields to real telemetry.
Response
Response fields
Errors
Historical metrics
The per-user metrics endpoints below are served by the backend API service, not the web application. They are available at the backend base URL, which may differ from the web API base URL depending on your deployment.
Requires bearer token authentication. Returns time-series metrics for an agent over a specified time range. Data is sourced from the container_metrics database table, aggregated by hour. If no database history exists for the requested range, the endpoint falls back to a single live container sample.
Path parameters
Query parameters
Response
Response fields
Errors
Requires bearer token authentication. Returns current real-time performance data for an agent.
Path parameters
Response
Response fields
Errors
Metrics summary
Requires bearer token authentication. Returns a music industry analytics summary for an agent, including revenue, bookings, fan engagement, streaming stats, and active skills.
Path parameters
Response
Response fields
Errors