---
title: "Look up a session under a given site"
method: GET
path: "/v4/sessions/{site}/{sessionId}"
tags: ["V4 Session"]
---

# Look up a session under a given site

`GET /v4/sessions/{site}/{sessionId}`

This endpoint allows you to access specific session details for a particular site. By providing the unique identifiers for the site and the session, you can retrieve detailed information about that session. This information can include the session's start time, end time, current status, and any associated user data. The exact content of the response will depend on the specific session and site identifiers provided in the request.

## Path parameters

- `site` string, required
- `sessionId` string, required

## Response `200`

OK. Returns the session details.

- SessionLookup
  - `tenantId` string
  - `subTenantId` string
  - `authenticated` boolean
  - `v` integer — version
  - `session_variables` SessionVariables
  - `user_id` string
  - `sessions` Session[]
    - `tenantId` string
    - `subTenantId` string
    - `supplied` boolean
    - `expiryDate` string
    - `startDate` string
    - `authenticated` boolean
    - `state` 'anonymous' | 'recognised' | 'partially_registered' | 'authenticated'
    - `device` string
    - `browser` string
    - `os` string
    - `city` string
    - `geoState` string
    - `deviceName` string
    - `country` string — ISO-3166-2 country code
    - `session_id` string
    - `user_id` string
  - `access_model` AccessModel
    - `meters` object
    - `credits` object
    - `delivered_entitlements` DeliveredEntitlement[]
      - `id` string
      - `direct` boolean
      - `meteredBy` string[]
      - `creditedBy` string[]
    - `granted_bundles` string[]
    - `jwt_bundles` array[]
      - string[]
    - `user_state` string
  - `last_updated` integer — A timestamp indicating the last update of the session, measured in milliseconds since the epoch.
  - `test_groups` object
  - `second_party_data` object

## Other responses

- `401` — Unauthorized. No valid authentication was provided.
- `404` — No session found. The site or the session ID is invalid.

---

[API](https://skmtc.net/zuora/apis/admin-api-reference.md) · [All operations](https://skmtc.net/zuora/apis/admin-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zuora/admin-api-reference/revisions/789812d35ac8/schema)
