Returns the schema of the tables in the specified base.
Bases
Get base schema
get
https://api.airtable.com/v0/meta/bases/{baseId}/tables
Authentication | Personal access token, OAuth integration |
Scope | schema.bases:read |
User role | Base read-only |
Billing plans | All plans |
optional< array of "visibleFieldIds" > If specified, additional fields to include in the |
array of |
Request (example)
Copy
$curl "https://api.airtable.com/v0/meta/bases/{baseId}/tables" \-H "Authorization: Bearer YOUR_TOKEN"
200 – Response (example)
{"tables": [{"description": "Apartments to track.","fields": [{"description": "Name of the apartment","id": "fld1VnoyuotSTyxW1","name": "Name","type": "singleLineText"},{"id": "fldoaIqdn5szURHpw","name": "Pictures","options": {"isReversed": false},"type": "multipleAttachments"},{"id": "fldumZe00w09RYTW6","name": "District","options": {"inverseLinkFieldId": "fldWnCJlo2z6ttT8Y","isReversed": false,"linkedTableId": "tblK6MZHez0ZvBChZ","prefersSingleRecordLink": true},"type": "multipleRecordLinks"}],"id": "tbltp8DGLhqbUmjK1","name": "Apartments","primaryFieldId": "fld1VnoyuotSTyxW1","views": [{"id": "viwQpsuEDqHFqegkp","name": "Grid view","type": "grid"}]},{"fields": [{"id": "fldEVzvQOoULO38yl","name": "Name","type": "singleLineText"},{"description": "Apartments that belong to this district","id": "fldWnCJlo2z6ttT8Y","name": "Apartments","options": {"inverseLinkFieldId": "fldumZe00w09RYTW6","isReversed": false,"linkedTableId": "tbltp8DGLhqbUmjK1","prefersSingleRecordLink": false},"type": "multipleRecordLinks"}],"id": "tblK6MZHez0ZvBChZ","name": "Districts","primaryFieldId": "fldEVzvQOoULO38yl","views": [{"id": "viwi3KXvrKug2mIBS","name": "Grid view","type": "grid"}]}]}