{"openapi":"3.1.0","info":{"title":"The Cat API (BYOK) API","version":"0.1.0","description":"The Cat API (BYOK) lets an AI assistant read your own The Cat API data through the The Cat API API with a key you supply (The Cat API API key). Read-only: 6 tools (list_breeds, search_breeds, get_breed, list_breed_groups, search_images, get_image). 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-thecatapi.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-thecatapi/docs"},"termsOfService":"https://connectorbay.com/byok-thecatapi/terms"},"servers":[{"url":"https://byok-thecatapi.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-thecatapi/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_breeds":{"post":{"operationId":"list_breeds","summary":"List cat breeds with their descriptive data as sent by the service, optionally in random or reverse order. Use page to c","description":"List cat breeds with their descriptive data as sent by the service, optionally in random or reverse order. Use page to continue. Use for \"List some cat breeds\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"order":{"anyOf":[{"enum":["ASC","DESC","RANDOM"],"type":"string"},{"type":"null"}],"default":"ASC","description":"Order: ASC, DESC or RANDOM.","title":"Order"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 100).","title":"Limit"},"page":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Page number for paging through results (see the service docs for the first page number).","title":"Page"},"lang":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":null,"description":"Optional language code for translated text, for example 'en'.","title":"Lang"}},"title":"list_breedsArguments","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/search_breeds":{"post":{"operationId":"search_breeds","summary":"Search cat breeds by name (1 to 30 characters). Use for \"Find the cat breed called Siamese\".","description":"Search cat breeds by name (1 to 30 characters). Use for \"Find the cat breed called Siamese\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"q":{"description":"Breed name or part of it, for example 'Siamese'.","maxLength":30,"title":"Q","type":"string"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 100).","title":"Limit"},"page":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Page number for paging through results (see the service docs for the first page number).","title":"Page"}},"required":["q"],"title":"search_breedsArguments","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_breed":{"post":{"operationId":"get_breed","summary":"Get one cat breed by its identifier (from list_breeds or search_breeds). Use for \"Tell me about the cat breed with id si","description":"Get one cat breed by its identifier (from list_breeds or search_breeds). Use for \"Tell me about the cat breed with id siam\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"breed_id":{"description":"Breed identifier as returned by the breed lists.","maxLength":40,"title":"Breed Id","type":"string"},"lang":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":null,"description":"Optional language code for translated text, for example 'en'.","title":"Lang"}},"required":["breed_id"],"title":"get_breedArguments","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_breed_groups":{"post":{"operationId":"list_breed_groups","summary":"List the distinct cat breed groups. Use for \"Which cat breed groups exist\".","description":"List the distinct cat breed groups. Use for \"Which cat breed groups exist\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_breed_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/search_images":{"post":{"operationId":"search_images","summary":"Search cat images, optionally only of given breeds, with image size, source credit and the breed data. Use for \"Show me ","description":"Search cat images, optionally only of given breeds, with image size, source credit and the breed data. Use for \"Show me cat pictures of the Siamese breed\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 100).","title":"Limit"},"page":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Page number for paging through results (see the service docs for the first page number).","title":"Page"},"breed_ids":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated breed identifiers to restrict to, for example '1,2'.","title":"Breed Ids"},"has_breeds":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to return only images that have breed information.","title":"Has Breeds"},"include_breeds":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True to include the breed record in each image.","title":"Include Breeds"}},"title":"search_imagesArguments","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_image":{"post":{"operationId":"get_image","summary":"Get one cat image record by its image id. Use for \"Get cat image abc\".","description":"Get one cat image record by its image id. Use for \"Get cat image abc\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"image_id":{"description":"Image identifier as returned by search_images.","maxLength":40,"title":"Image Id","type":"string"}},"required":["image_id"],"title":"get_imageArguments","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}}}}