RUM Recovery
Estimate recoverable sessions
Return the full estimated number of recoverable sessions and the configured maximum per batch. The estimate is not capped at that maximum. This endpoint does not create a recovery request. Narrow the query or time range if the estimate exceeds max_recoverable_sessions. Creation checks a fresh estimate and returns 400 if it exceeds the configured maximum.
post/api/v2/rum/recover/count
Request
- Base URLhttps://api.datadoghq.com
- AuthAPI key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"attributes": {
"from": 1789905600000,
"query": "service:web",
"to": 1789992000000
},
"id": "11111111-1111-4111-8111-111111111111",
"type": "rum_recovery_count"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"max_recoverable_sessions": 100000
},
"id": "count",
"type": "rum_recovery_count"
}
}Changes
Changes to this operation have not been checked yet.