---
title: "Descriptor data — future-request"
method: POST
path: "/dashboards/{dashboard_id}/data"
tags: ["Dashboard v3"]
---

# Descriptor data — future-request

`POST /dashboards/{dashboard_id}/data`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/dashboards/{dashboard_id}/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`

Fetch data for N persisted descriptors in one call. Returns a job_id immediately; client polls /jobs/{id}. The future's response is a {results: {descriptor_id: {status, data|value|error}}, expected, completed} map that fills in as batches complete.

## Path parameters

- `dashboard_id` integer, 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/4b2c943a00dc?raw)
