Skip to main content
GET
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Auth connection ID

Query Parameters

type
enum<string>

Filter the timeline to a single event type.

Available options:
login,
reauth,
health_check
limit
integer
default:20

Maximum number of events to return

Required range: x <= 100
offset
integer
default:0

Number of events to skip

Response

Event timeline for the auth connection

type
enum<string>
required

The kind of event. "login" and "reauth" are authentication attempts; "health_check" is a periodic session-validity check.

Available options:
login,
reauth,
health_check
id
string
required

Identifier of the underlying login/reauth session or health check.

timestamp
string<date-time>
required

When the event occurred.

status
enum<string>
required

Outcome of the event. For login/reauth events this is the flow status (IN_PROGRESS, SUCCESS, EXPIRED, CANCELED, FAILED). For health_check events it is the observed session state (AUTHENTICATED, NEEDS_AUTH).

Available options:
IN_PROGRESS,
SUCCESS,
EXPIRED,
CANCELED,
FAILED,
AUTHENTICATED,
NEEDS_AUTH
previous_status
enum<string>

The session state observed before this event. Present for health_check events that recorded a prior state.

Available options:
AUTHENTICATED,
NEEDS_AUTH
step
enum<string>

The step the flow reached. Present for login/reauth events.

Available options:
INITIALIZED,
DISCOVERING,
AWAITING_INPUT,
AWAITING_EXTERNAL_ACTION,
AWAITING_HUMAN_INTERVENTION,
SUBMITTING,
COMPLETED,
EXPIRED
error_code
string

Machine-readable error code. Present when a login/reauth event failed.

error_message
string

Human-readable error message. Present when a login/reauth event failed.

website_error
string

Visible error message from the website (e.g., 'Incorrect password'). Present when the website displayed an error during the attempt.

replay_id
string

Replay recording ID for the event's browser session, if session recording was enabled.

updated_at
string<date-time>

When the event was last updated. Present for login/reauth events.