---
title: "Get Sessions"
method: GET
path: "/deployments/{deployment_name}/sessions"
---

# Get Sessions

`GET /deployments/{deployment_name}/sessions`

## Request

- The document declares no server URL.
- Auth: none declared

Get the active sessions in a deployment and service.

## Path parameters

- `deployment_name` string, required

## Response `200`

Successful Response

- SessionDefinition[]
  - `session_id` string
  - `task_ids` string[]
  - `state` object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/run-llama/apis/llamaindex-llama-deploy-api.md) - [All operations](https://skmtc.dev/run-llama/apis/llamaindex-llama-deploy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/run-llama/apis/llamaindex-llama-deploy-api/revisions/5ceeacddc3ab?raw)
