---
search:
  exclude: true
---

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

| Field | Type | Description |
|---|---|---|
| captured_sessions | <span class="proto-type proto-type-message">repeated [<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">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">FetchCapturedSessionsResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">CapturedSession</i>](#bitdrift.public.unary.workflows.v1.FetchCapturedSessionsResponse.CapturedSession){ title="bitdrift.public.unary.workflows.v1.FetchCapturedSessionsResponse.CapturedSession"}</span> | The captured sessions that matched the request. |
| full_count | <span class="proto-type proto-type-primitive">uint32</span> | 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
}
```

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

| Field | Type | Description |
|---|---|---|
| session_id | <span class="proto-type proto-type-primitive">string</span> | The unique identifier of the captured session. |
| first_seen | <span class="proto-type proto-type-well-known">[google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp){ title="google.protobuf.Timestamp"}</span> | The timestamp of the first log seen for this session. |
| last_seen | <span class="proto-type proto-type-well-known">[google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp){ title="google.protobuf.Timestamp"}</span> | The timestamp of the most recent log seen for this session. |
| count | <span class="proto-type proto-type-primitive">uint64</span> | 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 | <span class="proto-type proto-type-primitive">map<string, string></span> | 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"
}
```

