{"openapi":"3.1.0","info":{"title":"Travis CI (BYOK) API","version":"0.1.0","description":"Travis CI (BYOK) lets an AI assistant read your own Travis CI data through the Travis CI API with a key you supply (API token (for travis-ci.com, from 'travis token --pro')). Read-only: 9 tools (get_current_user, list_repositories, get_repository, list_repository_builds, list_my_builds, get_build, list_build_jobs, get_job, list_branches). 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-travisci.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-travisci/docs"},"termsOfService":"https://connectorbay.com/byok-travisci/terms"},"servers":[{"url":"https://byok-travisci.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-travisci/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_current_user":{"post":{"operationId":"get_current_user","summary":"Show the Travis CI user the token belongs to: id, login and name. Use for \"Which Travis CI user is my token connected to","description":"Show the Travis CI user the token belongs to: id, login and name. Use for \"Which Travis CI user is my token connected to\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_current_userArguments","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_repositories":{"post":{"operationId":"list_repositories","summary":"List repositories the user can access on Travis CI with language, active, private and starred flags. Use for \"Which of m","description":"List repositories the user can access on Travis CI with language, active, private and starred flags. Use for \"Which of my repositories are active on Travis CI\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to list only repositories enabled on Travis CI.","title":"Active"},"private":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to list only private repositories.","title":"Private"},"starred":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to list only starred repositories.","title":"Starred"},"sort_by":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Sort attribute, append ':desc' to reverse, for example 'name' or 'name:desc'.","title":"Sort By"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many items to return (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"How many items to skip, for paging.","title":"Offset"}},"title":"list_repositoriesArguments","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_repository":{"post":{"operationId":"get_repository","summary":"Get one Travis CI repository: language, active and private flags, default branch and owner. Use for \"Show Travis CI sett","description":"Get one Travis CI repository: language, active and private flags, default branch and owner. Use for \"Show Travis CI settings of repository travis-ci/travis-web\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"repository":{"description":"Repository slug 'owner/name' (for example 'travis-ci/travis-web') or its numeric Travis repository id.","maxLength":200,"title":"Repository","type":"string"}},"required":["repository"],"title":"get_repositoryArguments","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_repository_builds":{"post":{"operationId":"list_repository_builds","summary":"List builds of a Travis CI repository (newest first) with state, branch, commit, event type, duration and times. Use for","description":"List builds of a Travis CI repository (newest first) with state, branch, commit, event type, duration and times. Use for \"What are the latest Travis CI builds of travis-ci/travis-web and did they pass\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"repository":{"description":"Repository slug 'owner/name' (for example 'travis-ci/travis-web') or its numeric Travis repository id.","maxLength":200,"title":"Repository","type":"string"},"branch":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only builds of this branch.","title":"Branch"},"state":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only builds in this state, for example passed, failed, errored, canceled, started.","title":"State"},"event_type":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only builds started by this event, for example push, pull_request, cron, api.","title":"Event Type"},"sort_by":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Sort attribute, for example 'started_at:desc'. Default is number:desc,id:desc.","title":"Sort By"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many items to return (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"How many items to skip, for paging.","title":"Offset"}},"required":["repository"],"title":"list_repository_buildsArguments","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_my_builds":{"post":{"operationId":"list_my_builds","summary":"List recent builds across all repositories of the Travis CI user with state, branch, commit and repository. Use for \"Wha","description":"List recent builds across all repositories of the Travis CI user with state, branch, commit and repository. Use for \"What Travis CI builds ran across my repositories lately\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many items to return (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"How many items to skip, for paging.","title":"Offset"}},"title":"list_my_buildsArguments","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_build":{"post":{"operationId":"get_build","summary":"Get one Travis CI build by id: state, branch, commit, duration, pull request and who created it. Use for \"What is the st","description":"Get one Travis CI build by id: state, branch, commit, duration, pull request and who created it. Use for \"What is the state of Travis CI build 123456789\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"build_id":{"description":"Numeric Travis CI build id, as returned by list_repository_builds.","minimum":1,"title":"Build Id","type":"integer"}},"required":["build_id"],"title":"get_buildArguments","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_build_jobs":{"post":{"operationId":"list_build_jobs","summary":"List the jobs of a Travis CI build with number, state and times. Use for \"Which jobs of this Travis CI build failed\".","description":"List the jobs of a Travis CI build with number, state and times. Use for \"Which jobs of this Travis CI build failed\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"build_id":{"description":"Numeric Travis CI build id.","minimum":1,"title":"Build Id","type":"integer"}},"required":["build_id"],"title":"list_build_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/get_job":{"post":{"operationId":"get_job","summary":"Get one Travis CI job by id: state, queue, number and times. Use for \"What is the state of Travis CI job 987654321\".","description":"Get one Travis CI job by id: state, queue, number and times. Use for \"What is the state of Travis CI job 987654321\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"job_id":{"description":"Numeric Travis CI job id.","minimum":1,"title":"Job Id","type":"integer"}},"required":["job_id"],"title":"get_jobArguments","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_branches":{"post":{"operationId":"list_branches","summary":"List branches of a Travis CI repository with whether each is the default and still exists on GitHub. Use for \"Which bran","description":"List branches of a Travis CI repository with whether each is the default and still exists on GitHub. Use for \"Which branches does Travis CI know for travis-ci/travis-web\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"repository":{"description":"Repository slug 'owner/name' (for example 'travis-ci/travis-web') or its numeric Travis repository id.","maxLength":200,"title":"Repository","type":"string"},"exists_on_github":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to list only branches that still exist on GitHub.","title":"Exists On Github"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many items to return (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"How many items to skip, for paging.","title":"Offset"}},"required":["repository"],"title":"list_branchesArguments","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}}}}