{"openapi":"3.1.0","info":{"title":"Coda Doc Settings (BYOK) API","version":"0.1.0","description":"Coda Doc Settings (BYOK) lets an AI assistant read your own Coda Doc Settings data through the Coda Doc Settings API with a key you supply (Coda API token). Read-only: 5 tools (get_sharing_metadata, get_acl_settings, list_formulas, list_controls, get_control). 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-coda-doc-settings.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-coda-doc-settings/docs"},"termsOfService":"https://connectorbay.com/byok-coda-doc-settings/terms"},"servers":[{"url":"https://byok-coda-doc-settings.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-coda-doc-settings/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/get_sharing_metadata":{"post":{"operationId":"get_sharing_metadata","summary":"Show what the token's owner may do with a doc: share it, share it with the workspace or organization, and copy it. Use f","description":"Show what the token's owner may do with a doc: share it, share it with the workspace or organization, and copy it. Use for \"Can I share or copy my Coda doc AbCDeFGH\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"doc_id":{"description":"Doc id: the part after _d in the doc URL (for example 'AbCDeFGH' from https://coda.io/d/My-Doc_dAbCDeFGH) or the id from the Coda docs list.","maxLength":200,"title":"Doc Id","type":"string"}},"required":["doc_id"],"title":"get_sharing_metadataArguments","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_acl_settings":{"post":{"operationId":"get_acl_settings","summary":"Get a doc's permission settings: whether editors may change permissions, whether copying is allowed and whether viewers ","description":"Get a doc's permission settings: whether editors may change permissions, whether copying is allowed and whether viewers may request edit access. Use for \"What are the sharing settings of my Coda doc AbCDeFGH\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"doc_id":{"description":"Doc id: the part after _d in the doc URL (for example 'AbCDeFGH' from https://coda.io/d/My-Doc_dAbCDeFGH) or the id from the Coda docs list.","maxLength":200,"title":"Doc Id","type":"string"}},"required":["doc_id"],"title":"get_acl_settingsArguments","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_formulas":{"post":{"operationId":"list_formulas","summary":"List the named formulas of a doc (names only, with the page each lives on); values are not returned. Use for \"Which name","description":"List the named formulas of a doc (names only, with the page each lives on); values are not returned. Use for \"Which named formulas does my Coda doc AbCDeFGH have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"doc_id":{"description":"Doc id: the part after _d in the doc URL (for example 'AbCDeFGH' from https://coda.io/d/My-Doc_dAbCDeFGH) or the id from the Coda docs list.","maxLength":200,"title":"Doc Id","type":"string"},"sort_by":{"anyOf":[{"const":"name","type":"string"},{"type":"null"}],"default":null,"description":"Sort field: name.","title":"Sort By"},"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":["doc_id"],"title":"list_formulasArguments","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_controls":{"post":{"operationId":"list_controls","summary":"List the controls of a doc (buttons, sliders, selects and similar) with name and the page each lives on. Use for \"Which ","description":"List the controls of a doc (buttons, sliders, selects and similar) with name and the page each lives on. Use for \"Which controls does my Coda doc AbCDeFGH have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"doc_id":{"description":"Doc id: the part after _d in the doc URL (for example 'AbCDeFGH' from https://coda.io/d/My-Doc_dAbCDeFGH) or the id from the Coda docs list.","maxLength":200,"title":"Doc Id","type":"string"},"sort_by":{"anyOf":[{"const":"name","type":"string"},{"type":"null"}],"default":null,"description":"Sort field: name.","title":"Sort By"},"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":["doc_id"],"title":"list_controlsArguments","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_control":{"post":{"operationId":"get_control","summary":"Get one control of a doc: its name, control type (for example slider, select or button), current value and page. Use for","description":"Get one control of a doc: its name, control type (for example slider, select or button), current value and page. Use for \"What type is the control ctrl-AbCdEf in my Coda doc AbCDeFGH and what is its value\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"doc_id":{"description":"Doc id: the part after _d in the doc URL (for example 'AbCDeFGH' from https://coda.io/d/My-Doc_dAbCDeFGH) or the id from the Coda docs list.","maxLength":200,"title":"Doc Id","type":"string"},"control_id":{"description":"Control id (like 'ctrl-AbCdEf') from list_controls; a control name also works but ids are more reliable.","maxLength":200,"title":"Control Id","type":"string"}},"required":["doc_id","control_id"],"title":"get_controlArguments","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}}}}