Skip to content
View as Markdown

FetchCapturedSessionsRequest

Source definition: src/bitdrift/public/unary/workflows/v1/api.proto#L65-L82

Field Type Description
action_id string
up to 100 chars
The action ID whose captured sessions should be returned. If empty, returns captured sessions across all actions.
time_range bitdrift.public.unary.common.v1.TimeRange The start time and end time of the captured sessions.
page optional uint64 The page number and the number of items per page. The server will use this to paginate the results. Defaults to 1 when not set.
per_page optional uint64
between 1 and 100
The number of items to return per page. Defaults to 100 when not set.

Example

JSON
{
  "action_id": "fkQ1PfAZhdYvJexzY6DYuoYCZTEaWO0Y7spxwjr7akc",
  "page": 1,
  "per_page": 25,
  "time_range": {
    "relative_time_range": {
      "duration": "3600s",
      "offset": "3600s"
    }
  }
}