Skip to main content
GET
Search sessions

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"

Query Parameters

from
string<date-time>

Start of the time range, inclusive (RFC 3339). Defaults to the range end minus the default length.

Example:

"2026-10-01T00:00:00Z"

to
string<date-time>

End of the time range, exclusive (RFC 3339). Defaults to now.

Example:

"2026-10-08T00:00:00Z"

limit
integer
default:50

Page size, 1 to 200.

Required range: 1 <= x <= 200
Example:

50

cursor
string

The next_cursor of the previous page. Opaque.

Maximum string length: 1024
app_id
string

Only this app.

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

Only this release.

Maximum string length: 128
outcome
enum<string>

crashed, abnormal_exit, or ok (every session that neither crashed nor ended abnormally).

Available options:
crashed,
abnormal_exit,
ok
device_model
string

device.model.identifier, exactly.

Maximum string length: 128
Example:

"iPhone17,1"

os_version
string

os.version, exactly.

Maximum string length: 64
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
has_error
enum<string>

Only sessions with (true) or without (false) handled errors.

Available options:
true,
false
issue_id
string

Only sessions with an occurrence of this issue in the time range.

Pattern: ^[A-Za-z0-9._:-]{1,128}$
endpoint_method
string

With endpoint_host and endpoint_template: one network endpoint.

Pattern: ^[A-Z_]{1,16}$
endpoint_host
string
Maximum string length: 255
endpoint_template
string

Only sessions with a request to this endpoint in the time range (/network/endpoints lists them).

Maximum string length: 256
endpoint_failed
enum<string>

With the endpoint: only sessions where a request to it failed (5xx or no response).

Available options:
true,
false
screen
string

Only sessions that loaded this screen (app.screen.name) in the time range.

Required string length: 1 - 256
min_ttid_ms
integer | null

With screen: only loads of it with a TTID of at least this many milliseconds.

Required range: 0 <= x <= 600000
min_ttfd_ms
integer | null

With screen: only loads of it with a TTFD (app.screen.load.ttfd) of at least this many milliseconds; loads without one never match.

Required range: 0 <= x <= 600000
stopped
string

Only sessions whose last screen load in the time range was this screen (app.screen.name): where they stopped, as Journeys' drop-offs.

Required string length: 1 - 256
has_failed_request
enum<string>

Only sessions with (true) or without (false) a failed HTTP request (5xx or no response).

Available options:
true,
false
has_hang
enum<string>

Only sessions with (true) or without (false) a hang (iOS) or ANR (Android) the SDK saw live (spec 6.3), launch hangs included.

Available options:
true,
false
has_replay
enum<string>

Only sessions with (true) or without (false) a stored replay.

Available options:
true,
false
user
string

Only this app user's sessions: those that carried this user.hash, the hash the app passes to setUser (spec 11).

Pattern: ^[A-Za-z0-9+/=_.:-]{1,256}$
Example:

"u_4f2a9c"

capture_request
string

Only the sessions this capture request released (a device request id, spec 15.5), newest first by default.

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

Only sessions in which this trigger fired, as the policy names it (crash, error, anr, rage_tap, dead_tap, event:, rule:; spec 15.4).

Pattern: ^(crash|error|anr|rage_tap|dead_tap|event:[A-Za-z0-9._-]{1,64}|rule:[a-z0-9._-]{1,64})$
Example:

"rule:checkout-5xx"

flag
string

Only sessions where this feature flag was evaluated (setFeatureFlag).

Required string length: 1 - 128
flag_variant
string

With flag: only sessions where it had this variant.

Maximum string length: 128
sort
enum<string>
default:started

started (newest first), length (longest first) or errors (most first); ties by session id.

Available options:
started,
length,
errors
order
enum<string>
default:desc

desc is the sort's own order, asc its exact reverse. A cursor goes on only in its own sort and order.

Available options:
desc,
asc

Response

A page of sessions.

sessions
object[]
required
next_cursor
string | null
required

Pass as cursor to get the next page; null on the last page.