Skip to main content
getBaseSchema returns the complete visible schema for a base. Use it to discover table, field, and view IDs or validate dynamic mappings.

Example

automations/read-airtable-schema.automation.ts

Inputs

Output

Returns { tables: AirtableTable[] }. Each table includes id, name, description?, primaryFieldId, fields, and views. A field includes id, name, type, description?, and provider-specific options?; a view includes id, name, and type. The connection needs schema.bases:read. Base-name matching is exact; use the ID returned by List bases when names may collide or change.