{"openapi":"3.1.0","info":{"title":"Castos (BYOK) API","version":"0.1.0","description":"Castos (BYOK) lets an AI assistant read your own Castos data through the Castos API with a key you supply (Castos API token). Read-only: 5 tools (list_podcasts, get_podcast, list_episodes, get_episode, list_podcast_categories). 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 app.castos.com. Unofficial connector...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-castos.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-castos/docs"},"termsOfService":"https://connectorbay.com/byok-castos/terms"},"servers":[{"url":"https://byok-castos.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-castos/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_podcasts":{"post":{"operationId":"list_podcasts","summary":"List the podcasts of the account with title, description, website, author, language and episode counts (the owner email ","description":"List the podcasts of the account with title, description, website, author, language and episode counts (the owner email is left out). Use for \"Which podcasts do I host on Castos\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_podcastsArguments","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_podcast":{"post":{"operationId":"get_podcast","summary":"Get one podcast with title, description, website, author, language and feed settings. Use for \"What are the details of m","description":"Get one podcast with title, description, website, author, language and feed settings. Use for \"What are the details of my Castos podcast 123\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"podcast_id":{"description":"Castos podcast id (the id from list_podcasts).","title":"Podcast Id","type":"integer"}},"required":["podcast_id"],"title":"get_podcastArguments","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_episodes":{"post":{"operationId":"list_episodes","summary":"List the episodes of a podcast, newest first, with title, show notes, numbers and publish date; paged. Use for \"What epi","description":"List the episodes of a podcast, newest first, with title, show notes, numbers and publish date; paged. Use for \"What episodes has my Castos podcast published\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"podcast_id":{"description":"Castos podcast id (the id from list_podcasts).","title":"Podcast Id","type":"integer"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number (default 1).","title":"Page"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":15,"description":"Episodes per page.","title":"Per Page"}},"required":["podcast_id"],"title":"list_episodesArguments","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_episode":{"post":{"operationId":"get_episode","summary":"Get one episode of a podcast with title, show notes, numbers and publish date. Use for \"What are the details of my Casto","description":"Get one episode of a podcast with title, show notes, numbers and publish date. Use for \"What are the details of my Castos episode 456\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"podcast_id":{"description":"Castos podcast id (the id from list_podcasts).","title":"Podcast Id","type":"integer"},"episode_id":{"description":"Episode id (the id from list_episodes).","title":"Episode Id","type":"integer"}},"required":["podcast_id","episode_id"],"title":"get_episodeArguments","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_podcast_categories":{"post":{"operationId":"list_podcast_categories","summary":"List the podcast categories Castos accepts. Use for \"Which podcast categories does Castos support\".","description":"List the podcast categories Castos accepts. Use for \"Which podcast categories does Castos support\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_podcast_categoriesArguments","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}}}}