linear.data.states.list ​
List Linear workflow states for a team.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-linear |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
limit | integer | No | — | — |
cursor | string | No | — | — |
team_id | string | Yes | — | — |
type | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
items | list | No | — | — |
next_cursor | string | No | — | — |
has_next_page | boolean | No | — | — |
error | string | No | — | Error-as-field envelope populated when query() raises. |
error_type | string | No | — | Error-as-field envelope populated when query() raises. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
done | Yes | Yes | Yes | — | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "linear.data.states.list",
"initial_data": {
"team_id": "value"
}
}