Hey, human!
HTTP/2 200 OK content-type: text/markdown; charset=utf-8 vary: accept, user-agent x-agent: [ai_agent]
Loading the agent response…
Time-series aggregation (or filter values)
Browse the list of metrics.
Do this with AI
I want to time-series aggregation (or filter values). Use the Restless API. Read the reference for this operation and follow it exactly: https://build.restless.ai/endpoint/get-api-v1-projects-slug-metrics.md Authenticate with your API key as a Bearer token in the Authorization header. Then make the request for me and tell me what came back.
Paste this into Claude, Cursor, or any AI assistant and it will do it for you.
https://app.restless.ai/api/v1/projects/{slug}/metricscurl --request GET \
--url https://app.restless.ai/api/v1/projects/slug/metrics \
--header 'Authorization: Bearer $API_KEY'Path parameters
slugstringrequiredProject slug.
Query parameters
filtersbooleangroupBystringsincestring · date-timeISO 8601 lower bound on request time (inclusive, truncated to the UTC date). The since/until window may span at most 30 days.
untilstring · date-timeISO 8601 upper bound on request time (inclusive, truncated to the UTC date, so it covers that whole day).