> Markdown version of https://tuna.am/en/docs/api/session-get/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# Get a session

get`/v1/sessions/{id}`

## Request

### Authorization

* **Authorization**stringheaderrequired

  Key in the format `Bearer <API-key>`. Create a key on the [API keys](https://my.tuna.am/api_keys) page.

### Path Parameters

* **id** integer\<int64>required

### Response

200application/json

* **browser**string

  Browser

  **Example:&#x20;**`Chrome`

  **browser_version**string

  Browser version

  **client_type**string

  Client type: web, cli or desktop

  **Possible values:** \[`web`, `cli`, `desktop`]

  **Example:&#x20;**`web`

  **client_version**string

  cli/desktop client version

  **country_code**string

  Country code

  **Example:&#x20;**`RU`

  **country_name**string

  Country

  **Example:&#x20;**`Russia`

  **created_at**string\<date-time>

  Creation date

  **current**boolean

  Whether this is the current session

  **device**string

  Device name

  **Example:&#x20;**`MacBook Pro`

  **hostname**string

  Name of the machine signed in from cli/desktop

  **id**integer\<int64>

  Session ID

  **last_seen_at**string\<date-time>

  Last seen date

  **os**string

  OS

  **Example:&#x20;**`macOS`

  **os_version**string

  OS version

  **remote_address**string

  Address the session was created from

  **Example:&#x20;**`203.0.113.10`

  **sudo** object

  **expires_at**string\<date-time>

  Time the verification expires

  **type**string

  Method the session was verified with

  **Possible values:** \[`totp`, `recovery_code`, `email_code`, `passkey`]

  **Example:&#x20;**`totp`

  **verified_at**string\<date-time>

  Verification time

  **team** object

  **id**integer\<int64>

  Team ID

  **Example:&#x20;**`7`

  **name**string

  Name

  **Example:&#x20;**`Acme Inc`

  **slug**string

  Team slug, used as the suffix of dynamic subdomains

  **Example:&#x20;**`acme`

  **type**string

  Type

  **Possible values:** \[`personal`, `pro`]

  **Example:&#x20;**`pro`

  **updated_at**string\<date-time>

  Update date
