Metrics
List metric names
Authorization
API key Metrics: readAuthorizationBearer <token>
API key (sf_...) with any of the required scopes. Generate it in the Spotflow portal on the settings page.
In: header
Scope: Metrics: read
Path Parameters
workspaceId*string
Format
uuidResponse Body
application/json
curl -X GET "https://example.com/workspaces/00000000-0000-0000-0000-000000000001/metrics"Names of all metrics in the workspace, including system metrics.
{ "metricNames": [ "battery_level", "cpu_utilization_percent", "heap_free_bytes", "unlock_attempt", "unlock_duration_ms" ]}