---
title: "Get Session"
method: GET
path: "/v1/sessions/{id}"
tags: ["BackendService"]
---

# Get Session

`GET /v1/sessions/{id}`

Get a Session.

## Path parameters

- `id` string, required

## Response `200`

OK

- GetSessionResponse
  - `session` Session — Represents a Session for a logged-in User.
    - `id` string — The Session ID. Starts with `session_...`.
    - `userId` string — The User this Session belongs to.
    - `revoked` boolean — Whether the Session is revoked.
    - `createTime` string, date-time — When the Session was created.
    - `lastActiveTime` string, date-time — When the Session was last active.
    - `expireTime` string, date-time — When the Session expires.
    - `primaryAuthFactor` integer — The primary authentication factor the end user used to log in.

## Other responses

- `400` — API Error
- `401` — API Error
- `403` — API Error
- `404` — API Error

---

[API](https://skmtc.net/tesseral-labs/apis/backendservice-api.md) · [All operations](https://skmtc.net/tesseral-labs/apis/backendservice-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tesseral-labs/backendservice-api/versions/fe83f78ae20a/schema)
