---
title: "Create Deployment Task Nowait"
method: POST
path: "/deployments/{deployment_name}/tasks/create"
---

# Create Deployment Task Nowait

`POST /deployments/{deployment_name}/tasks/create`

## Request

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

Create a task for the deployment but don't wait for result.

## Path parameters

- `deployment_name` string, required

## Query parameters

- `session_id` string, nullable

## Request body

- TaskDefinition: The definition and state of a task. Attributes: input (str): The task input. session_id (str): The session ID that the task belongs to. task_id (str): The task ID. Defaults to a random UUID. service_id (str): The service ID that the task should be sent to. If blank, the orchestrator decides.
  - `input` string, required
  - `task_id` string
  - `session_id` string, nullable
  - `service_id` string, nullable

## Response `200`

Successful Response

- TaskDefinition: The definition and state of a task. Attributes: input (str): The task input. session_id (str): The session ID that the task belongs to. task_id (str): The task ID. Defaults to a random UUID. service_id (str): The service ID that the task should be sent to. If blank, the orchestrator decides.
  - `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)
