---
search:
  exclude: true
---

# <a id="bitdrift.public.unary.workflows.v1.FetchCapturedSessionsRequest"></a>FetchCapturedSessionsRequest

| Field | Type | Description |
|---|---|---|
| action_id | <span class="proto-type proto-type-primitive">string</span> | The action ID whose captured sessions should be returned. If empty, returns  captured sessions across all actions. |
| time_range | <span class="proto-type proto-type-message">[<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">common</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">TimeRange</i>](bitdrift_public_unary_common_v1_TimeRange.md#bitdrift.public.unary.common.v1.TimeRange){ title="bitdrift.public.unary.common.v1.TimeRange"}</span> | The start time and end time of the captured sessions. |
| page | <span class="proto-type proto-type-primitive">optional uint64</span> | 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 | <span class="proto-type proto-type-primitive">optional uint64</span> | 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"
    }
  }
}
```

