Update a layout
Replaces the layout’s `tree` and returns the updated layout.
Authorization
apiKey API key authentication. Send your key in the Authorization header as: api-key <your-api-key>.
In: header
Path Parameters
The workspace slug — the {slug} segment of your Clarify workspace URL.
The unique ID of the layout.
Query Parameters
When true, suppresses in-app and Slack notifications for this mutation.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/workspaces/string/layouts/string" \ -H "Content-Type: application/json" \ -d '{ "data": { "type": "layout", "id": "list__person", "attributes": { "tree": { "version": 1, "children": [ { "id": "views", "type": "NavGroup", "props": { "name": "Views" }, "children": [ { "id": "all-people", "type": "NavLink", "props": { "entity": "person" } } ] } ] } } } }'{
"_id": "list__person",
"tree": {
"version": 1,
"children": [
{
"id": "views",
"type": "NavGroup",
"props": {
"name": "Views"
},
"children": [
{
"id": "all-people",
"type": "NavLink",
"props": {
"entity": "person"
}
}
]
}
]
},
"_created_by": "7d4e2f9a-1b3c-4d5e-8f6a-9c0b2d4e6f81",
"_updated_by": "7d4e2f9a-1b3c-4d5e-8f6a-9c0b2d4e6f81",
"_created_at": "2026-01-15T09:30:00.000Z",
"_updated_at": "2026-02-01T17:45:00.000Z"
}Reset a layout
Restores the layout to its default `tree` and returns the resulting layout.
Export a list’s rows as CSV
Streams the rows of a list as a `text/csv` file download. The first row is a header of field names. Pass a `sql` statement in the body to export a custom query instead of the list’s own rows.