# PrometheusRangeResponse

## object

Response from Prometheus query_range API.

### status
string Required

'success' or 'error'

### data
object Optional

#### PrometheusMatrixData
object

Data section of a matrix response.

##### resultType
string Optional

Defaults to matrix

##### result
list of objects [PrometheusMatrixResult](https://docs.mediakind.com/api-reference/channels-api/schemas/prometheusmatrixresult) Required

###### metric
object [PrometheusMetricLabels](https://docs.mediakind.com/api-reference/channels-api/schemas/prometheusmetriclabels) Required

Metric labels from Prometheus. Allows arbitrary labels.

###### serverID
object Optional

- Variant 1: `string`
- Variant 2: `null`

###### name
object Optional

- Variant 1: `string`
- Variant 2: `null`

###### job
object Optional

- Variant 1: `string`
- Variant 2: `null`

###### values
list of list of items Required

Array of [unix_timestamp, value_string] pairs

- Variant 2: `null`

### error
object Optional

Error message if status is 'error'

- Variant 1: `string`
- Variant 2: `null`

### errorType
object Optional

- Variant 1: `string`
- Variant 2: `null`
