{"openapi":"3.1.0","info":{"title":"Coda (BYOK) API","version":"0.1.0","description":"Coda (BYOK) lets an AI assistant read your own Coda data through the Coda API with a key you supply (API token). Read-only: 11 tools (whoami, list_docs, get_doc, list_pages, get_page, list_page_content, list_tables, list_columns, list_rows, get_row, list_folders). 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.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-coda/docs"},"termsOfService":"https://connectorbay.com/byok-coda/terms"},"servers":[{"url":"https://byok-coda.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-coda/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/whoami":{"post":{"operationId":"whoami","summary":"Show the Coda user the API token belongs to: name, login email, workspace and whether the token is restricted to certain","description":"Show the Coda user the API token belongs to: name, login email, workspace and whether the token is restricted to certain docs or tables. Use for \"Which Coda account is my token connected to\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"whoamiArguments","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_docs":{"post":{"operationId":"list_docs","summary":"List the Coda docs the user can access, newest first, with owner, dates, size and workspace. Can be filtered by a search","description":"List the Coda docs the user can access, newest first, with owner, dates, size and workspace. Can be filtered by a search text. Use for \"Which Coda docs do I have about onboarding\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Search text to filter doc names.","title":"Query"},"is_owner":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to list only docs you own.","title":"Is Owner"},"is_starred":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for only starred docs, false for only unstarred ones.","title":"Is Starred"},"workspace_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only docs of this workspace ID.","title":"Workspace Id"},"folder_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only docs in this folder ID (from list_folders).","title":"Folder Id"},"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_docsArguments","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_doc":{"post":{"operationId":"get_doc","summary":"Get one Coda doc: name, owner, dates, size (rows, tables, pages), workspace and folder. Use for \"Show me the details of ","description":"Get one Coda doc: name, owner, dates, size (rows, tables, pages), workspace and folder. Use for \"Show me the details of this Coda doc\".","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 list_docs.","maxLength":200,"title":"Doc Id","type":"string"}},"required":["doc_id"],"title":"get_docArguments","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_pages":{"post":{"operationId":"list_pages","summary":"List the pages of a Coda doc with name, subtitle, parent page and content type. Page IDs are used by get_page and list_p","description":"List the pages of a Coda doc with name, subtitle, parent page and content type. Page IDs are used by get_page and list_page_content. Use for \"What pages does this Coda doc 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 list_docs.","maxLength":200,"title":"Doc Id","type":"string"},"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_pagesArguments","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_page":{"post":{"operationId":"get_page","summary":"Get one Coda page's details: name, subtitle, content type, parent and child pages. Use list_page_content to read its tex","description":"Get one Coda page's details: name, subtitle, content type, parent and child pages. Use list_page_content to read its text. Use for \"Show me the details of this Coda page\".","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 list_docs.","maxLength":200,"title":"Doc Id","type":"string"},"page_id":{"description":"Page ID (like 'canvas-AbCdEf') from list_pages. A page name also works but IDs are more reliable.","maxLength":200,"title":"Page Id","type":"string"}},"required":["doc_id","page_id"],"title":"get_pageArguments","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_page_content":{"post":{"operationId":"list_page_content","summary":"Read the text of a Coda page as plain-text content items (one per line or block), up to 500 per call, with a next-page t","description":"Read the text of a Coda page as plain-text content items (one per line or block), up to 500 per call, with a next-page token. Use for \"What does the onboarding page of this Coda doc say\".","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 list_docs.","maxLength":200,"title":"Doc Id","type":"string"},"page_id":{"description":"Page ID (like 'canvas-AbCdEf') from list_pages. A page name also works but IDs are more reliable.","maxLength":200,"title":"Page Id","type":"string"},"limit":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many results to return (1 to 500).","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","page_id"],"title":"list_page_contentArguments","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_tables":{"post":{"operationId":"list_tables","summary":"List the tables and views of a Coda doc with name and type. Table IDs are used by list_columns and list_rows. Use for \"W","description":"List the tables and views of a Coda doc with name and type. Table IDs are used by list_columns and list_rows. Use for \"What tables are in this Coda doc\".","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 list_docs.","maxLength":200,"title":"Doc Id","type":"string"},"table_types":{"anyOf":[{"enum":["table","view","database"],"type":"string"},{"type":"null"}],"default":null,"description":"Only this kind: table, view or database; leave out for all.","title":"Table Types"},"sort_by":{"anyOf":[{"const":"name","type":"string"},{"type":"null"}],"default":null,"description":"Set to name to sort by 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_tablesArguments","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_columns":{"post":{"operationId":"list_columns","summary":"List the columns of a Coda table with name, whether it is calculated and its formula. Use for \"What columns does the Tas","description":"List the columns of a Coda table with name, whether it is calculated and its formula. Use for \"What columns does the Tasks table in this Coda doc 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 list_docs.","maxLength":200,"title":"Doc Id","type":"string"},"table_id":{"description":"Table or view ID (like 'grid-AbCdEf') from list_tables. A table name also works but IDs are more reliable.","maxLength":200,"title":"Table Id","type":"string"},"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"},"visible_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to return only visible columns (base tables only).","title":"Visible Only"}},"required":["doc_id","table_id"],"title":"list_columnsArguments","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_rows":{"post":{"operationId":"list_rows","summary":"List rows of a Coda table with their cell values (keyed by column name), optionally filtered with a column:value query. ","description":"List rows of a Coda table with their cell values (keyed by column name), optionally filtered with a column:value query. Use for \"Which rows in the Tasks table of this Coda doc have status In progress\".","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 list_docs.","maxLength":200,"title":"Doc Id","type":"string"},"table_id":{"description":"Table or view ID (like 'grid-AbCdEf') from list_tables. A table name also works but IDs are more reliable.","maxLength":200,"title":"Table Id","type":"string"},"query":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Filter as <column name or id>:<value>; quote a column name, for example '\"Status\":\"In progress\"'.","title":"Query"},"sort_by":{"anyOf":[{"enum":["createdAt","natural","updatedAt"],"type":"string"},{"type":"null"}],"default":null,"description":"Order: createdAt, updatedAt or natural (the table's own order).","title":"Sort By"},"use_column_names":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True to key cell values by column name instead of column ID.","title":"Use Column Names"},"value_format":{"anyOf":[{"enum":["simple","simpleWithArrays","rich"],"type":"string"},{"type":"null"}],"default":"simple","description":"Cell format: simple, simpleWithArrays or rich.","title":"Value Format"},"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","table_id"],"title":"list_rowsArguments","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_row":{"post":{"operationId":"get_row","summary":"Get one row of a Coda table with its cell values. Use for \"Show me this row of the Tasks table in my Coda doc\".","description":"Get one row of a Coda table with its cell values. Use for \"Show me this row of the Tasks table in my Coda doc\".","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 list_docs.","maxLength":200,"title":"Doc Id","type":"string"},"table_id":{"description":"Table or view ID (like 'grid-AbCdEf') from list_tables. A table name also works but IDs are more reliable.","maxLength":200,"title":"Table Id","type":"string"},"row_id":{"description":"Row ID (like 'i-AbCdEf') from list_rows.","maxLength":200,"title":"Row Id","type":"string"},"use_column_names":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True to key cell values by column name instead of column ID.","title":"Use Column Names"},"value_format":{"anyOf":[{"enum":["simple","simpleWithArrays","rich"],"type":"string"},{"type":"null"}],"default":"simple","description":"Cell format: simple, simpleWithArrays or rich.","title":"Value Format"}},"required":["doc_id","table_id","row_id"],"title":"get_rowArguments","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_folders":{"post":{"operationId":"list_folders","summary":"List the Coda folders the user can access with name, description and workspace. Use for \"What folders do I have in Coda\"","description":"List the Coda folders the user can access with name, description and workspace. Use for \"What folders do I have in Coda\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"workspace_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only folders of this workspace ID.","title":"Workspace Id"},"is_starred":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for only starred folders, false for only unstarred ones.","title":"Is Starred"},"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_foldersArguments","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}}}}