Skip to main content
POST
List or read grids

Headers

x-project-id
string<uuid>
required

Project ID for tenant scoping

X-Workspace-Id
string<uuid> | null

Overrides the key's workspace

X-API-Key
string | null

User API key

Body

application/json
view
enum<string>
required

Grid listing: 'list' (inventory), 'detail' (config), 'status' (processing), or 'column_options' (the live, project-specific catalog of addable column types and usable workflow columns — call it to get the valid column types rather than guessing them).

Available options:
list,
detail,
status,
column_options
grid_id
string<uuid> | null

Grid id. Required for view='detail' and view='status'. Optional for view='list' and view='column_options'

workflow_ids
string<uuid>[] | null

Optional workflow filter for the list view

page
integer
default:1
Required range: x >= 1
page_size
integer
default:50
Required range: 1 <= x <= 100
sort_by
enum<string>
default:created_at

Sort the list view by created_at, updated_at, or status_count. Use status_count to rank grids by how many rows are in the sort_status state — e.g. sort_by=status_count + sort_status=failed + sort_order=desc surfaces the grids with the most failed rows first, so 'which grids failed' is answered from the top of one page instead of scanning every grid.

Available options:
created_at,
updated_at,
status_count
sort_order
enum<string>
default:desc

Sort direction for sort_by; asc or desc.

Available options:
asc,
desc
sort_status
enum<string>
default:awaiting_interaction

Row status counted when sort_by=status_count (e.g. failed, completed, awaiting_interaction). Pairs with sort_by=status_count to rank grids by that status.

Available options:
pending,
running,
completed,
failed,
cancelled,
awaiting_interaction
search
string | null

Free-text filter on grid name for the list view.

created_by
string[] | null

Filter by creator user id(s)

last_run_after
string<date-time> | null

Only grids with a run at/after this time

last_run_before
string<date-time> | null

Only grids with a run at/before this time

Response

Successful Response