{"openapi":"3.1.0","info":{"title":"Coda Packs (BYOK) API","version":"0.1.0","description":"Coda Packs (BYOK) lets an AI assistant read your own Coda Packs data through the Coda Packs API with a key you supply (Coda API token). Read-only: 7 tools (list_packs, get_pack, list_pack_versions, list_pack_releases, list_pack_listings, list_pack_categories, list_doc_categories). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-coda-packs.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-coda-packs/docs"},"termsOfService":"https://connectorbay.com/byok-coda-packs/terms"},"servers":[{"url":"https://byok-coda-packs.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-coda-packs/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_packs":{"post":{"operationId":"list_packs","summary":"List the Coda Packs the token can access with name, description, workspace, categories, certification flags and verified","description":"List the Coda Packs the token can access with name, description, workspace, categories, certification flags and verified version; filter by access level and sort by title or date. Use for \"Which Coda Packs do I own or can edit\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"access_type":{"anyOf":[{"enum":["none","view","test","edit","admin"],"type":"string"},{"type":"null"}],"default":null,"description":"Only Packs where you have exactly this access level.","title":"Access Type"},"sort_by":{"anyOf":[{"enum":["title","createdAt","updatedAt"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort field.","title":"Sort By"},"direction":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort direction: ascending or descending.","title":"Direction"},"only_workspace_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only Packs of this workspace id.","title":"Only Workspace Id"},"exclude_public_packs":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to leave out Packs that are public.","title":"Exclude Public Packs"},"pack_entrypoint":{"anyOf":[{"enum":["go","docs"],"type":"string"},{"type":"null"}],"default":null,"description":"Only Packs available in this entry point: go or docs.","title":"Pack Entrypoint"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many results to return (1 to 100).","title":"Limit"},"page_token":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"default":null,"description":"Next page token: the nextPageToken value from the previous answer. Leave out for the first page.","title":"Page Token"}},"title":"list_packsArguments","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_pack":{"post":{"operationId":"get_pack","summary":"Get one Coda Pack: name, descriptions, workspace, categories, certification flags, verified version, entry points, terms","description":"Get one Coda Pack: name, descriptions, workspace, categories, certification flags, verified version, entry points, terms and privacy links. Use for \"Show details of my Coda Pack 1001\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"pack_id":{"description":"Numeric Pack id from list_packs, for example 1001.","title":"Pack Id","type":"integer"}},"required":["pack_id"],"title":"get_packArguments","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_pack_versions":{"post":{"operationId":"list_pack_versions","summary":"List the uploaded versions of a Pack, newest first, with version number, build notes, creation time, SDK version and lin","description":"List the uploaded versions of a Pack, newest first, with version number, build notes, creation time, SDK version and linked release id. Use for \"What versions of my Coda Pack 1001 have been uploaded\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"pack_id":{"description":"Numeric Pack id from list_packs, for example 1001.","title":"Pack Id","type":"integer"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many results to return (1 to 100).","title":"Limit"},"page_token":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"default":null,"description":"Next page token: the nextPageToken value from the previous answer. Leave out for the first page.","title":"Page Token"}},"required":["pack_id"],"title":"list_pack_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_pack_releases":{"post":{"operationId":"list_pack_releases","summary":"List the releases of a Pack with release id, version, release notes, SDK version and creation time. Use for \"Which relea","description":"List the releases of a Pack with release id, version, release notes, SDK version and creation time. Use for \"Which releases of my Coda Pack 1001 are out\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"pack_id":{"description":"Numeric Pack id from list_packs, for example 1001.","title":"Pack Id","type":"integer"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many results to return (1 to 100).","title":"Limit"},"page_token":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"default":null,"description":"Next page token: the nextPageToken value from the previous answer. Leave out for the first page.","title":"Page Token"}},"required":["pack_id"],"title":"list_pack_releasesArguments","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_pack_listings":{"post":{"operationId":"list_pack_listings","summary":"List Pack marketplace listings visible to you with name, short description, categories, certification, latest version an","description":"List Pack marketplace listings visible to you with name, short description, categories, certification, latest version and release time; filter by ids, certified agents or workspace. Use for \"Which certified Coda Packs are listed in the marketplace\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"pack_ids":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated Pack ids to include.","title":"Pack Ids"},"only_workspace_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only listings from this workspace id.","title":"Only Workspace Id"},"exclude_public_packs":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to leave out public Packs.","title":"Exclude Public Packs"},"certified_agents_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for only Packs certified for agent use.","title":"Certified Agents Only"},"pack_categories":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated category ids to include (from list_pack_categories).","title":"Pack Categories"},"sort_by":{"anyOf":[{"enum":["packId","name","packVersion","packVersionModifiedAt"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort field.","title":"Sort By"},"direction":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort direction: ascending or descending.","title":"Direction"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many results to return (1 to 100).","title":"Limit"},"page_token":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"default":null,"description":"Next page token: the nextPageToken value from the previous answer. Leave out for the first page.","title":"Page Token"}},"title":"list_pack_listingsArguments","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_pack_categories":{"post":{"operationId":"list_pack_categories","summary":"List the marketplace categories assigned to one Pack. Use for \"Which categories is my Coda Pack 1001 listed under\".","description":"List the marketplace categories assigned to one Pack. Use for \"Which categories is my Coda Pack 1001 listed under\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"pack_id":{"description":"Numeric Pack id from list_packs, for example 1001.","title":"Pack Id","type":"integer"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many results to return (1 to 100).","title":"Limit"},"page_token":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"default":null,"description":"Next page token: the nextPageToken value from the previous answer. Leave out for the first page.","title":"Page Token"}},"required":["pack_id"],"title":"list_pack_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}},"/v1/tools/list_doc_categories":{"post":{"operationId":"list_doc_categories","summary":"List the categories a Coda doc can be published under. Use for \"What categories can I publish a Coda doc in\".","description":"List the categories a Coda doc can be published under. Use for \"What categories can I publish a Coda doc in\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_doc_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}}}}