---
title: "Get Tasks"
method: GET
path: "/deployments/{deployment_name}/tasks"
---

# Get Tasks

`GET /deployments/{deployment_name}/tasks`

## Request

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

Get all the tasks from all the sessions in a given deployment.

## Path parameters

- `deployment_name` string, required

## Response `200`

Successful Response

- TaskDefinition[]
  - `input` string, required
  - `task_id` string
  - `session_id` string, nullable
  - `service_id` string, nullable

## 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)
