Simulators
Airtable simulator
airtable-twin is a local, stateful simulator of Airtable’s Web API for testing integrations and agents that read and write bases. Bases, tables, fields, views, records, comments and webhooks keep the shapes, errors and lifecycles of Airtable’s API. Unless a Differs from Airtable line beside a behavior or the Limitations section says otherwise, the simulator does what Airtable does. It never calls Airtable and sends no webhook notifications.
Quickstart
Install the CLI, sign in and boot the simulator with RYSTIC_URL pointing at it.
On Pro you sign in with an API key from your account .
curl -fsSL https://www.rystic.ai/install.sh | sh
rystic login rys_… # your API key
export RYSTIC_URL=$(rystic run airtable-twin -d --port 0 --scenario airtable_launch_tracker --json | jq -r .data.url)
curl -s "$RYSTIC_URL/_rystic/version"
# -> {..."product":"airtable-twin"...}
On Enterprise, the licensed edition signs in with a license file in place of the key: rystic login ./rystic-license.json (licensing ).
First calls
List two tasks in the launch tracker base, add a task and read it back:
curl -s "$RYSTIC_URL/v0/appLnch0000000001/Tasks?maxRecords=2&fields%5B%5D=Name&fields%5B%5D=Status" -H 'Authorization: Bearer pat.placeholder' | jq -c '[.records[] | {id, fields}]'
# -> [{"id":"recLnch0000000011","fields":{"Name":"Finalize pricing page","Status":"Done"}},{"id":"recLnch0000000012","fields":{"Name":"Write release notes","Status":"Done"}}]
curl -s -X POST "$RYSTIC_URL/v0/appLnch0000000001/Tasks" -H 'Authorization: Bearer pat.placeholder' -H 'Content-Type: application/json' -d '{"fields":{"Name":"Ship the changelog","Status":"Todo"}}' | jq -c '{id, fields}'
# -> {"id":"rec00000000000001","fields":{"Name":"Ship the changelog","Status":"Todo"}}
curl -s "$RYSTIC_URL/v0/appLnch0000000001/Tasks/rec00000000000001" -H 'Authorization: Bearer pat.placeholder' | jq -c '{id, fields}'
# -> {"id":"rec00000000000001","fields":{"Name":"Ship the changelog","Status":"Todo"}}
A table is named by its name, as Tasks here, or by its id, as tblLnch0000000001.
Connect your client
Set airtable.js’s endpointUrl, or pyAirtable’s endpoint_url, to $RYSTIC_URL and use any placeholder token. JavaScript:
import Airtable from "airtable";
const base = new Airtable({ apiKey: "pat.placeholder", endpointUrl: process.env.RYSTIC_URL }).base("appLnch0000000001");
const tasks = await base("Tasks").select({ maxRecords: 3 }).firstPage();
Python:
import os
from pyairtable import Api
api = Api("pat.placeholder", endpoint_url=os.environ["RYSTIC_URL"])
tasks = api.table("appLnch0000000001", "Tasks").all(max_records=3)
Any non-empty token reads as the scenario’s member user, and a request with no token, or with another scheme such as Basic, returns 401 (Auth):
curl -s "$RYSTIC_URL/v0/meta/whoami" -H 'Authorization: Bearer pat.placeholder' | jq -c .
# -> {"email":"maya.okafor@northwind.example","id":"usrLnch0000000001"}
curl -s -o /dev/null -w '%{http_code}\n' "$RYSTIC_URL/v0/meta/whoami" -H 'Authorization: Basic cnlzdGlj'
# -> 401
curl -s "$RYSTIC_URL/v0/meta/whoami" | jq -c .error
# -> {"message":"Authentication required","type":"AUTHENTICATION_REQUIRED"}
A token bound to the data.records:read scope alone reads records but cannot create one (Auth):
curl -s -X POST "$RYSTIC_URL/_rystic/credentials" -d '{"bindings": {"pat-read-only": {"actor": "member", "grants": ["data.records:read"]}}, "keep": true}'
curl -s "$RYSTIC_URL/v0/appLnch0000000001/tblLnch0000000001?pageSize=1" -H 'Authorization: Bearer pat-read-only' -o /dev/null -w '%{http_code}\n'
# -> 200
curl -s -X POST "$RYSTIC_URL/v0/appLnch0000000001/tblLnch0000000001" -H 'Authorization: Bearer pat-read-only' -H 'Content-Type: application/json' -d '{"fields": {"Name": "Draft"}}' | jq -c '.error.type'
# -> "INVALID_PERMISSIONS_OR_MODEL_NOT_FOUND"
airtable.js also reads the base URL from AIRTABLE_ENDPOINT_URL. airtable-mcp-server takes no base URL and calls api.airtable.com. To point it at the simulator, boot with rystic run airtable-twin -d --port 0 --scenario airtable_launch_tracker --intercept and start the server under rystic exec -- <command> (Intercept vendor calls). The live feed shows whether the client’s requests arrive.
Each client’s quickstart was run against this simulator in each way it connects, with the vendor’s own hosts blocked.
| Client | Version | Kind | Works with | Fails with | Checked | Known gap |
|---|---|---|---|---|---|---|
airtable (npm) | v0.12.2 | sdk | base URL, default host | — | 2026-11-30 | — |
airtable-mcp-server (npm) | v1.14.0 | mcp-server | default host | — | 2026-11-30 | — |
pyairtable (PyPI) | v3.5.1 | sdk | default host | base URL | 2026-11-30 | pyAirtable’s upload_attachment ignores the base URL and sends uploads to content.airtable.com, so uploads reach the simulator only when it serves Airtable’s own hosts. Workaround: Run uploads under rystic exec, which sends content.airtable.com to the simulator. |
Auth
The simulator takes an Airtable personal access token or OAuth access token as Authorization: Bearer <token>. Any non-empty placeholder works and acts as the scenario’s member user, which GET /v0/meta/whoami returns. A token the simulator issued to an OAuth integration acts as the user who approved it.
A token the scenario binds with grants holds only those scopes (Connect your client shows one). Any other token holds every scope. Without the scope an operation needs, the simulator returns 403 INVALID_PERMISSIONS_OR_MODEL_NOT_FOUND, as Airtable does:
| Scope | Operations that need it |
|---|---|
data.records:write | Creating, updating, replacing and deleting records |
data.recordComments:read | Listing a record’s comments |
data.recordComments:write | Creating, editing and deleting comments |
schema.bases:read | Reading a base’s tables |
schema.bases:write | Creating a base, table or field, and updating a table or field |
Differs from Airtable: record reads, attachment uploads, webhooks and the base, view, extension and workspace reads do not check scopes, and a token’s value is checked only when the simulator issued it.
OAuth integrations
An OAuth integration gets tokens from the simulator as it does from Airtable, under airtable.com/oauth2/v1/; when the simulator serves Airtable’s own hosts, only that path of airtable.com reaches it. Seed the integration in state_oauth_integration (Seeding state). OAuth integrations shows consent, the code exchange under PKCE, refresh token rotation and token expiry.
Differs from Airtable: a Basic value whose length is not a multiple of 4 gets the message for a character outside base64.
| The request | The simulator returns |
|---|---|
has no Authorization header | 401 AUTHENTICATION_REQUIRED |
has Authorization: Bearer with no token | 401 AUTHENTICATION_REQUIRED |
uses another scheme, such as Basic | 401 AUTHENTICATION_REQUIRED |
A base’s permissionLevel is not enforced, a known issue in Limitations.
API version
The simulator serves Airtable’s Web API under /v0/, the only version Airtable publishes. No header pins a version, and a path under another version, such as /v1/meta/whoami, returns 404 {"error":"NOT_FOUND"}.
Errors and limits
Error format
A refused request returns Airtable’s error object: error.type names the error and error.message explains it. A field name the table doesn’t have, for example, returns 422 with type UNKNOWN_FIELD_NAME and message Unknown field name: "Owner". Some errors leave out message, such as RATE_LIMIT_REACHED. A malformed record id returns 404 with error set to the string NOT_FOUND.
Rate limits
The simulator counts requests against Airtable’s limits, 5 a second per base and 50 a second per token, but refuses none unless you turn the limits on.
Differs from Airtable: with the limits off, the default, a request past them still succeeds.
rate_limits: real turns the limits on: at boot with rystic run --rate-limits real or RYSTIC_RATE_LIMITS=real, or mid-run with curl -s -X POST "$RYSTIC_URL/_rystic/network" -d '{"rate_limits": "real"}'. With the limits on, the sixth request to one base within a second returns 429 with error.type RATE_LIMIT_REACHED and no Retry-After header. A reset keeps the setting.
Differs from Airtable: requests succeed again in the next second, where Airtable refuses them for 30 seconds.
Pagination
Record lists page as Airtable’s do: a response with more records returns offset, which you send back as the offset query parameter. On GET, pageSize is at most 100, the default, and maxRecords caps the records across every page. POST /v0/{baseId}/{tableIdOrName}/listRecords takes the same parameters in its body, and a record’s comments page with pageSize and offset too.
| The request | The simulator returns |
|---|---|
pageSize above 100, on GET /v0/{baseId}/{tableIdOrName} | 422 INVALID_PAGE_SIZE_ARGUMENT |
an offset the list didn’t return | 422 LIST_RECORDS_ITERATOR_NOT_AVAILABLE |
A webhook’s payloads page by cursor instead (Webhooks and the change feed).
Idempotency
Not applicable: Airtable’s API reads no idempotency key, so a record create sent twice creates two records.
Coverage
On 2026-11-28, the simulator matched Airtable on 318 of the 324 tests that compare the two (98.1%), and 1 of them gave no verdict.
36 routes, counted from the simulator’s route table.
Show all operations
| Resource | Operations |
|---|---|
| Base (6) | GET, POST /v0/meta/bases; GET /v0/meta/bases/{baseId}; GET /v0/{baseId}/{tableIdOrName}; POST /v0/{baseId}/{tableIdOrName}/listRecords; GET /v0/{baseId}/{tableIdOrName}/{recordId} |
| Block installation (1) | GET /v0/meta/bases/{baseId}/blockInstallations |
| Field (2) | POST /v0/meta/bases/{baseId}/tables/{tableId}/fields; PATCH /v0/meta/bases/{baseId}/tables/{tableId}/fields/{columnId} |
| Record (8) | POST /v0/{baseId}/{recordId}/{attachmentFieldIdOrName}/uploadAttachment; POST, PUT, PATCH, DELETE /v0/{baseId}/{tableIdOrName}; PUT, PATCH, DELETE /v0/{baseId}/{tableIdOrName}/{recordId} |
| Record comment (4) | GET, POST /v0/{baseId}/{tableIdOrName}/{recordId}/comments; PATCH, DELETE /v0/{baseId}/{tableIdOrName}/{recordId}/comments/{rowCommentId} |
| Table (3) | GET, POST /v0/meta/bases/{baseId}/tables; PATCH /v0/meta/bases/{baseId}/tables/{tableIdOrName} |
| User (1) | GET /v0/meta/whoami |
| View (2) | GET /v0/meta/bases/{baseId}/views; GET /v0/meta/bases/{baseId}/views/{viewId} |
| Webhook (6) | GET, POST /v0/bases/{baseId}/webhooks; DELETE /v0/bases/{baseId}/webhooks/{webhookId}; POST /v0/bases/{baseId}/webhooks/{webhookId}/enableNotifications; GET /v0/bases/{baseId}/webhooks/{webhookId}/payloads; POST /v0/bases/{baseId}/webhooks/{webhookId}/refresh |
| Workspace (1) | GET /v0/meta/workspaces/{workspaceId} |
Also served, outside the model: GET /oauth2/v1/authorize, POST /oauth2/v1/token.
Feed effects. Each operation below can put an effect event on the event feed (/_rystic/events) for each event type beside it, when what the call does produces that event. Any other call puts only its request event there.
| Operation | Event types |
|---|---|
POST /v0/{baseId}/{tableIdOrName} | webhook.payload.createdRecord |
PUT /v0/{baseId}/{tableIdOrName} | webhook.payload.changedRecord |
PATCH /v0/{baseId}/{tableIdOrName} | webhook.payload.changedRecord |
DELETE /v0/{baseId}/{tableIdOrName} | webhook.payload.destroyedRecord |
PUT /v0/{baseId}/{tableIdOrName}/{recordId} | webhook.payload.changedRecord |
PATCH /v0/{baseId}/{tableIdOrName}/{recordId} | webhook.payload.changedRecord |
DELETE /v0/{baseId}/{tableIdOrName}/{recordId} | webhook.payload.destroyedRecord |
Scenarios
The simulator ships 5 scenarios; the quickstart boots airtable_launch_tracker.
| Scenario | What it is for | What it seeds | Clock |
|---|---|---|---|
airtable_blank_schema | A configured but empty vendor intake base holding one table, five fields and two views with no records yet, so the first record written is the only row any listing returns. | base 1, field 5, table 1, user 1, view 2, workspace 1 | 2026-03-02T00:00:00Z |
airtable_comment_thread | An editorial calendar base whose two article records carry five comments between them, including a mention, two threaded replies of which one was edited and a comment with two reactions. | base 1, comment 5, field 4, record 2, table 1, user 3, view 1, workspace 1 | 2026-03-02T00:00:00Z |
airtable_launch_tracker (default) | A lived-in launch tracker base with two linked tables, eleven fields, four views, eight records, two comments and one webhook, so schema, record, comment and webhook reads all return populated pages. | base 1, comment 2, field 11, record 8, table 2, user 3, view 4, webhook 1, workspace 1 | 2026-03-02T00:00:00Z |
airtable_permission_ladder | Two workspaces holding four bases at read, comment, edit and create permission levels, each base with one table, two fields, one view and one record, so a base listing shows every access tier side by side. | base 4, field 8, record 4, table 4, user 2, view 4, workspace 2 | 2026-03-02T00:00:00Z |
airtable_webhook_desk | An order events base with one table of three records watched by four webhooks standing in different states | base 1, field 4, record 3, table 1, user 2, view 1, webhook 4, workspace 1 | 2026-03-02T00:00:00Z |
What each scenario holds:
airtable_webhook_desk: One delivering, one failing with a retry pending, one with notifications turned off and one lapsed past its expiration.
Boot one by name, or load one into a running simulator:
rystic run airtable-twin -d --port 0 --scenario airtable_launch_tracker
curl -s -X POST "$RYSTIC_URL/_rystic/scenario" -d '{"name":"airtable_launch_tracker"}'
Seeding state
A seed takes these registers. Each record’s key joins its base, table and own ids with /, as the table shows:
| Register | Holds | Key |
|---|---|---|
state_workspace | workspaces, each listing its baseIds | <workspaceId> |
state_base | bases, each naming its workspaceId and permissionLevel | <baseId> |
state_table | tables, each listing its fieldIds and viewIds | <baseId>/<tableId> |
state_field | fields | <baseId>/<tableId>/<fieldId> |
state_view | views | <baseId>/<viewId> |
state_record | records, their fields keyed by field name | <baseId>/<tableId>/<recordId> |
state_comment | record comments | <baseId>/<recordId>/<commentId> |
state_webhook | webhooks | <baseId>/<webhookId> |
state_user | users | <userId> |
state_oauth_integration | OAuth integrations: client_id, client_secret, redirect_uris and consent_actor, the id of the user who approves consent | <id> |
state_oauth_token | issued OAuth tokens, to start a test with a live one | <id> |
This example adds a task to the launch tracker with POST /_rystic/seed and reads it back through the API:
curl -s -o /dev/null -w '%{http_code}\n' -X POST "$RYSTIC_URL/_rystic/seed" -d '{"state_record": {"appLnch0000000001/tblLnch0000000001/recSeed0000000001": {"id": "recSeed0000000001", "baseId": "appLnch0000000001", "tableId": "tblLnch0000000001", "createdTime": "2026-02-01T09:00:00.000Z", "fields": {"Name": "Seeded task", "Status": "Todo"}}}}'
# -> 204
curl -s "$RYSTIC_URL/v0/appLnch0000000001/Tasks/recSeed0000000001" -H 'Authorization: Bearer pat.placeholder' | jq -c '{id, createdTime, fields}'
# -> {"id":"recSeed0000000001","createdTime":"2026-02-01T09:00:00.000Z","fields":{"Name":"Seeded task","Status":"Todo"}}
Seeding covers the seed route’s empty 204, the 400s it returns for what it refuses, boot files and how a seed merges with a scenario.
Webhooks
A webhook keeps the payloads of the record writes it watches, numbered for you to read by cursor with GET /v0/bases/{baseId}/webhooks/{webhookId}/payloads.
Differs from Airtable: the simulator delivers no webhooks.
Nothing reaches a webhook’s notificationUrl, so poll the payloads instead.
Webhooks and the change feed shows which writes append a payload, the filters a webhook takes and how its expiration moves.
Features
Each feature has its own page:
- Webhooks and the change feed: A webhook is a change feed on one base: record writes append numbered payloads, read back by cursor, and a refresh sets its expiration a week out.
- OAuth integrations: OAuth sign-in for a seeded integration: the authorization code grant with PKCE, refresh token rotation, 60-minute access tokens on the simulator clock and refresh replay for about five minutes.
Determinism and reset
Each resource’s ids come from its own sequence: the first record you create is rec00000000000001, the first field fld00000000000001 and the first comment com00000000000001.
The clock starts at the scenario’s 2026-03-02T00:00:00Z and moves only when you move it.
POST /_rystic/reset clears every workspace, base and user and restarts the id sequences, so load a scenario again before the next test (Reset and determinism).
Limitations
Known issues.
- A field added to one table can get the same field id as a field in another table, so a write to it changes the other field.
- Responses carry no
Access-Control-Allow-Originheader andOPTIONSpreflights return 404, so a browser client calling the simulator cross-origin fails. - Started with no scenario, the simulator has no workspace, so
POST /v0/meta/basesreturns 403, andGET /v0/meta/whoamireturns a placeholder user. - A link field gets no inverse field on the linked table, and deleting a linked record leaves its id in the link cells.
- A table name used exactly as another table’s is accepted, and so is a field name already used in the table, in any letter case and also when a field is renamed. Select choices sent when creating a base or adding a table come back without their
id. A choice sent without acolorgets none when creating a base and a varying one when adding a table, where Airtable givesgrayLight2. - Updating or deleting an unknown record returns 403 where Airtable returns 422
ROW_DOES_NOT_EXISTor 404, and an emptyrecordslist is accepted where Airtable returns 422. - With
cellFormat=string, an attachment field reads as file names alone on a single-record read and as URLs alone when listing records withGET, where Airtable returnsname (url)for each attachment. - Updating a record with
PATCHorPUT, one at a time or in a batch, keeps a field name or field id the table does not have. Airtable returns 422UNKNOWN_FIELD_NAME. An upsert that creates a record keeps it too. - The simulator lists a base’s
permissionLevelbut does not enforce it, so a record write to a base atreadlevel succeeds where Airtable refuses it. - Creating or updating a record returns without its formula fields’ values, which only later reads carry.
- Refreshing a webhook that does not exist returns 403
INVALID_PERMISSIONS_OR_MODEL_NOT_FOUNDon the simulator, where Airtable returns 404NOT_FOUND. - pyAirtable’s
upload_attachmentignores the base URL and sends uploads tocontent.airtable.com, so uploads reach the simulator only when it serves Airtable’s own hosts. Workaround: Run uploads underrystic exec, which sendscontent.airtable.comto the simulator.
Beyond the known issues, 76 of the 110 operations in the published spec are not served, 40 documented responses have no test yet and 171 behaviors are not modeled. The details follow.
Show all limitations
Not served. 76 of the 110 operations in the published spec are not served. Calling one of these routes returns 501, unless a served route takes its path.
- block, 1 of 3 served:
PATCH /v0/meta/bases/{baseId}/blockInstallations/{blockInstallationId},DELETE /v0/meta/bases/{baseId}/blockInstallations/{blockInstallationId} - collaborators, 1 of 16 served:
POST /v0/meta/bases/{baseId}/collaborators,PATCH /v0/meta/bases/{baseId}/collaborators/{userOrGroupId},DELETE /v0/meta/bases/{baseId}/collaborators/{userOrGroupId},GET /v0/meta/bases/{baseId}/interfaces/{pageBundleId},POST /v0/meta/bases/{baseId}/interfaces/{pageBundleId}/collaborators,PATCH /v0/meta/bases/{baseId}/interfaces/{pageBundleId}/collaborators/{userOrGroupId},DELETE /v0/meta/bases/{baseId}/interfaces/{pageBundleId}/collaborators/{userOrGroupId},POST /v0/meta/bases/{baseId}/interfaces/{pageBundleId}/portalCollaborators, … and 7 more - doNotRender, 2 of 3 served:
POST /v0/meta/revoke - record, 9 of 11 served:
POST /v0/{baseId}/{tableIdOrName}/sync/{apiEndpointSyncId},PATCH /v0/{baseId}/{tableIdOrName}/{recordId}/dateDependencyMetadata - view, 2 of 3 served:
DELETE /v0/meta/bases/{baseId}/views/{viewId} - Not served at all: auditing (3), auditLogs (1), changeEvents (4), enterprise (8), hyperDB (3), invites (3), scim (12), shares (3), user (10), userManagement (2), workspace (6)
Not tested. 393 tests compare the simulator with the real service. 40 documented responses have no test yet, and 35 of them need a credential our test account doesn’t hold (401 ×8, 403 ×27). The other 5:
| Operation | Status | Why |
|---|---|---|
GET /v0/meta/bases | 429 | no request a client sends provokes it |
PATCH /v0/{baseId}/{tableIdOrName}/{recordId} | 429 | no request a client sends provokes it |
POST /v0/bases/{baseId}/webhooks | 429 | no request a client sends provokes it |
POST /v0/meta/bases | 429 | no request a client sends provokes it |
POST /v0/meta/bases/{baseId}/tables | 429 | no request a client sends provokes it |
Not modeled. Behavior the simulator does not model, by operation:
- Whether deleting a parent comment deletes or orphans its threaded replies. (
DELETE /v0/{baseId}/{tableIdOrName}/{recordId}/comments/{rowCommentId}) - Payloads for field, view and table changes, for a performUpsert call that creates records, and the specification’s watchDataInFieldIds, watchSchemasOfFieldIds, sourceOptions and includes. (
GET /v0/bases/{baseId}/webhooks/{webhookId}/payloads) - 413 payload too large, 500, 502 and 503 RETRIABLE_ERROR are documented service-wide and not modeled here. (
PATCH /v0/{baseId}/{tableIdOrName}) - The 503 RETRIABLE_ERROR and 500/502 classes the errors page documents are not modeled. (
PATCH /v0/{baseId}/{tableIdOrName}/{recordId}) - Whether a comment’s reactions, attachments or parentCommentId can be changed through this route, and whether the text has a documented maximum length. (
PATCH /v0/{baseId}/{tableIdOrName}/{recordId}/comments/{rowCommentId}) - Plan-dependent limits (free/plus bases are limited to the ‘check’/‘greenBright’ checkbox and ‘star’/‘yellowBright’ rating configurations) and the refusal they draw. (
POST /v0/meta/bases) - File is decoded leniently (“not base64!” stored 6 bytes); the exact lenient decoding rule is not modeled. (
POST /v0/{baseId}/{recordId}/{attachmentFieldIdOrName}/uploadAttachment) - … and 164 more
Release notes: Changelog