---
title: Get data observability monitor run status
description: Retrieves the current status of a data observability monitor run. Poll this endpoint after triggering a run to determine when evaluation is complete.
breadcrumbs: Docs > API > Get data observability monitor run status
---

> For the complete documentation index, see [llms.txt](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/llms.txt).

# Get data observability monitor run status

## v2 (latest)

{% alert level="warning" %}
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help.md).
{% /alert %}

| Datadog site      | API endpoint                                                                              |
| ----------------- | ----------------------------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/data-observability/monitors/runs/{run_id}/status     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/data-observability/monitors/runs/{run_id}/status |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/data-observability/monitors/runs/{run_id}/status |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/data-observability/monitors/runs/{run_id}/status      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/data-observability/monitors/runs/{run_id}/status |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/data-observability/monitors/runs/{run_id}/status |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/data-observability/monitors/runs/{run_id}/status |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/data-observability/monitors/runs/{run_id}/status      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/data-observability/monitors/runs/{run_id}/status  |

### Overview

Retrieves the current status of a data observability monitor run. Poll this endpoint after triggering a run to determine when evaluation is complete.

OAuth apps require the `data_observability_monitors_write`, `monitors_write` authorization [scope](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/api/latest/scopes.md#data-observability) to access this endpoint.

### Arguments

#### Path Parameters

| Field               | Type   | Description                                       |
| ------------------- | ------ | ------------------------------------------------- |
| run_id [*required*] | string | The ID of the monitor run to retrieve status for. |

### Response

{% tabs %}
{% tab label="200" %}
OK

{% tabs %}
{% tab label="Model" %}
The response for getting the status of a data observability monitor run.

| Parent field | Field                   | Type   | Description                                                                                                                  |
| ------------ | ----------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------- |
|              | data [*required*]       | object | The data object for a data observability monitor run status response.                                                        |
| data         | attributes [*required*] | object | The attributes of a data observability monitor run status response.                                                          |
| attributes   | error_message           | string | Error message describing why the monitor run failed. Only present when status is error.                                      |
| attributes   | status [*required*]     | enum   | The status of a data observability monitor run. Allowed enum values: `pending`, `ok`, `warn`, `alert`, `error`.              |
| data         | id [*required*]         | string | The unique identifier of the monitor run.                                                                                    |
| data         | type [*required*]       | enum   | The JSON:API resource type for a data observability monitor run. Allowed enum values: `monitor_run`. Default: `monitor_run`. |
{% /tab %}

{% tab label="Example" %}
```json
{
  "data": {
    "attributes": {
      "error_message": "run completed but produced no metric data",
      "status": "pending"
    },
    "id": "abc123def456",
    "type": "monitor_run"
  }
}
```
{% /tab %}
{% /tabs %}
{% /tab %}

{% tab label="404" %}
Not Found

{% tabs %}
{% tab label="Model" %}
API error response.

| Parent field | Field               | Type     | Description                                                                     |
| ------------ | ------------------- | -------- | ------------------------------------------------------------------------------- |
|              | errors [*required*] | [object] | A list of errors.                                                               |
| errors       | detail              | string   | A human-readable explanation specific to this occurrence of the error.          |
| errors       | meta                | object   | Non-standard meta-information about the error                                   |
| errors       | source              | object   | References to the source of the error.                                          |
| source       | header              | string   | A string indicating the name of a single request header which caused the error. |
| source       | parameter           | string   | A string indicating which URI query parameter caused the error.                 |
| source       | pointer             | string   | A JSON pointer to the value in the request document that caused the error.      |
| errors       | status              | string   | Status code of the response.                                                    |
| errors       | title               | string   | Short human-readable summary of the error.                                      |
{% /tab %}

{% tab label="Example" %}
```json
{
  "errors": [
    {
      "detail": "Missing required attribute in body",
      "meta": {},
      "source": {
        "header": "Authorization",
        "parameter": "limit",
        "pointer": "/data/attributes/title"
      },
      "status": "400",
      "title": "Bad Request"
    }
  ]
}
```
{% /tab %}
{% /tabs %}
{% /tab %}

{% tab label="429" %}
Too many requests

{% tabs %}
{% tab label="Model" %}
API error response.

| Field               | Type     | Description       |
| ------------------- | -------- | ----------------- |
| errors [*required*] | [string] | A list of errors. |
{% /tab %}

{% tab label="Example" %}
```json
{
  "errors": [
    "Bad Request"
  ]
}
```
{% /tab %}
{% /tabs %}
{% /tab %}
{% /tabs %}

### Code Example

{% tabs %}
{% tab label="Curl" %}
```bash
# Path parameters
export run_id="abc123def456"

# Set your Datadog site and credentials
export DD_SITE="datadoghq.com" # Or us3.datadoghq.com, us5.datadoghq.com, datadoghq.eu, ap1.datadoghq.com, ap2.datadoghq.com, uk1.datadoghq.com, ddog-gov.com, us2.ddog-gov.com
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/data-observability/monitors/runs/${run_id}/status" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
```
{% /tab %}
{% /tabs %}
