---
title: "Get status of query aggregate data request"
method: GET
path: "/metrics/1/requests/{requestId}"
tags: ["platform", "metrics-api"]
---

# Get status of query aggregate data request

`GET /metrics/1/requests/{requestId}`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/metrics/1/requests/{requestId}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Return the status of ongoing request, started by invoking [Query aggregated traffic data](#platform/metrics-api/query-aggregate-data).

## Path parameters

- `requestId` string, required

## Response `200`

Request status retrieved.

- 99c561addf74bb07fd67942658f68818323ce564cc5eef645d487517ca1425f2RequestInfo
  - `requestId` string, required: Request ID.
  - `status` 'IN_PROGRESS' | 'SUCCESS' | 'FAILED', required: Request processing status.
  - `failureMessage` string: Additional explanation in case of FAILED status.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Request with provided id not found.
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
