Skip to main content
GET
Get a session
Minimum role required: Viewer

Authorizations

X-Axilio-Api-Key
string
header
required

Customer API key (axl_ prefix).

Path Parameters

session_id
string<uuid>
required

Phone session identifier

Response

OK

Detail for a single session: the session, phone display fields, and a recording URL when available.

allocated_at
string<date-time>
required

When the session claimed the phone.

capture_enabled
boolean
required

Whether media this session produces on the phone is captured into the org's file library. On by default; set capture=false at allocation to disable.

is_dedicated_phone
boolean
required

Whether the phone is a dedicated (rented) phone.

phone_id
string
required

Phone the session ran on.

phone_status
enum<string>
required

Fleet status of the phone.

Available options:
active,
inactive,
maintenance,
suspended
recording_status
enum<string>
required

'ready' when the recording URL is present, 'pending' while the recording is still being processed, or 'expired' when it is past the plan's recording retention window.

Available options:
ready,
pending,
expired
session_id
string
required

Session identifier.

source
enum<string>
required

'workflow' when tied to a workflow, else 'interactive'.

Available options:
workflow,
interactive
status
enum<string>
required

Session lifecycle status.

Available options:
active,
completed,
cancelled,
expired
telemetry_disabled
boolean
required

Whether session telemetry was disabled at allocation. When true the session has no live or archived trace by policy.

allocated_by
enum<string>

How the session was started.

Available options:
workflow_editor,
dashboard_run,
api_run,
interactive
deallocated_at
string<date-time>

When the session released the phone; absent while active.

location
string

Physical hosting location of the phone.

model_name
string

Hardware model name of the phone.

name
string

Optional user-chosen session label; unique among the org's active sessions.

nickname
string

User-assigned phone nickname.

phone_name
string

Display name of the phone.

phone_type
enum<string>

Platform of the phone.

Available options:
android,
iphone,
unknown
recording_url
string

Playback URL for the session recording, set only when ready.

tags
object

Optional key->value labels attached to the session.

workflow_id
string

Workflow the session executed, when source is 'workflow'.

workflow_name
string

Name of the workflow the session executed.