GraphQL base API
AirQL presents a GraphQL API for each Airtable base. The API has a type for each table in the base representing its rows. This type has GraphQL fields for each of the tables' fields. For example, the employee table described above would be represented as follows in the GraphQL schema:
A few notes:
Employees
type name is the UpperCamel representation of the table name._recordId
is a reserved field holds the Airtable record ID.The rest of the fields are the lowerCamel representation of corresponding Airtable field name.
For each table there's a corresponding query result type and GraphQL Query field, e.g.:
List output type is the pluralized UpperCamel representation of the table name.
employees
Query field is the pluralized lowerCamel representation of the table name.ListOptions
provides for filtering, paginating (using theoffset
returned by a previous query), and sorting results.
The Playground tab provides an interface for further exploring and testing the GraphQL API for a base:
Last updated