Menu
Get Panels
List panels
GET
/panelsUse it in a workflow
- Add a step and choose the Directus connector.
- Pick the Get Panels action (under Panels).
- Fill in the fields below, then reference the result from later steps as
{{getPanels.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getPanels.response.data.<field>}}.
{
"data": [
{
"id": "22640672-eef0-4ee9-ab04-591f3afb288",
"dashboard": "a79bd1b2-beb2-49fc-8a26-0b3eec0e269",
"name": "30-day sales",
"icon": "paid",
"color": null,
"show_header": true,
"note": "Overview of the sales numbers in the last 30 day",
"type": "time-series",
"position_x": 1,
"position_y": 1,
"width": 1,
"height": 1
}
],
"meta": {
"total_count": 0,
"filter_count": 0
}
}
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?