> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Clarify: Get List

> Get a list. Clarify Get List reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

Get a list.

> [!NOTE]
>
> Tool ID: `clarify_get_list`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'clarify_get_list',
  {
    "workspace": "example",
    "object": "example",
    "list": "example"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run clarify_get_list --input '{
  "workspace": "example",
  "object": "example",
  "list": "example"
}'
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "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"
      }
    }
  }
}
```

Use `deepline describe clarify_get_list --json` for the latest machine-readable contract.

## Input reference

Returns a single list by ID as a JSON:API resource.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.workspace` | `string` | Yes | — | The workspace slug — the `&#123;slug&#125;` segment of your Clarify workspace URL. |
| `payload.object` | `string` | Yes | — | The object type: a built-in entity (`person`, `company`, `deal`, …) or a custom object (`c_*`). |
| `payload.list` | `string` | Yes | — | The unique ID of the list. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Returns a single list by ID as a JSON:API resource.",
    "properties": {
      "workspace": {
        "type": "string",
        "description": "The workspace slug — the `{slug}` segment of your Clarify workspace URL."
      },
      "object": {
        "type": "string",
        "description": "The object type: a built-in entity (`person`, `company`, `deal`, …) or a custom object (`c_*`)."
      },
      "list": {
        "type": "string",
        "description": "The unique ID of the list."
      }
    },
    "required": [
      "workspace",
      "object",
      "list"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.data` | `object` | Yes | — | The resource. |
| `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 | `&#123;&#125;` | 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). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "data": {
            "type": "object",
            "description": "The resource.",
            "properties": {
              "type": {
                "type": "string",
                "description": "The resource type; matches the `object` path parameter.",
                "enum": [
                  "list"
                ]
              },
              "id": {
                "type": "string",
                "description": "The unique ID of the resource."
              },
              "attributes": {
                "type": "object",
                "description": "Field values keyed by field name; available fields depend on the object’s schema.",
                "properties": {
                  "_id": {
                    "type": "string",
                    "description": "The unique ID of the list."
                  },
                  "user_id": {
                    "type": "string",
                    "description": "The ID of the user who created the list."
                  },
                  "entity": {
                    "type": "string",
                    "description": "The object type whose records the list holds, e.g. `deal`."
                  },
                  "title": {
                    "type": "string",
                    "description": "The display name of the list."
                  },
                  "emoji": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The emoji shown next to the list, or `null` if unset."
                  },
                  "description": {
                    "type": "string",
                    "description": "A short description of the list."
                  },
                  "type": {
                    "type": "string",
                    "description": "The list type: `dynamic` (membership derives from a SQL query), `static` (an explicit set of records), or `default` (the object’s built-in list).",
                    "enum": [
                      "dynamic",
                      "static",
                      "default"
                    ]
                  },
                  "state": {
                    "type": "string",
                    "description": "Whether the list is a `draft` or `published`.",
                    "enum": [
                      "draft",
                      "published"
                    ]
                  },
                  "layout": {
                    "type": "string",
                    "description": "How the list is rendered in the app: `table` or `board`.",
                    "enum": [
                      "table",
                      "board"
                    ]
                  },
                  "options": {
                    "type": "object",
                    "description": "View-level display options such as column widths and layout.",
                    "default": {},
                    "properties": {
                      "segmentedByInBoard": {
                        "type": "string",
                        "description": "For board layout, the field path whose values group records into columns."
                      },
                      "showFieldNamesInBoard": {
                        "type": "boolean",
                        "description": "Whether field names are shown on cards in board layout."
                      },
                      "columnWidths": {
                        "type": "object",
                        "description": "Table column pixel widths, keyed by field path. Absent keys use the default width.",
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "columnMetrics": {
                        "type": "object",
                        "description": "The aggregation metric shown in the table footer for each column, keyed by field path (e.g. `sum`, `count`).",
                        "additionalProperties": {
                          "type": "string"
                        }
                      },
                      "hiddenBoardColumns": {
                        "type": "object",
                        "description": "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).",
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      },
                      "hiddenPrimaryCell": {
                        "type": "boolean",
                        "description": "Whether the primary (first) cell is hidden on cards in board layout."
                      }
                    },
                    "additionalProperties": false
                  },
                  "query": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "description": "For dynamic lists, the SQL query that defines membership; `null` for static and default lists.",
                    "default": null,
                    "properties": {
                      "sql": {
                        "type": "string",
                        "description": "The SQL query that defines the list membership and ordering."
                      },
                      "nlq": {
                        "type": "string",
                        "description": "The original natural-language query, if the SQL was generated from one."
                      },
                      "version": {
                        "type": "number",
                        "description": "The view query schema version, used for migrations; an omitted value is treated as version 0 (the oldest)."
                      },
                      "slow": {
                        "type": "boolean",
                        "description": "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."
                      }
                    },
                    "required": [
                      "sql"
                    ],
                    "additionalProperties": false
                  },
                  "owner_id": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The ID of the user who owns the list, or `null` if unowned."
                  },
                  "rank": {
                    "type": "number",
                    "description": "The sort position of the list relative to its siblings."
                  },
                  "applied_version_id": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The ID of the currently applied list version, or `null`.",
                    "default": null
                  },
                  "filter_fields": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "description": "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.",
                    "items": {
                      "type": "string"
                    }
                  },
                  "list_evaluation_status": {
                    "type": "string",
                    "description": "Whether the dynamic list is `idle`, currently `evaluating` its query, or in an `error` state.",
                    "enum": [
                      "idle",
                      "evaluating",
                      "error"
                    ]
                  },
                  "list_evaluation_started_at": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "When the current evaluation started, or `null` if none is running.",
                    "format": "date-time"
                  },
                  "last_list_evaluation_at": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "When the list was last evaluated, or `null` if never.",
                    "format": "date-time"
                  },
                  "_updated_at": {
                    "type": "string",
                    "description": "When the list was last updated.",
                    "format": "date-time"
                  },
                  "_updated_by": {
                    "type": "string",
                    "description": "The ID of the user who last updated the list."
                  },
                  "_created_at": {
                    "type": "string",
                    "description": "When the list was created.",
                    "format": "date-time"
                  },
                  "_created_by": {
                    "type": "string",
                    "description": "The ID of the user who created the list."
                  },
                  "effective_access_level": {
                    "type": "string",
                    "description": "The requesting user's effective access to this list (`owner`, `edit`, `view`, or `none`).",
                    "enum": [
                      "owner",
                      "edit",
                      "view",
                      "none"
                    ]
                  },
                  "is_owner": {
                    "type": "boolean",
                    "description": "Whether the requesting user is the list owner. Excludes workspace admins, unlike `can_manage_access`."
                  },
                  "can_manage_access": {
                    "type": "boolean",
                    "description": "Whether the requesting user may manage this list's share grants (its owner or a workspace permission-admin today)."
                  }
                },
                "required": [
                  "_id",
                  "user_id",
                  "entity",
                  "title",
                  "emoji",
                  "description",
                  "type",
                  "state",
                  "layout",
                  "owner_id",
                  "rank",
                  "list_evaluation_status",
                  "list_evaluation_started_at",
                  "last_list_evaluation_at",
                  "_updated_at",
                  "_updated_by",
                  "_created_at",
                  "_created_by"
                ],
                "additionalProperties": false
              },
              "relationships": {
                "type": "object",
                "description": "Related resources keyed by relationship name, present when requested via `include`.",
                "properties": {},
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "id",
              "attributes"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.