younifyd
Menu

Get Dashboard

Retrieve a Dashboard

GET/dashboards/{id}

Use it in a workflow

  1. Add a step and choose the Directus connector.
  2. Pick the Get Dashboard action (under Dashboards).
  3. Fill in the fields below, then reference the result from later steps as {{getDashboard.response.data}}.

Request

Path parameters

idstringrequired

Unique identifier of the Dashboard.

Query parameters

fieldsarray<string>

Control what fields are being returned in the object.

metastring

What metadata to return in the response.

Response

Returns 200 with an object. Read it in later steps with {{getDashboard.response.data.<field>}}.

dataobject
idstring (uuid)

Primary key of the dashboard;

namestring

Name of the dashboard.

iconstring

Material icon for dashboard.

notestring

Descriptive text about the dashboard.

date_createdstring (date-time)

When the dashboard was created.

user_createdstring (relation)

User that created the dashboard. Many-to-one to users.

colorstring (hexcode)

Accent color for the dashboard.

panelsstring

Panels that are in this dashboard. One-to-may to panels.

json
{
  "data": {
    "id": "a79bd1b2-beb2-49fc-8a26-0b3eec0e2697",
    "name": "My dashboard",
    "icon": "space_dashboard",
    "note": "Test",
    "date_created": "2023-01-25T19:16:49.009Z",
    "user_created": "fd066644-c8e5-499d-947b-fe6c6e1a1473",
    "color": null,
    "panels": "22640672-eef0-4ee9-ab04-591f3afb2883"
  }
}

Need more? See the Directus guide for connection setup and behaviour shared by every action.

Get Dashboard — Directus — Documentation