---
title: "Descriptor data for a published dashboard"
method: POST
path: "/dashboards/url/{url}/data"
tags: ["Dashboard v3"]
---

# Descriptor data for a published dashboard

`POST /dashboards/url/{url}/data`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/dashboards/url/{url}/data`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Same shape as /{id}/data but for the token-authenticated published view.

## Path parameters

- `url` string, required

## Request body

- DescriptorDataSpec: Descriptor data-fetch parameters
  - `params` DescriptorDataParams, required
    - `descriptor_ids` string[], required: Persisted descriptor ids from the baked bundle
    - `filter_state` object: Interactive filter deltas keyed by field — every field must be a declared canvas filter (validated server-side)
    - `rls_preview_value` string, nullable: Creator-only 'Viewing as' preview: scope the whole dashboard to a single RLS column value. Honored only for editors.

## Response `201`

Document created, URL follows

- ObjectJobSchema
  - `status_code` integer, nullable
  - `job_id` integer, nullable: Created job id
  - `failure_reason` string, nullable: Failure reason if status is failure

## Other responses

- `202`: Successfully Submitted
- `400`: Bad request syntax or unsupported method
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/5dfd1c296ded?raw)
