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

**Source definition:** [`src/bitdrift/public/unary/workflows/v1/api.proto#L66-L87`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/workflows/v1/api.proto#L66-L87>)

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| action_id | <span class="proto-type proto-type-primitive">string</span><br><em class="proto-field-annotation">up to 100 chars</em> | 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")</span> | The start time and end time of the captured sessions. |
| or_filter | <span class="proto-type proto-type-message">array of [<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">shared</i><i class="proto-type-dot">.</i><i class="proto-type-part">workflows</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">AndFilter</i>](bitdrift_public_shared_workflows_v1_AndFilter.md "bitdrift.public.shared.workflows.v1.AndFilter")</span><br><em class="proto-field-annotation">up to 10 items</em> | Field filters to apply to the captured session search. This supports filtering sessions based on certain indexed fields  recorded alongside the captured session. Reach out to the bitdrift team to index additional fields. |
| 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><br><em class="proto-field-annotation">between 1 and 100</em> | The number of items to return per page. Defaults to 100 when not set. |

</section>
<p class="h4">Example</p>
```json
{
  "action_id": "fkQ1PfAZhdYvJexzY6DYuoYCZTEaWO0Y7spxwjr7akc",
  "or_filter": [
    {
      "filter": [
        {
          "name": "name",
          "value": "value"
        }
      ]
    }
  ],
  "page": 1,
  "per_page": 25,
  "time_range": {
    "relative_time_range": {
      "duration": "3600s",
      "offset": "3600s"
    }
  }
}
```

