Objects in responses
A catalog of the JSON objects the API returns: groups, search and a link to each object's page.
On this page
On this page
Every successful REST API response has the same envelope: success and data. Inside data are the objects you work with in an integration: workspace, database, record, message, automation. This guide is an index. Each object has its own page with fields, variants and a preview of related types.
Response envelope
{
"success": true,
"data": {
"workspace": { "id": "65a1f0c2b3d4e5f601234567", "name": "Studio North" }
}
}A list usually also has hasMore. An error has success: false and an error object, described in the Errors and limits guide.
How to read an object
The name (
Database,Message,Agent) is the object's public name in the documentation and examples.Fields correspond to JSON keys.
idis always a string, dates are ISO 8601, and nested objects (for examplecoverFile) have their own name and their own page.An optional field may be missing. A field with
| nullwill be present but may be empty.Variants mean that some fields depend on a glossary value, for example the resource type.
On an object's page, hover over an underlined type to see the related object without changing the address. From the preview you can keep hovering, deeper and deeper.
Most commonly used objects
| Object | When you get it |
|---|---|
Workspace | The list of your spaces, plan settings, limits. |
Database | The list of databases, reading one database, creating a database. |
DatabaseProperty | The list of database fields. The field ID is the key in cellValues. |
DatabaseItem | A record: creating, reading, listing, updating. |
DatabaseView | A table, kanban, calendar or other view. |
Document | A document with content and metadata. |
Message | A message in a channel, thread or on a record. |
Automation | An automation and its versions. |
Webhook | An outgoing webhook for events on a resource. |
WebhookListener | A listener another system sends requests to. |
Agent | An AI agent as a workspace member. |
File | A file, a variant and a download URL. |
Permission | Who was granted which permission. |
User | The profile of the person who performed an action. |
IDs and nesting
IDs are 24-character hexadecimal strings. An object often contains other objects in full, for example coverFile of type File, instead of just the ID. That way you don't need a second request to show a cover image or author.
Record values (cellValues) are a map: the key is the field ID, and the value depends on the field type. The shapes of values are described in the Field values guide.