> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Airtable table records

> Observe the records of one Airtable table.

Use `@bijectionhq/app-rest` with a protected `data` label and the
[REST schema discovery and approval workflow](https://docs.bijection.com/integrations/native-rest.md#discover-and-approve-a-provider-schema).
Build a `declaredResourceEndpoint` and bind it to `receivers.resource` using
this selection for mode `airtable.table.records`.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
const selection = {
  provider: "airtable",
  resource: "airtable.table.records",
  origin: "https://api.airtable.com",
  path: "/v0/BASE_ID/TABLE_ID",
};
```

Use the immutable `app…` and `tbl…` IDs. Seal a bearer token or OAuth2
credential scoped to the base with `schema.bases:read` and `data.records:read`.
The app discovers the installed table in the base schema. Approve up to
32 exposed names, using `id`, `createdTime` or the discovered `fld…`
IDs. Field IDs survive renames and identify both the requested projection
and the published cell. The row key is always the record's `rec…` ID.

Airtable may omit empty values, including false checkboxes, so omitted cells
are absent from the published record. Variable-shape fields use JSON.
The provider response may include cells outside the reviewed projection.
Each metadata or records answer must fit 36 KiB. Record pages accept 1–100
rows and replay only the opaque `offset` on the installed table. A terminal
page starts a fresh sweep on the next poll. Concurrent edits can affect a
sweep. Missing rows remain published. The app pauses when an automatic
schema review detects a changed discovered field contract.

[Airtable base schema](https://airtable.com/developers/web/api/get-base-schema) ·
[Airtable list records](https://airtable.com/developers/web/api/list-records)

## Write records

Follow the [native write app guide](https://docs.bijection.com/integrations/native-rest.md#native-provider-writes). Bind `providerWriter("airtable.records.create-update-delete", { endpoint: "https://api.airtable.com", auth }, data)` and pass it as `receivers.writers["airtable.records.create-update-delete"]`. Use `scope: ["app…", "tbl…"]` with the exact base and table IDs and a token with `data.records:write` for that base. Send one `{ fields: { … } }` object. HTTP 200 retains the returned record ID. A delete requires the same ID and `deleted: true`.

The writer records its evidence under the app's `data` label. Commands take up to 24 KiB of JSON and carry no read cursor.

[Provider write API](https://airtable.com/developers/web/api/delete-record)

## Upsert by external ID

Use the existing scoped writer `receivers.writers[mode]` at the protected `data`
label with table write access. Submit mode `airtable.records.upsert` with
`{ action: "upsert", field, externalId, payload }` under an exact command
key. Use a unique text field for `field` and a JSON object of field values
for `payload`. The writer uses `performUpsert` with that one merge field.
A matching HTTP 200 returns the Airtable record ID in `record` and
`created` or `updated` in `detail`. The receiver uses `once`.
[Airtable update multiple records API](https://airtable.com/developers/web/api/update-multiple-records)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.