---
title: "Get a Dataset run"
method: GET
path: "/{account}/datasets/{dataset}/runs/{run}"
---

# Get a Dataset run

`GET /{account}/datasets/{dataset}/runs/{run}`

## Request

- Base URL: `https://modeanalytics.com/api`
- URL: `https://modeanalytics.com/api/{account}/datasets/{dataset}/runs/{run}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/thoughtspot/apis/mode/docs/:account/datasets/:dataset/runs/:run/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a representation of a single `DatasetRun`

## Path parameters

- `account` string, required
- `dataset` string, required
- `run` string, required

## Response `200`

`DatasetRun` response

- ReportRun
  - `token` string, required
  - `state` 'pending' | 'enqueued' | 'cancelled' | 'failed' | 'succeeded' | 'completed' | 'running_notebook', required
  - `parameters` unknown
  - `created_at` string, required
  - `updated_at` string, required
  - `completed_at` string, required
  - `purge_started_at` string, required
  - `purge_completed_at` string, required
  - `python_state` 'none' | 'pending' | 'failed' | 'submitted' | 'succeeded'
  - `form_fields` unknown[]
    - unknown
  - `is_latest_report_run` string, required
  - `is_latest_successful_report_run` string, required
  - `report_has_failures_since_last_success` string, required
  - `pusher_channel_name` string
  - `_links` ReportRunLinks, required
    - `latest_successful_report_run_api_url` Link
      - `href` string, required
      - `templated` boolean
    - `self` Link, required
      - `href` string, required
      - `templated` boolean
    - `content` Link
      - `href` string, required
      - `templated` boolean
    - `preview` Link
      - `href` string, required
      - `templated` boolean
    - `account` Link, required
      - `href` string, required
      - `templated` boolean
    - `report_schedule` Link
      - `href` string, required
      - `templated` boolean
    - `executed_by` Link
      - `href` string, required
      - `templated` boolean
    - `share` Link
      - `href` string, required
      - `templated` boolean
    - `embed` Link
      - `href` string, required
      - `templated` boolean
    - `report` Link, required
      - `href` string, required
      - `templated` boolean
    - `clone` Link
      - `href` string, required
      - `templated` boolean
    - `query_runs` Link, required
      - `href` string, required
      - `templated` boolean
    - `python_cell_runs` Link
      - `href` string, required
      - `templated` boolean
    - `pdf_export` Link
      - `href` string, required
      - `templated` boolean
    - `web_edit_dataset` Link
      - `href` string, required
      - `templated` boolean
    - `web_clone` Link
      - `href` string, required
      - `templated` boolean
    - `web_external_url` Link
      - `href` string, required
      - `templated` boolean
  - `_embedded` unknown

## Other responses

- `401`: Unauthorized
- `404`: `DatasetRun` not found

## Changes

- **2023-01-26** `7e90a6f6606a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/thoughtspot/apis/mode/changes/:account/datasets/:dataset/runs/:run/get.md)

---

[API](https://skmtc.dev/thoughtspot/apis/mode.md) - [All operations](https://skmtc.dev/thoughtspot/apis/mode/llms.txt) - [OpenAPI document](https://skmtc.dev/thoughtspot/apis/mode/revisions/4c694c3fdeb1?raw)
