Count Agent Telemetry
Changed onTotal agent_telemetry rows matching the given filters (standalone).
The filter set mirrors the purge endpoint's, so this sizes exactly what a "delete all N matching" would remove. Behavioral and metric rows are counted together: neither this nor the purge distinguishes them. Master-key only.
Request
- The document declares no server URL.
- Auth: one of:
- API key in header Otari-Key
- API key in header x-api-key
Query parameters
Return rows with timestamp >= start_date (ISO 8601 or Unix epoch seconds)
Return rows with timestamp < end_date (ISO 8601 or Unix epoch seconds)
Filter to one or more users; repeatable (user_id=a&user_id=b). Several values match any of them. At most 50 per call.
Filter to one or more API key ids; repeatable (api_key_id=a&api_key_id=b). Several values match any of them. At most 50 per call.
Filter to a single event type or metric name (e.g. 'tool_result', 'claude_code.commit.count')
Response
Successful Response
Changes
- info
added the optional property
to the response with the status
- info
- info
api operation id
count_agent_telemetry_api_v1_agent_telemetry_count_getremoved and replaced withagent-telemetry-count_agent_telemetry
- info