gtable
gtable.appOpen the Studio
REST APIOverview

REST API overview

Two REST APIs, the Builder API on the Studio and the App API of every app, with one envelope, one versioning scheme and one set of error codes.

gtable has two REST APIs, one per plane, built from the same registry as the MCP tools and the CLI. They share their conventions: the envelope, pagination, errors, idempotency and versioning work the same on both.

Builder APIApp API
Base URLhttps://studio.gtable.app/v1https://{suite}.gtable.app/{app}/v1
Forbuilders: organisations, suites, apps, schema, rules, people, domainsanyone invited into an app: records, views, comments, files, SQL, undo
CredentialsStudio keys, Studio OAuthyour key in that app, or an OAuth connection to the suite
OpenAPIpublic, https://studio.gtable.app/v1/openapi.jsonper person, https://{suite}.gtable.app/{app}/v1/openapi.json
ReferenceBuilder APIApp API

The App API is generated for you

An app’s OpenAPI document is generated on every request from the schema the caller can see. Its tableId parameter is a closed list of your tables, and each table’s record is typed with only the fields you can read. Someone with a different role gets a different document from the same URL. There is no anonymous copy.

So the App API reference here is the generic contract: every operation and its shape, with no table and no field named. To generate a client, or to give an agent exact types, fetch your own:

Terminal
curl "https://your-suite.gtable.app/your-app/v1/openapi.json" \
  -H "Authorization: Bearer $GTABLE_TOKEN"

The generic contracts are also published here, for tools that want a file: /docs/openapi/app.json and /docs/openapi/builder.json.

Builders reach data through the Studio

A builder is not a member of their own apps by default, and does not need to be. The Builder API reads and writes any app’s records under /v1/apps/{appId}/…, with every write recorded under the builder’s name. See Data, as the builder.

Before you write code

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search gtable documentation and read it in full, instead of answering from memory.

https://gtable.app/docs/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://gtable.app/docs/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.