Skip to main content
POST
Compare a stretch of the range with the rest

Authorizations

Authorization
string
header
required

A project token (apsio_pt_v0...), which reads exactly one project, or an OAuth access token issued for the API, which reads what its user can. Access tokens issued for Apsio's MCP server are accepted only from the MCP server itself.

Path Parameters

projectId
string
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"0192f3a4-0000-7000-8000-00000000a101"

Body

application/json
selection
object
required

The stretch of the range to compare with the rest of it, as a click on Search's histogram selects, its start before its end. Read within the range; a selection with nothing inside the range, or that covers all of it (no rest to compare with), is refused.

from
string<date-time>

Start, inclusive (RFC 3339). Defaults to 24 hours before to.

to
string<date-time>

End, exclusive (RFC 3339). Defaults to now.

app_id
string

Only this app of the project.

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
build
enum<string>

Which builds: release (the default: every build but a debug one, TestFlight included, and data that does not say), debug (development builds from Xcode or Android Studio: apsio.app.install.source is development), or all.

Available options:
release,
debug,
all
filters
object[]
Maximum array length: 20
kinds
enum<string>[]

Only events of these kinds; none: every kind.

Maximum array length: 10
Available options:
crash,
failed_request,
hang,
error,
exit,
request,
screen,
tap,
log,
span
text
string

Events whose text contains this, ignoring case: a log's body and exception, a span's name, route and status message. Plain text, not a pattern.

Required string length: 1 - 200

Response

The values that set the selection apart.

from
string
required

RFC 3339 time in UTC with up to nanosecond precision.

Example:

"2026-10-04T10:15:00.431000000Z"

to
string
required

RFC 3339 time in UTC with up to nanosecond precision.

Example:

"2026-10-04T10:15:00.431000000Z"

selection
object
required
selected
integer
required

The query's events in the selection.

rest
integer
required

The query's events in the rest of the range.

values
object[]
required