/install coda-io
Coda API Skill
Interact with Coda.io via its REST API v1. Base URL: https://coda.io/apis/v1
Setup
- Get API token at https://coda.io/account → "API settings" → "Generate API token"
- Set env var:
export CODA_API_TOKEN="\x3Ctoken>" - Verify:
bash scripts/coda.sh whoami
Helper Script
scripts/coda.sh wraps common operations. Run bash scripts/coda.sh help for usage.
Examples:
# List docs
bash scripts/coda.sh list-docs | jq '.items[].name'
# List tables in a doc
bash scripts/coda.sh list-tables AbCDeFGH | jq '.items[] | {id, name}'
# List columns (discover IDs before writing)
bash scripts/coda.sh list-columns AbCDeFGH grid-abc | jq '.items[] | {id, name}'
# Read rows with column names
bash scripts/coda.sh list-rows AbCDeFGH grid-abc 10 true | jq '.items'
# Insert rows
echo '{"rows":[{"cells":[{"column":"c-abc","value":"Hello"}]}]}' | \
bash scripts/coda.sh insert-rows AbCDeFGH grid-abc
# Upsert rows (match on key column)
echo '{"rows":[{"cells":[{"column":"c-abc","value":"Hello"},{"column":"c-def","value":42}]}],"keyColumns":["c-abc"]}' | \
bash scripts/coda.sh upsert-rows AbCDeFGH grid-abc
# Share doc
bash scripts/coda.sh share-doc AbCDeFGH [email protected] write
Workflow: Reading Data
list-docs→ find the doc IDlist-tables \x3CdocId>→ find the table IDlist-columns \x3CdocId> \x3CtableId>→ discover column IDs/nameslist-rows \x3CdocId> \x3CtableId>→ read data
Workflow: Writing Data
- Discover column IDs first (step 3 above)
- Build row JSON with
cellsarray using column IDs insert-rows(new data) orupsert-rows(withkeyColumnsfor idempotent writes)- Write ops return HTTP 202 +
requestId→ poll withmutation-statusif confirmation needed
Key Concepts
- IDs over names: Use resource IDs (stable) rather than names (user-editable)
- Eventual consistency: Writes are async (HTTP 202). Poll
mutation-statusto confirm. - Pagination: List endpoints return
nextPageToken. Pass aspageTokenfor next page. - Rate limits: Read 100/6s, Write 10/6s, Doc content write 5/10s. Respect 429 with backoff.
- Fresh reads: Add header
X-Coda-Doc-Version: latestto ensure non-stale data (may 400). - valueFormat:
simple(default),simpleWithArrays,richfor structured data. - Doc ID from URL:
https://coda.io/d/Title_d\x3CDOC_ID>→ the part after_dis the doc ID.
Direct curl (when script doesn't cover it)
curl -s -H "Authorization: Bearer $CODA_API_TOKEN" \
"https://coda.io/apis/v1/docs/{docId}/tables/{tableId}/rows?useColumnNames=true&limit=50"
For writes:
curl -s -H "Authorization: Bearer $CODA_API_TOKEN" \
-H "Content-Type: application/json" \
-X POST -d '{"rows":[...]}' \
"https://coda.io/apis/v1/docs/{docId}/tables/{tableId}/rows"
Full API Reference
See references/api-endpoints.md for complete endpoint listing with parameters, body schemas, and response details.
Searchable by section: Account, Folders, Docs, Pages, Tables, Columns, Rows, Formulas, Controls, Permissions, Publishing, Automations, Analytics, Miscellaneous.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install coda-io - 安装完成后,直接呼叫该 Skill 的名称或使用
/coda-io触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Coda.io 是什么?
Interact with Coda.io docs, tables, rows, pages, and automations via the Coda REST API v1. Use when the user wants to read, write, update, or delete data in... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 804 次。
如何安装 Coda.io?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install coda-io」即可一键安装,无需额外配置。
Coda.io 是免费的吗?
是的,Coda.io 完全免费(开源免费),可自由下载、安装和使用。
Coda.io 支持哪些平台?
Coda.io 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Coda.io?
由 simonfunk(@simonfunk)开发并维护,当前版本 v1.2.0。