Skip to main content
GET
Get one visit

Authorizations

X-API-Key
string
header
required

Path Parameters

visit_id
string<uuid>
required

The visit's id.

Response

The visit.

One visit, with each Visa TAP consumer and detection's whole read.

visit_id
string<uuid>
required

The visit's id.

environment
enum<string>
required

The application's environment.

Available options:
sandbox,
production
state
enum<string>
required

ended once 30 minutes pass without a record.

Available options:
ongoing,
ended
started_at
string<date-time>
required

Its first record.

last_seen_at
string<date-time>
required

Its latest record.

decision_count
integer
required

Its decisions so far.

Required range: x >= 0
identity
VisitDetailIdentity (v1) · object
required

Who the visitor is.

transport
enum<string> | null

How the visitor arrived: browser when it has only browser events; null when no record says.

Available options:
browser,
api,
mcp,
ucp
first_step
string | null

The step of its first decision; null when it has none.

Maximum string length: 32
Pattern: ^[a-z0-9_]+$
last_step
string | null

The step of its latest decision; null when it has none.

Maximum string length: 32
Pattern: ^[a-z0-9_]+$
journey
VisitJourney (v1) · object | null

Its page views and requests; null when it had neither.

detection
VisitDetection (v1) · object | null

What detection made of it; null before a detection result, or once detection found no automated visitor.