GET
/
users
/
{userId}
/
actions
/
{action}
/
{idempotencyKey}

Path Parameters

userId
string
required

The ID of the user.

action
string
required

A short human-readable code which defines the action the user is performing, e.g. 'signIn'.

idempotencyKey
string
required

The unique key which identifies the particular action which was tracked.

Response

200 - application/json
state
enum<string>

The current state of the action.

Available options:
CHALLENGE_REQUIRED,
CHALLENGE_FAILED,
CHALLENGE_SUCCEEDED,
ALLOW,
BLOCK
createdAt
string

The time in ISO 8061 format when the action was first created via track.

stateUpdatedAt
string

The time in ISO 8061 format when the state of the action was last updated.

output
object

The output produced by the rules engine when determining if the action requires a challenge.

ruleIds
string[]

The IDs of the triggered rules.

rules
object[]

The triggered rules.