{"openapi":"3.1.0","info":{"title":"Gemfury (BYOK) API","version":"0.1.0","description":"Gemfury (BYOK) lets an AI assistant read your own Gemfury data through the Gemfury API with a key you supply (Gemfury API token). Read-only: 7 tools (list_packages, get_package, list_package_versions, find_versions, get_version, get_account, list_collaborations). 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-gemfury.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-gemfury/docs"},"termsOfService":"https://connectorbay.com/byok-gemfury/terms"},"servers":[{"url":"https://byok-gemfury.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-gemfury/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_packages":{"post":{"operationId":"list_packages","summary":"List the packages in a Gemfury account with type, privacy, version count and the latest release and latest version numbe","description":"List the packages in a Gemfury account with type, privacy, version count and the latest release and latest version numbers. Use for \"Which packages are in my Gemfury repository\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Account username to act in (an organization you can access); leave out for the token's own account.","title":"Account"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"Maximum results per call (the API may return fewer; only the first page is returned).","title":"Limit"}},"title":"list_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_package":{"post":{"operationId":"get_package","summary":"Get one package by id or KIND:NAME: type, privacy, version count and latest release and latest version numbers. Use for ","description":"Get one package by id or KIND:NAME: type, privacy, version count and latest release and latest version numbers. Use for \"Show the express package in my Gemfury account\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"package_id":{"description":"Package id (for example pkg_eb3c12) or 'KIND:NAME' such as 'js:express'.","maxLength":120,"title":"Package Id","type":"string"},"account":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Account username to act in (an organization you can access); leave out for the token's own account.","title":"Account"}},"required":["package_id"],"title":"get_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_package_versions":{"post":{"operationId":"list_package_versions","summary":"List the versions (files) of one package with version, prerelease flag, filename, SHA-256 checksum and upload time. Use ","description":"List the versions (files) of one package with version, prerelease flag, filename, SHA-256 checksum and upload time. Use for \"Which versions of js:express are in my Gemfury account\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"package_id":{"description":"Package id (for example pkg_eb3c12) or 'KIND:NAME' such as 'js:express'.","maxLength":120,"title":"Package Id","type":"string"},"account":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Account username to act in (an organization you can access); leave out for the token's own account.","title":"Account"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"Maximum results per call (the API may return fewer; only the first page is returned).","title":"Limit"}},"required":["package_id"],"title":"list_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/find_versions":{"post":{"operationId":"find_versions","summary":"Search versions across the account by package name (or KIND:NAME) and optionally one exact version number. Use for \"Is v","description":"Search versions across the account by package name (or KIND:NAME) and optionally one exact version number. Use for \"Is version 4.19.2 of express in my Gemfury repository\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"name":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Package name or 'KIND:NAME' to match.","title":"Name"},"version":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Exact version string to match, for example 1.2.3.","title":"Version"},"account":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Account username to act in (an organization you can access); leave out for the token's own account.","title":"Account"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"Maximum results per call (the API may return fewer; only the first page is returned).","title":"Limit"}},"title":"find_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_version":{"post":{"operationId":"get_version","summary":"Get one version by id: package, filename, prerelease flag, SHA-256 checksum and upload time (the expiring download URL i","description":"Get one version by id: package, filename, prerelease flag, SHA-256 checksum and upload time (the expiring download URL is left out). Use for \"Show Gemfury version ver_eb3c12\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"version_id":{"description":"Version id (for example ver_eb3c12).","maxLength":60,"title":"Version Id","type":"string"},"account":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Account username to act in (an organization you can access); leave out for the token's own account.","title":"Account"}},"required":["version_id"],"title":"get_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/get_account":{"post":{"operationId":"get_account","summary":"Get one account by username or id (use 'me' for the context account): id, username, display name and type (user, org or ","description":"Get one account by username or id (use 'me' for the context account): id, username, display name and type (user, org or heroku_app). Use for \"Which Gemfury account does my token belong to\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Account username, account id, or the keyword me.","maxLength":60,"title":"Account Id","type":"string"},"account":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Account username to act in (an organization you can access); leave out for the token's own account.","title":"Account"}},"required":["account_id"],"title":"get_accountArguments","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_collaborations":{"post":{"operationId":"list_collaborations","summary":"List the accounts where the token's user is a collaborator. Use for \"Which Gemfury accounts am I a collaborator on\".","description":"List the accounts where the token's user is a collaborator. Use for \"Which Gemfury accounts am I a collaborator on\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_collaborationsArguments","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}}}}