Skip to main content
POST
List a user's flow sessions

Restrictions

Usage

  • Pass the same window, usr_id, start, direction and depth as POST /rum/journey/paths: level, from and to name a node or band of that flow.
  • level 0 is the start page itself and lists every use that reached it; past it to is required, and from picks one band (omit it for the node, whatever the use came from).
  • Past level 1 a band cannot come from the left marker: a use that left has no later hop.
  • path is the use’s pages around its first visit to the start, through all its sessions; path[start_index] is the start, and more_before / more_after say the use had pages outside it.
  • At most 20 sessions are returned, most recent first; application_id is set because a use spans applications.

Authorizations

app_key
string
query
required

APP Key created in the Flashduty console under My → APP Key. Send it as the app_key query parameter or in the Fd-App-Key request header. Its effective access is the intersection of the key's permission scope and the creator's current role permissions. Keep it secret.

Body

application/json

List the sessions that made one node or band of a user's page flow.

start_time
integer<int64>
required

Start of the window, Unix timestamp in milliseconds; a session that started before it is left out.

Example:

1780272000000

end_time
integer<int64>
required

End of the window, Unix timestamp in milliseconds. Must be later than start_time, and the window must not exceed 14 days.

Example:

1780358400000

usr_id
string
required

User ID whose sessions to follow, as the application reports it (usr.id).

Maximum string length: 255
direction
enum<string>
required

Direction along the user's use: after follows the pages viewed after the start, before the pages viewed before it.

Available options:
after,
before
level
integer
required

Hop of the flow the sessions come from; 0 is the start page itself, 1 the first hop after (or before) it.

Required range: x >= 0
start
string

Page path group to follow, named <application_id>:<path group>. Omit to follow the user's entry.

Maximum string length: 1024
depth
integer
default:3

How many distinct pages to follow, 2-5; defaults to 3 when omitted.

Required range: 2 <= x <= 5
from
string | null

Page path group at the previous hop, to pick one band of the flow. Omit to describe the node whatever the session came from; an empty string is a real value.

to
string | null

Page path group at level; required past level 0. * is the band of pages outside that hop's top few.

Response

Success

Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id response header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

data
object

Example sessions of one node or band of a page flow, most recent first.