Skip to content
TTrackTimer

Connect desktop activity capture

View Markdown

Verify an activity-enabled API key and retrieve its workspace and assigned project profiles.

GET /api/v1/activity/context

Required scope: activity:classify

Request

GET https://www.tracktimer.app/api/v1/activity/context with Authorization: Bearer YOUR_API_KEY. No body or query parameters. Requires activity:classify; replace older keys that lack this scope.

Response — 200

{"workspace":{"id":"example-workspace","name":"My workspace"},"projects":[]}

Returns {workspace:{id,name},projects:[{id,name,context}]}. Profiles use canonical project UUIDs and client/project names from the key owner's assigned, active projects in the bound workspace. Up to the first 100 projects, sorted by client and project name, are included. An empty project list is valid. This request makes no AI call and writes no time entries.

Privacy and errors

Responses are private and no-store. The shared per-key quota is 120 requests per 60 seconds. Authentication/scope failures use 401/403; rate limits use 429. See authentication and errors and retries.