{"openapi":"3.1.0","info":{"title":"Fivetran (BYOK) API","version":"0.1.0","description":"Fivetran (BYOK) lets an AI assistant read your own Fivetran data through the Fivetran API with a key you supply (API key). Read-only: 10 tools (get_account_info, list_groups, list_destinations, get_connection, get_connection_sync_history, get_connection_warnings, list_transformations, get_transformation, list_teams, list_connector_types). The BYOK key travels with each request, is used for that...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-fivetran.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-fivetran/docs"},"termsOfService":"https://connectorbay.com/byok-fivetran/terms"},"servers":[{"url":"https://byok-fivetran.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-fivetran/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/get_account_info":{"post":{"operationId":"get_account_info","summary":"Show the account the API key belongs to: account id and name, user id and system key id. Use for \"Which Fivetran account","description":"Show the account the API key belongs to: account id and name, user id and system key id. Use for \"Which Fivetran account is this API key for\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_account_infoArguments","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_groups":{"post":{"operationId":"list_groups","summary":"List destination groups of the account with id, name and creation time. A group holds one destination and its connection","description":"List destination groups of the account with id, name and creation time. A group holds one destination and its connections. Use for \"Which Fivetran groups exist\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many records per page (1 to 1000).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from data.next_cursor of the previous answer, to get the next page.","title":"Cursor"}},"title":"list_groupsArguments","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_destinations":{"post":{"operationId":"list_destinations","summary":"List destinations (warehouses) with service, region, setup status and networking method. Credentials are not part of the","description":"List destinations (warehouses) with service, region, setup status and networking method. Credentials are not part of the answer. Use for \"Which warehouses is Fivetran loading into, and are they set up\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many records per page (1 to 1000).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from data.next_cursor of the previous answer, to get the next page.","title":"Cursor"}},"title":"list_destinationsArguments","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_connection":{"post":{"operationId":"get_connection","summary":"Get one connection (a data source sync): service, schema, group, paused flag, last success and failure time, sync freque","description":"Get one connection (a data source sync): service, schema, group, paused flag, last success and failure time, sync frequency and setup state. Source credentials are not returned. Use for \"Is the Fivetran connection abc_def healthy and when did it last sync\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"connection_id":{"description":"Connection id (a short lowercase word pair such as 'wheat_stew'), found in the connection's dashboard URL.","maxLength":200,"title":"Connection Id","type":"string"}},"required":["connection_id"],"title":"get_connectionArguments","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_connection_sync_history":{"post":{"operationId":"get_connection_sync_history","summary":"List the sync runs of a connection within a window of at most 7 days: start, end, status and reason. Use for \"Did the Fi","description":"List the sync runs of a connection within a window of at most 7 days: start, end, status and reason. Use for \"Did the Fivetran connection wheat_stew sync successfully in the last days\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"connection_id":{"description":"Connection id, found in the connection's dashboard URL.","maxLength":200,"title":"Connection Id","type":"string"},"start_time":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Start of the window in ISO 8601, for example 2026-01-01T00:00:00Z.","title":"Start Time"},"end_time":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"End of the window in ISO 8601. The window may not exceed 7 days.","title":"End Time"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many records per page (1 to 1000).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from data.next_cursor of the previous answer, to get the next page.","title":"Cursor"}},"required":["connection_id"],"title":"get_connection_sync_historyArguments","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_connection_warnings":{"post":{"operationId":"get_connection_warnings","summary":"List warnings Fivetran raised for a connection, per schema and table. Use for \"Does the Fivetran connection wheat_stew h","description":"List warnings Fivetran raised for a connection, per schema and table. Use for \"Does the Fivetran connection wheat_stew have warnings\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"connection_id":{"description":"Connection id, found in the connection's dashboard URL.","maxLength":200,"title":"Connection Id","type":"string"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many records per page (1 to 1000).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from data.next_cursor of the previous answer, to get the next page.","title":"Cursor"}},"required":["connection_id"],"title":"get_connection_warningsArguments","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_transformations":{"post":{"operationId":"list_transformations","summary":"List transformations with type, status, paused flag and last start and end time. Use for \"Which Fivetran transformations","description":"List transformations with type, status, paused flag and last start and end time. Use for \"Which Fivetran transformations ran recently\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"group_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only transformations of this group id.","title":"Group Id"},"type":{"anyOf":[{"enum":["DBT_CORE","QUICKSTART"],"type":"string"},{"type":"null"}],"default":null,"description":"Transformation type.","title":"Type"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many records per page (1 to 1000).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from data.next_cursor of the previous answer, to get the next page.","title":"Cursor"}},"title":"list_transformationsArguments","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_transformation":{"post":{"operationId":"get_transformation","summary":"Get one transformation: type, status, paused flag, creation time, last run times and output models. Use for \"Show Fivetr","description":"Get one transformation: type, status, paused flag, creation time, last run times and output models. Use for \"Show Fivetran transformation t_1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"transformation_id":{"description":"Transformation id.","maxLength":200,"title":"Transformation Id","type":"string"}},"required":["transformation_id"],"title":"get_transformationArguments","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_teams":{"post":{"operationId":"list_teams","summary":"List teams of the account with name, description and role. Use for \"Which teams exist in our Fivetran account\".","description":"List teams of the account with name, description and role. Use for \"Which teams exist in our Fivetran account\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many records per page (1 to 1000).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from data.next_cursor of the previous answer, to get the next page.","title":"Cursor"}},"title":"list_teamsArguments","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_connector_types":{"post":{"operationId":"list_connector_types","summary":"List the source types Fivetran supports with name, type, description, docs link and service status. Use for \"Does Fivetr","description":"List the source types Fivetran supports with name, type, description, docs link and service status. Use for \"Does Fivetran support a HubSpot connector\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many records per page (1 to 1000).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from data.next_cursor of the previous answer, to get the next page.","title":"Cursor"}},"title":"list_connector_typesArguments","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}}}}