{"ok":true,"data":{"version":"v1","documentation":"https://realtime.fyi/help/api","authorization_server_metadata":"https://www.realtime.fyi/.well-known/oauth-authorization-server","resource_metadata":"https://www.realtime.fyi/.well-known/oauth-protected-resource/api/v1","authentication":"OAuth 2.1 bearer token (Authorization: Bearer <token>), or the website session cookie","endpoints":[{"method":"GET","path":"/api/v1/me"},{"method":"GET","path":"/api/v1/projects","query":{"q":{"type":"string","optional":true,"description":"Filter by project or task name. Pickers should fetch once without q and re-rank locally from usage."},"sort":{"type":"string","default":"relevance","values":["relevance","name"],"description":"relevance (default) is this person's recent use, plus name-match rank when q is set. name is A–Z. Each row includes usage { lastUsed, recentUses, yearUses }."},"archived":{"type":"boolean","default":false,"description":"Set true to include archived projects"}}},{"method":"GET","path":"/api/v1/projects/:id/tasks","query":{"q":{"type":"string","optional":true,"description":"Filter by task name. Pickers should fetch once without q and re-rank locally from usage."},"sort":{"type":"string","default":"relevance","values":["relevance","name"],"description":"relevance (default) is this person's recent use, plus name-match rank when q is set. name is A–Z. Each row includes usage { lastUsed, recentUses, yearUses }."}}},{"method":"GET","path":"/api/v1/timer"},{"method":"PATCH","path":"/api/v1/timer"},{"method":"DELETE","path":"/api/v1/timer"},{"method":"POST","path":"/api/v1/timer/start"},{"method":"POST","path":"/api/v1/timer/continue"},{"method":"POST","path":"/api/v1/timer/stop"},{"method":"GET","path":"/api/v1/time"},{"method":"GET","path":"/api/v1/time/reference"}]}}