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

# roark dashboard widget-data get

> Get widget data

Runs one widget and returns its series, as it reads on its dashboard (the dashboard's window and filters). Accepts the same `from` / `to` / `timezone` overrides as GET /v1/dashboard/\{dashboardId}/data.

```bash Synopsis theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark dashboard widget-data get <dashboard-id> <widget-id> [options]
```

> [!NOTE]
>
> Calls `GET /v1/dashboard/{dashboardId}/widget/{widgetId}/data`

## Arguments

**dashboard-id** `string` *required*

The dashboard-id.

**widget-id** `string` *required*

The widget-id.

## Options

**--from** `string`

ISO 8601 start. Overrides the saved window; without `to`, runs until now.

**--to** `string`

ISO 8601 end. Requires `from`.

**--timezone** `string`

IANA zone buckets and calendar periods align to. Default UTC.

## Example

```bash theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark dashboard widget-data get <dashboard-id> <widget-id>
```

Every command also takes the [global options](/cli-reference/overview.md#global-options) and sets one
of the [exit codes](/cli-reference/overview.md#exit-codes).


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