Templates
3 operations, generated from the OpenAPI document.
The built-in templates of the gallery, without their records
GET /api/templates
Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).
Responses
200Successtemplatesarray of object requiredslugstring requirednamestring requireddescriptionstring requiredcategorystring requirediconstring | null requiredcolorstring | null requiredtablesarray of object requirednamestring requiredfieldsnumber requiredrecordsnumber required
automationsnumber required
401Not signed in429Too many requests: a rate limit was reached (see Retry-After)
A built-in template in the template format: its tables, fields, views and records
GET /api/templates/{slug}
Access: any signed-in user, for their own data; signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
slug | path | string | yes |
Responses
200Successformat"openrows.template" requiredversion1 requiredslugstring requirednamestring requireddescriptionstring requiredcategorystring requirediconstring | null requiredcolorstring | null requiredtablesarray of object requiredidstring (uuid) requirednamestring requireddescriptionstring | null requiredfieldsarray of object requiredidstring (uuid) requirednamestring requireddescriptionstring | null requiredtype"singleLineText" | "longText" | "number" | "currency" | "percent" | "checkbox" | "date" | "dateTime" | … requiredprimaryboolean requiredoptionsobject required
viewsarray of object requiredidstring (uuid) requirednamestring requiredtype"grid" | "gallery" | "kanban" | "calendar" | "timeline" | "list" | "form" requiredconfigobject required
recordsarray of object requiredidstring (uuid) requiredcellsobject required
automationsarray of object requirednamestring requireddescriptionstring requiredtriggerobject requiredactionsarray of object required
interfacesarray of object requirednamestring requiredpagesarray of object requirednamestring requiredconfigobject requiredlayout"recordList" | "recordReview" | "dashboard" | "form" | "kanban" | "calendar" | "timeline" requiredtableIdstring (uuid) requiredfilterobjectsortsarray of object requiredfieldsarray of string (uuid) requiredelementsarray of object requiredkanbanobjectcalendarobjecttimelineobjectformobject
401Not signed in429Too many requests: a rate limit was reached (see Retry-After)
Create a base from a built-in template (owners and creators)
POST /api/workspaces/{workspaceId}/templates
Access: base:create on the workspace (see ACTIONS for the minimum role); personal access tokens need schema.bases:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
workspaceId | path | string | yes |
Request body
slugstring requirednamestring
Responses
201Successidstring (uuid) requiredworkspaceIdstring (uuid) requirednamestring requireddescriptionstring | null requirediconstring | null requiredcolorstring | null requiredrole"owner" | "creator" | "editor" | "commenter" | "read_only" requiredcreatedAtstring (date-time) requiredupdatedAtstring (date-time) required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)