Gateway
Get recent activity
Returns recent request activity for the authenticated workspace. Management API key required.
get/activity
Request
- Base URL: https://api.phaseo.app/v1
- URL: https://api.phaseo.app/v1/activity
- Auth: HTTP bearer
Query parameters
workspace_idstring uuid
Optional workspace override. Must match the authenticated workspace unless using an internal control caller.
daysinteger
Number of days of activity to include.
limitinteger
Maximum number of activity rows to return.
offsetinteger
Number of activity rows to skip for pagination.
Response
Retrieved
Example response
{
"period_days": 30,
"limit": 50,
"total": 1250,
"total_cost_cents": 42.75,
"activity": [
{
"request_id": "req_abc123",
"provider": "openai",
"model": "openai/gpt-4.1",
"endpoint": "chat.completions",
"cost_cents": 1.25,
"latency_ms": 842,
"timestamp": "2026-04-28T12:30:00Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.