# <a id="bitdrift.public.unary.timeline.v1.GetSessionLogsRequest"></a>GetSessionLogsRequest

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

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| log_type | <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">timeline</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">LogType</i>](bitdrift_public_unary_timeline_v1_LogType.md "bitdrift.public.unary.timeline.v1.LogType")</span> | The type of logs to query. If not specified, all normal logs will be returned. |
| start_time | <span class="proto-type proto-type-well-known">[google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp "google.protobuf.Timestamp")</span> | The start time of the query. If not specified, the query will start from the beginning of the session. |
| end_time | <span class="proto-type proto-type-well-known">[google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp "google.protobuf.Timestamp")</span> | The end time of the query. If not specified, the query will end at the end of the session. |
| 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. |
| per_page | <span class="proto-type proto-type-primitive">optional uint64</span><br><em class="proto-field-annotation">between 1 and 5000</em> |  |
| include_internal_logs | <span class="proto-type proto-type-primitive">bool</span> | Whether to include internal logs in the query results.   Internal logs include screen capture, resource, and internal SDK logs that do not appear in the default timeline view. |
| session_id | <span class="proto-type proto-type-primitive">string</span><br><em class="proto-field-annotation">between 1 and 100 chars</em> | Session ID to query for. |

</section>
<p class="h4">Example</p>
```json
{
  "end_time": "2024-01-15T09:30:00Z",
  "include_internal_logs": true,
  "log_type": {
    "screen_capture": {}
  },
  "page": 1,
  "per_page": 25,
  "session_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "start_time": "2024-01-15T09:30:00Z"
}
```

