Skip to main content
GET
Returns daily activity data for the authenticated user, suitable for rendering a GitHub-style contribution grid. Each entry contains the number of sessions, prompts, and cost for that day. When X-Organization-Id is provided, only activity within that organization is included. Otherwise returns all personal activity. Required scope: activity:read
integer
default:"90"
Number of days to look back. Range: 1–365.
string
Optional. Scope results to a specific organization.
DailyActivityItem[]
required
Array of daily activity entries.
string
ISO 8601 date (YYYY-MM-DD).
integer
required
Number of sessions created on this day.
integer
required
Number of prompts sent on this day.
number
required
Total cost in USD for this day.
integer
required
Number of days covered by the response.