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

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

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| device_model | <span class="proto-type proto-type-primitive">string</span> | The model of the device. |
| user_id | <span class="proto-type proto-type-primitive">optional string</span> | The user id associated with the session.  This one is a special case, where we rely on the SDK being configured to return this.  There may be other special cases like this in the future. |
| 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 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 session. |
| device_id | <span class="proto-type proto-type-primitive">string</span> | The device ID associated with the session. |
| platform | <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">shared</i><i class="proto-type-dot">.</i><i class="proto-type-part">platform</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">Platform</i>](bitdrift_public_shared_platform_v1_Platform.md "bitdrift.public.shared.platform.v1.Platform")</span> | The platform and app information associated with the session. |
| os | <span class="proto-type proto-type-primitive">string</span> | The operating system of the device. |
| os_version | <span class="proto-type proto-type-primitive">string</span> | The version of the operating system of the device. |

</section>
<p class="h4">Example</p>
```json
{
  "device_id": "device-123",
  "device_model": "iPhone15,2",
  "end_time": "2024-01-15T09:30:00Z",
  "os": "iOS",
  "os_version": "17.4.1",
  "platform": {
    "apple": {
      "apps": [
        {
          "app_id": "com.example.app"
        }
      ]
    }
  },
  "start_time": "2024-01-15T09:30:00Z",
  "user_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
```

