{"openapi":"3.1.0","info":{"title":"GitHub Packages (BYOK) API","version":"0.1.0","description":"GitHub Packages (BYOK) lets an AI assistant read your own GitHub Packages data through the GitHub Packages API with a key you supply (GitHub personal access token (classic, with read:packages scope)). Read-only: 9 tools (list_my_packages, get_my_package, list_my_package_versions, list_org_packages, get_org_package, list_org_package_versions, get_org_package_version, list_user_packages,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-github-packages.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-github-packages/docs"},"termsOfService":"https://connectorbay.com/byok-github-packages/terms"},"servers":[{"url":"https://byok-github-packages.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-github-packages/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_my_packages":{"post":{"operationId":"list_my_packages","summary":"List packages owned by the token's own account in one ecosystem, with visibility, version count and source repository. U","description":"List packages owned by the token's own account in one ecosystem, with visibility, version count and source repository. Use for \"Which container packages do I have on GitHub\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"package_type":{"description":"Package ecosystem: npm, maven, rubygems, docker, nuget or container.","enum":["npm","maven","rubygems","docker","nuget","container"],"title":"Package Type","type":"string"},"visibility":{"anyOf":[{"enum":["public","private","internal"],"type":"string"},{"type":"null"}],"default":null,"description":"Only packages with this visibility: public, private or internal.","title":"Visibility"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"How many results to return (1 to 100, default 30).","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["package_type"],"title":"list_my_packagesArguments","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_my_package":{"post":{"operationId":"get_my_package","summary":"Get one package of the token's own account: visibility, version count, repository and dates. Use for \"Show my GitHub con","description":"Get one package of the token's own account: visibility, version count, repository and dates. Use for \"Show my GitHub container package hello-app\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"package_type":{"description":"Package ecosystem: npm, maven, rubygems, docker, nuget or container.","enum":["npm","maven","rubygems","docker","nuget","container"],"title":"Package Type","type":"string"},"package_name":{"description":"Package name; names with a slash such as 'octo/app' are encoded for you.","maxLength":200,"title":"Package Name","type":"string"}},"required":["package_type","package_name"],"title":"get_my_packageArguments","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_package_versions":{"post":{"operationId":"list_my_package_versions","summary":"List the versions of one package owned by the token's own account, with name (tag or digest) and dates. Use for \"What ve","description":"List the versions of one package owned by the token's own account, with name (tag or digest) and dates. Use for \"What versions of my hello-app container exist\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"package_type":{"description":"Package ecosystem: npm, maven, rubygems, docker, nuget or container.","enum":["npm","maven","rubygems","docker","nuget","container"],"title":"Package Type","type":"string"},"package_name":{"description":"Package name; names with a slash such as 'octo/app' are encoded for you.","maxLength":200,"title":"Package Name","type":"string"},"state":{"anyOf":[{"enum":["active","deleted"],"type":"string"},{"type":"null"}],"default":"active","description":"Version state: active (default) or deleted.","title":"State"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"How many results to return (1 to 100, default 30).","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["package_type","package_name"],"title":"list_my_package_versionsArguments","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_org_packages":{"post":{"operationId":"list_org_packages","summary":"List packages owned by an organization in one ecosystem, with visibility, version count and source repository. Use for \"","description":"List packages owned by an organization in one ecosystem, with visibility, version count and source repository. Use for \"Which npm packages does octo-org publish on GitHub\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"org":{"description":"Organization login, for example 'octo-org'.","maxLength":200,"title":"Org","type":"string"},"package_type":{"description":"Package ecosystem: npm, maven, rubygems, docker, nuget or container.","enum":["npm","maven","rubygems","docker","nuget","container"],"title":"Package Type","type":"string"},"visibility":{"anyOf":[{"enum":["public","private","internal"],"type":"string"},{"type":"null"}],"default":null,"description":"Only packages with this visibility: public, private or internal.","title":"Visibility"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"How many results to return (1 to 100, default 30).","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["org","package_type"],"title":"list_org_packagesArguments","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_org_package":{"post":{"operationId":"get_org_package","summary":"Get one package of an organization: visibility, version count, repository and dates. Use for \"Show octo-org's container ","description":"Get one package of an organization: visibility, version count, repository and dates. Use for \"Show octo-org's container package hello-app\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"org":{"description":"Organization login, for example 'octo-org'.","maxLength":200,"title":"Org","type":"string"},"package_type":{"description":"Package ecosystem: npm, maven, rubygems, docker, nuget or container.","enum":["npm","maven","rubygems","docker","nuget","container"],"title":"Package Type","type":"string"},"package_name":{"description":"Package name; names with a slash such as 'octo/app' are encoded for you.","maxLength":200,"title":"Package Name","type":"string"}},"required":["org","package_type","package_name"],"title":"get_org_packageArguments","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_org_package_versions":{"post":{"operationId":"list_org_package_versions","summary":"List the versions of one organization package, with name (tag or digest) and dates. Use for \"What versions of octo-org's","description":"List the versions of one organization package, with name (tag or digest) and dates. Use for \"What versions of octo-org's hello-app container exist\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"org":{"description":"Organization login, for example 'octo-org'.","maxLength":200,"title":"Org","type":"string"},"package_type":{"description":"Package ecosystem: npm, maven, rubygems, docker, nuget or container.","enum":["npm","maven","rubygems","docker","nuget","container"],"title":"Package Type","type":"string"},"package_name":{"description":"Package name; names with a slash such as 'octo/app' are encoded for you.","maxLength":200,"title":"Package Name","type":"string"},"state":{"anyOf":[{"enum":["active","deleted"],"type":"string"},{"type":"null"}],"default":"active","description":"Version state: active (default) or deleted.","title":"State"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"How many results to return (1 to 100, default 30).","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["org","package_type","package_name"],"title":"list_org_package_versionsArguments","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_org_package_version":{"post":{"operationId":"get_org_package_version","summary":"Get one version of an organization package by numeric version id. Use for \"Show version 3497268 of octo-org's hello-app ","description":"Get one version of an organization package by numeric version id. Use for \"Show version 3497268 of octo-org's hello-app container\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"org":{"description":"Organization login, for example 'octo-org'.","maxLength":200,"title":"Org","type":"string"},"package_type":{"description":"Package ecosystem: npm, maven, rubygems, docker, nuget or container.","enum":["npm","maven","rubygems","docker","nuget","container"],"title":"Package Type","type":"string"},"package_name":{"description":"Package name; names with a slash such as 'octo/app' are encoded for you.","maxLength":200,"title":"Package Name","type":"string"},"package_version_id":{"description":"Numeric id of the package version.","title":"Package Version Id","type":"integer"}},"required":["org","package_type","package_name","package_version_id"],"title":"get_org_package_versionArguments","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_user_packages":{"post":{"operationId":"list_user_packages","summary":"List the public packages of any GitHub user in one ecosystem. Use for \"Which npm packages does octocat publish\".","description":"List the public packages of any GitHub user in one ecosystem. Use for \"Which npm packages does octocat publish\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"username":{"description":"GitHub user login, for example 'octocat'.","maxLength":200,"title":"Username","type":"string"},"package_type":{"description":"Package ecosystem: npm, maven, rubygems, docker, nuget or container.","enum":["npm","maven","rubygems","docker","nuget","container"],"title":"Package Type","type":"string"},"visibility":{"anyOf":[{"enum":["public","private","internal"],"type":"string"},{"type":"null"}],"default":null,"description":"Only packages with this visibility: public, private or internal.","title":"Visibility"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"How many results to return (1 to 100, default 30).","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["username","package_type"],"title":"list_user_packagesArguments","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_org_docker_conflicts":{"post":{"operationId":"list_org_docker_conflicts","summary":"List an organization's packages that conflict during the Docker registry to container registry migration. Use for \"Does ","description":"List an organization's packages that conflict during the Docker registry to container registry migration. Use for \"Does octo-org have Docker packages that conflict with the container registry migration\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"org":{"description":"Organization login, for example 'octo-org'.","maxLength":200,"title":"Org","type":"string"}},"required":["org"],"title":"list_org_docker_conflictsArguments","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}}}}