[Tenjin API Reference](https://api-docs.tenjin.com/llms.txt) › [Cloud Data Exporter API](https://api-docs.tenjin.com/cloud-data-exporter-api.md) › Get a run

- Cloud Data Exporter API OpenAPI spec: https://api-docs.tenjin.com/openapi/cloud-data-exporter-api.json

# Get a run

- **Method:** `GET`
- **Path:** `/v1/runs/{id}`
- **Operation ID:** `get_runs_id`
- **Tags:** Cloud Data Exporter Runs

Get one export run

## Effective servers

- `https://api.tenjin.com/cloud_data_exporter`

## Authentication

- **Bearer**: HTTP bearer (`JWT`)

  Generate an access token on the [Access Tokens](https://dashboard.tenjin.com/dashboard/access_tokens) page of the Tenjin dashboard and send it as `Authorization: Bearer <access token>`. [API access tokens](https://tenjin.com/docs/api-access-tokens/) explains them.

## Path parameters

- **`id` (required)**: `string`

  Run UUID

## Responses

### 200 Get one export run

**Content type:** `application/json`

schema: `CloudDataExporterRun`

- **`completed_at` (required)**: `string`, format: `date-time`

  When the run completed or failed (ISO8601)
- **`config_id` (required)**: `string`

  UUID of the CloudDataExporterConfig that triggered this run
- **`dagster_run_id` (required)**: `string`

  Identifier of the pipeline run that produced this window. Quote it to Tenjin support when asking about a specific delivery
- **`failure_reason` (required)**: `string`

  Reason a failed run failed, exposed only when fault is "customer" — e.g. "NoSuchBucket: The specified bucket does not exist". Null when the run did not fail, or when the failure was not the customer's
- **`fault` (required)**: `string`

  Whose fault a failed run was: "customer" (their bucket, its policy or its encryption, so theirs to fix) or "tenjin" (ours). A run that was cancelled is "tenjin". Null when the run did not fail or predates fault classification
- **`id` (required)**: `string`

  Run UUID
- **`kind` (required)**: `string`, possible values: `"events", "dated_tables", "entity_tables"`

  What the run delivered: "events" for the hourly events files, "dated_tables" or "entity_tables" for the report tables
- **`started_at` (required)**: `string`, format: `date-time`

  When the Dagster job started (ISO8601)
- **`status` (required)**: `string`

  Run status. One of: pending, processing, completed, failed
- **`tables` (required)**: `array of object`

  On a tables run, one entry for each table: its name and its outcome, one of delivered, unchanged, deferred, refused. A refused table also carries detail, the message your bucket returned. Null on an events run, and on a tables run that failed before it reached a table
- **`window_end` (required)**: `string`, format: `date-time`

  End of the export time window (ISO8601)
- **`window_start` (required)**: `string`, format: `date-time`

  Start of the export time window (ISO8601)

**Example:**

```json
{
  "id": "d94f1c22-8a35-4b7e-9f0c-1e2d3a4b5c6d",
  "config_id": "",
  "dagster_run_id": "7f3a2b10-5c4d-4e8f-9a1b-2c3d4e5f6a7b",
  "kind": "events",
  "window_start": "",
  "window_end": "",
  "status": "completed",
  "started_at": "",
  "completed_at": "",
  "fault": "",
  "failure_reason": "",
  "tables": [
    {}
  ]
}
```

### 401, 403, 404

- `401` The access token was revoked, or your user role has no access to the Cloud Data Exporter
- `403` Missing or malformed access token, or the Cloud Data Exporter is not enabled for this organization
- `404` Run not found

**Content type:** `application/json`

schema: `Error`

- **`error` (required)**: `string`

  Error message (same as title, for backward compatibility)
- **`status` (required)**: `integer`

  HTTP status code
- **`title` (required)**: `string`

  Short, human-readable summary
- **`type` (required)**: `string`

  URI identifying the problem type
- **`detail`**: `string`

  Human-readable explanation specific to this occurrence

**Example:**

```json
{
  "error": "",
  "type": "",
  "title": "",
  "status": 422,
  "detail": ""
}
```

## Schemas

- `Error` — shown above.
- `CloudDataExporterRun` — shown above.
