Skip to main content
POST
List a session's key events

Restrictions

Usage

  • start_time and end_time are Unix epoch milliseconds and both required; the window must not exceed 14 days and the session must have started inside it, otherwise the call returns ResourceNotFound.
  • A session id is only unique within its application, so application_id is required; the caller needs read access to it and gets AccessDenied otherwise.
  • kind is view, click, failed_request, error or crash.
  • A page’s duration_ms is its load by the session’s platform — largest contentful paint on the web, first render in mini-programs, cold start for a native app’s first page — and is null when unknown.
  • A failed request is a 5xx answer, or no answer at all, from the page’s own site; text is the method and path, and status 0 means no answer.
  • An error’s text is its message cut to 200 characters.
  • At most 200 views, 200 clicks and 200 other events are returned; truncated is true when any of them was cut.

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 key events of one session inside a time window.

application_id
string
required

RUM application ID. A session ID is only unique within its application, so this is required.

Maximum string length: 64
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

session_id
string
required

RUM session ID, unique only within application_id.

Maximum string length: 64
start_time
integer<int64>
required

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

Example:

1780272000000

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

The key events of one session, in time order.