Skip to content
View as Markdown

FetchCapturedSessionsResponse

Field Type Description
captured_sessions repeated bitdrift.public.unary.workflows.v1.FetchCapturedSessionsResponse.CapturedSession The captured sessions that matched the request.
full_count uint32 The total number of matching sessions before pagination, subject to service limits.

Example

JSON
{
  "captured_sessions": [
    {
      "count": 42,
      "fields": {
        "key": ""
      },
      "first_seen": "2024-01-15T09:30:00Z",
      "last_seen": "2024-01-15T09:30:00Z",
      "session_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    }
  ],
  "full_count": 42
}

FetchCapturedSessionsResponse.CapturedSession

Field Type Description
session_id string The unique identifier of the captured session.
first_seen google.protobuf.Timestamp The timestamp of the first log seen for this session.
last_seen google.protobuf.Timestamp The timestamp of the most recent log seen for this session.
count uint64 The number of times the session was seen. This will always be set to 1 when performing a global search. For a per-action search, it will effectively return the number of trigger logs for the session.
fields map The fields associated with the captured session. They are similar to the fields in the insights.

Example

JSON
{
  "count": 42,
  "fields": {
    "key": ""
  },
  "first_seen": "2024-01-15T09:30:00Z",
  "last_seen": "2024-01-15T09:30:00Z",
  "session_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}