List Observability Sessions (POST)
Lists sessions based on filter criteria.
Lists sessions based on filter criteria.
Authorization
auth-token All the DevRev APIs require a token to authenticate the user. Provide Authorization: Bearer <TOKEN> as a header to every API request.
How do I find my token?
In: header
Request Body
application/json
"mobile" | "web"The cursor to resume iteration from. If not provided, then iteration starts from the beginning.
textThe maximum number of sessions to return.
int32The iteration mode to use. If "after", then entries after the provided cursor will be returned, or if no cursor is provided, then from the beginning. If "before", then entries before the provided cursor will be returned, or if no cursor is provided, then from the end. Entries will always be returned in the specified sort-by order.
"after" | "before"The platform type for the device.
"android" | "ios" | "web"The fields to sort the sessions by and the direction to sort them.
The unique app ID to which the session belongs.
text1 <= lengthFilter by app versions.
Provides ways to specify date ranges on objects.
Filter by device models.
Filter by exception occurrence.
Filter by anonymous users.
Filter by ANR occurrence.
Filter by crash occurrence.
Filter by device manufacturers.
Filter by network types.
Filter by OS versions.
Filter by rage tap.
Filter by Rev org.
Filter by Rev user.
Filter by screen name.
Filter by session attributes.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.devrev.ai/observability.sessions.list" \ -H "Content-Type: application/json" \ -d '{ "type": "mobile", "platform": "android", "version_key": "string" }'{
"next_cursor": "string",
"prev_cursor": "string",
"sessions": [
{
"type": "mobile",
"platform": "android",
"session_id": "string",
"created_at": "2023-01-01T12:00:00.000Z",
"device_metadata": {
"app_version": "string",
"manufacturer": "string",
"model": "string",
"network_type": "string",
"os_version": "string",
"plug_sdk_version": "string",
"screen_height": 0,
"screen_width": 0,
"sdk_version": "string"
},
"has_exception_occurred": true,
"is_anr": true,
"is_crash": true,
"rage_tap": true,
"recording_ids": [
"string"
],
"rev_org_id": "REV-AbCdEfGh",
"rev_user_id": "string",
"session_duration_ms": 0
}
]
}{
"detail": "string",
"message": "string",
"type": "artifact_already_attached_to_a_parent",
"existing_parent": "string",
"is_same": true
}{
"detail": "string",
"message": "string",
"type": "dev_org_deactivated"
}{
"detail": "string",
"message": "string",
"type": "forbidden"
}{
"detail": "string",
"message": "string",
"type": "request_entity_too_large",
"max_bytes": 0
}{
"detail": "string",
"message": "string",
"type": "too_many_requests",
"retry_after": 0
}{
"detail": "string",
"message": "string",
"type": "internal_error",
"reference_id": "string"
}{
"detail": "string",
"message": "string",
"type": "service_unavailable"
}