{"openapi":"3.1.0","info":{"title":"dbt Cloud (BYOK) API","version":"0.1.0","description":"dbt Cloud (BYOK) lets an AI assistant read your own dbt Cloud data through the dbt Cloud API with a key you supply (personal access token or service token). Read-only: 6 tools (list_accounts, list_projects, list_environments, list_jobs, list_runs, get_run). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-dbtcloud.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-dbtcloud/docs"},"termsOfService":"https://connectorbay.com/byok-dbtcloud/terms"},"servers":[{"url":"https://byok-dbtcloud.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-dbtcloud/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/list_accounts":{"post":{"operationId":"list_accounts","summary":"List the dbt Cloud accounts the token can access with plan, seat counts, lock status and run slots. Use for \"Which dbt C","description":"List the dbt Cloud accounts the token can access with plan, seat counts, lock status and run slots. Use for \"Which dbt Cloud accounts can my token see\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_accountsArguments","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_projects":{"post":{"operationId":"list_projects","summary":"List projects in a dbt Cloud account with description, connection id, repository id and creation time. Use for \"Which pr","description":"List projects in a dbt Cloud account with description, connection id, repository id and creation time. Use for \"Which projects exist in my dbt Cloud account\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Your dbt Cloud account id (the number in dashboard URLs after /accounts/); list_accounts shows it.","title":"Account Id","type":"integer"}},"required":["account_id"],"title":"list_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_environments":{"post":{"operationId":"list_environments","summary":"List environments in a dbt Cloud account with project, dbt version, type and deployment type. Use for \"What dbt Cloud en","description":"List environments in a dbt Cloud account with project, dbt version, type and deployment type. Use for \"What dbt Cloud environments do I have and which dbt version do they use\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Your dbt Cloud account id (the number in dashboard URLs after /accounts/); list_accounts shows it.","title":"Account Id","type":"integer"}},"required":["account_id"],"title":"list_environmentsArguments","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_jobs":{"post":{"operationId":"list_jobs","summary":"List dbt Cloud jobs with project, environment, steps, dbt version, schedule trigger flag and recent failure count. Use f","description":"List dbt Cloud jobs with project, environment, steps, dbt version, schedule trigger flag and recent failure count. Use for \"Which dbt Cloud jobs are scheduled and have recently failed\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Your dbt Cloud account id (the number in dashboard URLs after /accounts/); list_accounts shows it.","title":"Account Id","type":"integer"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many records to return (default 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"How many records to skip.","title":"Offset"},"project_id":{"anyOf":[{"maximum":999999999,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only jobs of this project id.","title":"Project Id"},"environment_id":{"anyOf":[{"maximum":999999999,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only jobs of this environment id.","title":"Environment Id"},"name_contains":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only jobs whose name contains this text (case-insensitive).","title":"Name Contains"},"order_by":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Field to order by, prefix with - to reverse, for example '-id'.","title":"Order By"}},"required":["account_id"],"title":"list_jobsArguments","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_runs":{"post":{"operationId":"list_runs","summary":"List dbt Cloud job runs, optionally for one job, project or status, with branch, commit, status and timing. Run status n","description":"List dbt Cloud job runs, optionally for one job, project or status, with branch, commit, status and timing. Run status numbers: 1 queued, 2 starting, 3 running, 10 success, 20 error, 30 cancelled. Use for \"Did last night's dbt Cloud runs succeed\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Your dbt Cloud account id (the number in dashboard URLs after /accounts/); list_accounts shows it.","title":"Account Id","type":"integer"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many records to return (default 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"How many records to skip.","title":"Offset"},"job_definition_id":{"anyOf":[{"maximum":999999999,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only runs of this job id.","title":"Job Definition Id"},"project_id":{"anyOf":[{"maximum":999999999,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only runs of this project id.","title":"Project Id"},"environment_id":{"anyOf":[{"maximum":999999999,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only runs in this environment id.","title":"Environment Id"},"status":{"anyOf":[{"maximum":30,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only runs with this status number (1, 2, 3, 10, 20 or 30).","title":"Status"},"order_by":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":"-id","description":"Order by id, created_at or finished_at; prefix with - to reverse (for example '-id' for newest first).","title":"Order By"}},"required":["account_id"],"title":"list_runsArguments","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/get_run":{"post":{"operationId":"get_run","summary":"Get one dbt Cloud run by id with status, message, branch, commit, dbt version and timing. Run status numbers: 1 queued, ","description":"Get one dbt Cloud run by id with status, message, branch, commit, dbt version and timing. Run status numbers: 1 queued, 2 starting, 3 running, 10 success, 20 error, 30 cancelled. Use for \"What happened in dbt Cloud run 70471823\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Your dbt Cloud account id (the number in dashboard URLs after /accounts/); list_accounts shows it.","title":"Account Id","type":"integer"},"id":{"description":"Numeric run id as shown in list_runs or the dbt Cloud run URL.","title":"Id","type":"integer"}},"required":["account_id","id"],"title":"get_runArguments","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}}}}