---
title: "Xa Create Task"
method: POST
path: "/api/agents/tasks"
---

# Xa Create Task

`POST /api/agents/tasks`

## Request

- Base URL: `https://astranl.com`
- URL: `https://astranl.com/api/agents/tasks`
- Auth: one of:
  - API key in header `X-Task-Key`
  - API key in header `X-Agent-Key`

Requires the task key (?key= or X-Task-Key) or an API credential (enforced by middleware).

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/astranl/apis/astranl-public-api-positive-allowlist.md) · [All operations](https://skmtc.dev/astranl/apis/astranl-public-api-positive-allowlist/llms.txt) · [OpenAPI document](https://skmtc.dev/astranl/apis/astranl-public-api-positive-allowlist/revisions/5f86bcffe30d?raw)
