---
title: "Get an authorization session"
method: GET
path: "/v1/fleet/auth-sessions/{session_id}"
tags: ["fleet auth"]
---

# Get an authorization session

`GET /v1/fleet/auth-sessions/{session_id}`

Returns the current status of an in-flight authorization session. The optional `wait_seconds` query param (1-25, default 1) keeps the request open up to that many seconds, returning early if the session completes. Poll until status is COMPLETED.

## Path parameters

- `session_id` string, required

## Query parameters

- `wait_seconds` integer

## Response `200`

OK

- AuthGetSessionResponse
  - `id` string
  - `status` 'PENDING' | 'COMPLETED' | 'CONNECTION_REQUIRED' | 'TOKEN_EXPIRED'

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `502` — Bad Gateway

---

[API](https://skmtc.net/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.net/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/revisions/a0acb3a6a101/schema)
