---
title: "Create Task"
method: POST
path: "/api/agents/tasks"
tags: ["Agents"]
---

# Create Task

`POST /api/agents/tasks`

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Request body

- CreateTaskRequest
  - `agent_id` string, required
  - `headers` string[], required
  - `rows` object[], required

## Response `200`

Successful Response

- CreateTaskResponse
  - `task_id` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/f169bc6e9447/schema)
