Discussions

Ask a Question
Back to All

Get Stats Request Expiry

Is there an expiry of a stats request? If so what is it? I have noticed that after generating the stats request and calling the get stats api after a while it give not found response.

create stats request api - https://dialpad.com/api/v2/stats

fetch stats api - https://dialpad.com/api/v2/stats/{id}

it returns error :

{
"error": {
"code": 404,
"errors": [
{
"domain": "global",
"message": "Request with id {id} not found.",
"reason": "notFound"
}
],
"message": "Request with id {id} not found."
}
}

sometimes this gives error after 1 hours sometimes more.