{"openapi":"3.1.0","info":{"title":"Toggl Track Reports (BYOK) API","version":"0.1.0","description":"Toggl Track Reports (BYOK) lets an AI assistant read your own Toggl Track Reports data through the Toggl Track Reports API with a key you supply (API token). Read-only: 7 tools (summary_user_projects, project_summary, project_trends, list_report_clients, search_report_projects, list_project_statuses, search_report_tasks). The BYOK key travels with each request, is used for that one call only and...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-toggl-reports.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-toggl-reports/docs"},"termsOfService":"https://connectorbay.com/byok-toggl-reports/terms"},"servers":[{"url":"https://byok-toggl-reports.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-toggl-reports/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/summary_user_projects":{"post":{"operationId":"summary_user_projects","summary":"Tracked and billable seconds per user and project for a date range. Reports API; reports on some workspace features need","description":"Tracked and billable seconds per user and project for a date range. Reports API; reports on some workspace features need a paid plan. Use for \"How many hours were tracked per project in September in Toggl\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"workspace_id":{"description":"Numeric ID of the Toggl Track workspace (from the Toggl Track connector's list_workspaces).","minimum":1,"title":"Workspace Id","type":"integer"},"start_date":{"description":"First day of the period, YYYY-MM-DD (inclusive, in each entry creator's own time zone).","maxLength":10,"title":"Start Date","type":"string"},"end_date":{"description":"Last day of the period, YYYY-MM-DD (inclusive, must be after start_date).","maxLength":10,"title":"End Date","type":"string"}},"required":["workspace_id","start_date","end_date"],"title":"summary_user_projectsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/project_summary":{"post":{"operationId":"project_summary","summary":"Totals for one project over a date range: seconds, tracked days, billable amount and cost in cents, plus rates. Reports ","description":"Totals for one project over a date range: seconds, tracked days, billable amount and cost in cents, plus rates. Reports API; reports on some workspace features need a paid plan. Use for \"Give me the Toggl summary of project 987654 for September\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"workspace_id":{"description":"Numeric ID of the Toggl Track workspace (from the Toggl Track connector's list_workspaces).","minimum":1,"title":"Workspace Id","type":"integer"},"project_id":{"description":"Numeric ID of the project.","minimum":1,"title":"Project Id","type":"integer"},"start_date":{"description":"First day of the period, YYYY-MM-DD (inclusive, in each entry creator's own time zone).","maxLength":10,"title":"Start Date","type":"string"},"end_date":{"description":"Last day of the period, YYYY-MM-DD (inclusive, must be after start_date).","maxLength":10,"title":"End Date","type":"string"}},"required":["workspace_id","project_id","start_date","end_date"],"title":"project_summaryArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/project_trends":{"post":{"operationId":"project_trends","summary":"Per-project tracked seconds for a period compared with a previous period (Insights, premium workspaces). Use for \"How di","description":"Per-project tracked seconds for a period compared with a previous period (Insights, premium workspaces). Use for \"How did project time in Toggl compare with the previous month\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"workspace_id":{"description":"Numeric ID of the Toggl Track workspace (from the Toggl Track connector's list_workspaces).","minimum":1,"title":"Workspace Id","type":"integer"},"start_date":{"description":"First day of the period, YYYY-MM-DD (inclusive, in each entry creator's own time zone).","maxLength":10,"title":"Start Date","type":"string"},"end_date":{"description":"Last day of the period, YYYY-MM-DD (inclusive, must be after start_date).","maxLength":10,"title":"End Date","type":"string"},"previous_period_start":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Start date of the comparison period, YYYY-MM-DD.","title":"Previous Period Start"}},"required":["workspace_id","start_date","end_date"],"title":"project_trendsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_report_clients":{"post":{"operationId":"list_report_clients","summary":"List client IDs and names of a workspace as the Reports API sees them, optionally filtered by name; page with start. Use","description":"List client IDs and names of a workspace as the Reports API sees them, optionally filtered by name; page with start. Use for \"Which clients can I filter Toggl reports by\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"workspace_id":{"description":"Numeric ID of the Toggl Track workspace (from the Toggl Track connector's list_workspaces).","minimum":1,"title":"Workspace Id","type":"integer"},"name":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only clients with this name.","title":"Name"},"start":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Client ID cursor: return clients from this ID on.","title":"Start"}},"required":["workspace_id"],"title":"list_report_clientsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_report_projects":{"post":{"operationId":"search_report_projects","summary":"List a workspace's projects for report filtering: name, client, color, currency and billable and active flags. Use for \"","description":"List a workspace's projects for report filtering: name, client, color, currency and billable and active flags. Use for \"Search Toggl projects named Website\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"workspace_id":{"description":"Numeric ID of the Toggl Track workspace (from the Toggl Track connector's list_workspaces).","minimum":1,"title":"Workspace Id","type":"integer"},"name":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only projects whose name matches this text.","title":"Name"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True for active projects, false for archived ones.","title":"Is Active"},"page_size":{"anyOf":[{"maximum":201,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many projects to return (default 201).","title":"Page Size"},"start":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Project ID cursor: return projects with an ID at or above this.","title":"Start"}},"required":["workspace_id"],"title":"search_report_projectsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_project_statuses":{"post":{"operationId":"list_project_statuses","summary":"Per-project estimated, tracked and billable seconds and billable amount for a workspace (active projects by default). Us","description":"Per-project estimated, tracked and billable seconds and billable amount for a workspace (active projects by default). Use for \"Which Toggl projects are over their time estimate\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"workspace_id":{"description":"Numeric ID of the Toggl Track workspace (from the Toggl Track connector's list_workspaces).","minimum":1,"title":"Workspace Id","type":"integer"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True for active projects, false for archived ones.","title":"Active"}},"required":["workspace_id"],"title":"list_project_statusesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_report_tasks":{"post":{"operationId":"search_report_tasks","summary":"List a workspace's tasks with project, estimate, tracked time and active flag (tasks are a paid Toggl feature). Use for ","description":"List a workspace's tasks with project, estimate, tracked time and active flag (tasks are a paid Toggl feature). Use for \"What Toggl tasks exist on project 987654\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"workspace_id":{"description":"Numeric ID of the Toggl Track workspace (from the Toggl Track connector's list_workspaces).","minimum":1,"title":"Workspace Id","type":"integer"},"action":{"description":"Which listing: search or filters.","enum":["search","filters"],"title":"Action","type":"string"},"name":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only tasks whose name matches this text.","title":"Name"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True for open tasks, false for done tasks.","title":"Active"},"page_size":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many tasks to return.","title":"Page Size"},"start":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Task ID cursor: return tasks from this ID on.","title":"Start"}},"required":["workspace_id","action"],"title":"search_report_tasksArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}