Get the status of a previously issued data request
Retrieve a specific data request, which is currently in progress.
GET
/requests/{requestId}
curl \
-X GET http://api.example.com/requests/{requestId} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"requestId": "string",
"createdAt": "2023-05-04T09:42:00+00:00",
"expectedCompletion": "2023-05-04T09:42:00+00:00",
"isCompleted": true,
"completedAt": "2023-05-04T09:42:00+00:00",
"dataRequested": [
"string"
]
}
Response examples (200)
{
"requestId": "string",
"createdAt": "2025-05-04T09:42:00Z",
"expectedCompletion": "2025-05-04T09:42:00Z",
"isCompleted": true,
"completedAt": "2025-05-04T09:42:00Z",
"dataRequested": [
"string"
]
}
Response examples (401)
{
"error": "Unauthorized",
"message": "You are not authorized. Generate authentication tokens via OAuth to access this resource."
}
Response examples (401)
{
"error": "Unauthorized",
"message": "You are not authorized. Generate authentication tokens via OAuth to access this resource."
}
Response examples (404)
{
"error": "Not Found",
"message": "Could not find a data request with this id."
}
Response examples (404)
{
"error": "Not Found",
"message": "Could not find a data request with this id."
}