Tool ID:
clarify_get_workspace_listsRun this action
Use the TypeScript SDK for one call. Usectx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.
import { Deepline } from 'deepline';
const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
'clarify_get_workspace_lists',
{
"workspace": "example"
},
);
console.log(result.toolResponse.raw);
CLI
deepline run clarify_get_workspace_lists --input '{
"workspace": "example"
}'
Example response
The SDK returns this shape atresult.toolResponse.raw. The example values illustrate the response.
{
"data": {
"links": {
"next": "example",
"prev": "example"
},
"meta": {
"total_records": 123,
"total_pages": 123
},
"data": [
{
"type": "list",
"id": "id_123",
"attributes": {
"_id": "_123",
"user_id": "user_123",
"entity": "example",
"title": "VP of Engineering",
"emoji": "example",
"description": "Example description",
"type": "dynamic",
"state": "draft",
"layout": "table",
"owner_id": "owner_123",
"rank": 123,
"list_evaluation_status": "idle",
"list_evaluation_started_at": "2026-01-15T12:00:00Z",
"last_list_evaluation_at": "2026-01-15T12:00:00Z",
"_updated_at": "2026-01-15T12:00:00Z",
"_updated_by": "2026-01-15T12:00:00Z",
"_created_at": "2026-01-15T12:00:00Z",
"_created_by": "example"
}
}
]
}
}
deepline describe clarify_get_workspace_lists --json for the latest machine-readable contract.
Input reference
Returns every list across all object types in the workspace as a paginated JSON:API collection. Filter by object type withfilter[entity]. Dynamic lists are excluded unless you pass a matching filter.
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
payload.workspace | string | Yes | — | The workspace slug — the {slug} segment of your Clarify workspace URL. |
payload.page | object | No | {"offset":0,"limit":500} | Offset pagination, e.g. page[offset]=0&page[limit]=100. |
payload.sortOrder | object | No | — | Sort order, e.g. sortOrder[column]=_created_at&sortOrder[dir]=DESC. |
payload.filter | object | No | — | Nested filter object, e.g. filter[entity]=deal&filter[type]=static. When omitted, dynamic lists are excluded. |
payload.search | string | No | — | Case-insensitive substring match against the list title. Minimum length: 1. |
Output reference
Standard tool result payload.| Name | Type | Required | Default | Details |
|---|---|---|---|---|
result.data | object | Yes | — | Provider response payload. |
result.data.links | object | Yes | — | Pagination links. |
result.data.links.next | string | null | Yes | — | URL of the next page, or null on the last page. |
result.data.links.prev | string | null | Yes | — | URL of the previous page, or null on the first page. |
result.data.meta | object | Yes | — | Pagination metadata. |
result.data.meta.total_records | number | Yes | — | Total number of records across all pages. |
result.data.meta.total_pages | number | Yes | — | Total number of pages at the current page size. |
result.data.data | array | Yes | — | The page of resources. |
result.data.data[].type | "list" | Yes | — | The resource type. matches the object path parameter. Allowed: list. |
result.data.data[].id | string | Yes | — | The unique ID of the resource. |
result.data.data[].attributes | object | Yes | — | Field values keyed by field name. available fields depend on the object’s schema. |
result.data.data[].attributes._id | string | Yes | — | The unique ID of the list. |
result.data.data[].attributes.user_id | string | Yes | — | The ID of the user who created the list. |
result.data.data[].attributes.entity | string | Yes | — | The object type whose records the list holds, e.g. deal. |
result.data.data[].attributes.title | string | Yes | — | The display name of the list. |
result.data.data[].attributes.emoji | string | null | Yes | — | The emoji shown next to the list, or null if unset. |
result.data.data[].attributes.description | string | Yes | — | A short description of the list. |
result.data.data[].attributes.type | "dynamic" | "static" | "default" | Yes | — | The list type: dynamic (membership derives from a SQL query), static (an explicit set of records), or default (the object’s built-in list). Allowed: dynamic, static, default. |
result.data.data[].attributes.state | "draft" | "published" | Yes | — | Whether the list is a draft or published. Allowed: draft, published. |
result.data.data[].attributes.layout | "table" | "board" | Yes | — | How the list is rendered in the app: table or board. Allowed: table, board. |
result.data.data[].attributes.options | object | No | {} | View-level display options such as column widths and layout. |
result.data.data[].attributes.options.segmentedByInBoard | string | No | — | For board layout, the field path whose values group records into columns. |
result.data.data[].attributes.options.showFieldNamesInBoard | boolean | No | — | Whether field names are shown on cards in board layout. |
result.data.data[].attributes.options.columnWidths | record | No | — | Table column pixel widths, keyed by field path. Absent keys use the default width. |
result.data.data[].attributes.options.columnMetrics | record | No | — | The aggregation metric shown in the table footer for each column, keyed by field path (e.g. sum, count). |
result.data.data[].attributes.options.hiddenBoardColumns | record | No | — | Board columns hidden from view, keyed by segment field path. Each value lists the hidden enum values for that field (null is the “Unassigned” column). |
result.data.data[].attributes.options.hiddenPrimaryCell | boolean | No | — | Whether the primary (first) cell is hidden on cards in board layout. |
result.data.data[].attributes.query | object | null | No | null | For dynamic lists, the SQL query that defines membership. null for static and default lists. |
result.data.data[].attributes.query.sql | string | Yes | — | The SQL query that defines the list membership and ordering. |
result.data.data[].attributes.query.nlq | string | No | — | The original natural-language query, if the SQL was generated from one. |
result.data.data[].attributes.query.version | number | No | — | The view query schema version, used for migrations. An omitted value is treated as version 0 (the oldest). |
result.data.data[].attributes.query.slow | boolean | No | — | Whether the query is slow to evaluate, so membership refreshes at most every 6 hours instead of on every change. Set by Clarify and cleared when the query changes. |
result.data.data[].attributes.owner_id | string | null | Yes | — | The ID of the user who owns the list, or null if unowned. |
result.data.data[].attributes.rank | number | Yes | — | The sort position of the list relative to its siblings. |
result.data.data[].attributes.applied_version_id | string | null | No | null | The ID of the currently applied list version, or null. |
result.data.data[].attributes.filter_fields | array | null | No | — | For dynamic lists, the object.field columns the query filters on, so a record change re-evaluates only lists it can affect. null when unknown. Set by Clarify whenever the query changes. |
result.data.data[].attributes.list_evaluation_status | "idle" | "evaluating" | "error" | Yes | — | Whether the dynamic list is idle, currently evaluating its query, or in an error state. Allowed: idle, evaluating, error. |
result.data.data[].attributes.list_evaluation_started_at | string | null | Yes | — | When the current evaluation started, or null if none is running. Format: date-time. |
result.data.data[].attributes.last_list_evaluation_at | string | null | Yes | — | When the list was last evaluated, or null if never. Format: date-time. |
result.data.data[].attributes._updated_at | string | Yes | — | When the list was last updated. Format: date-time. |
result.data.data[].attributes._updated_by | string | Yes | — | The ID of the user who last updated the list. |
result.data.data[].attributes._created_at | string | Yes | — | When the list was created. Format: date-time. |
result.data.data[].attributes._created_by | string | Yes | — | The ID of the user who created the list. |
result.data.data[].attributes.effective_access_level | "owner" | "edit" | "view" | "none" | No | — | The requesting user’s effective access to this list (owner, edit, view, or none). Allowed: owner, edit, view, none. |
result.data.data[].attributes.is_owner | boolean | No | — | Whether the requesting user is the list owner. Excludes workspace admins, unlike can_manage_access. |
result.data.data[].attributes.can_manage_access | boolean | No | — | Whether the requesting user may manage this list’s share grants (its owner or a workspace permission-admin today). |
result.data.data[].relationships | object | No | — | Related resources keyed by relationship name, present when requested via include. |
result.meta | object | No | — | Additional response metadata (status, paging). |
This output schema is too large for an inline display. Read the complete live contract with
deepline describe clarify_get_workspace_lists --json.Deepline cost
- Pricing model:
fixed(per call). - Estimated Deepline credits:
0per pricing unit. - Provider-native pricing may still exist outside Deepline credit billing.