---
title: "POST /tasks/{id}/send"
method: POST
path: "/tasks/{id}/send"
---

# POST /tasks/{id}/send

`POST /tasks/{id}/send`

## Query parameters

- `historyLength` integer
- `metadata` string

## Request body

- TaskSendParams
  - `sessionId` string
  - `message` Message, required — unresolved $ref
  - `pushNotification` PushNotificationConfig — unresolved $ref

## Response `201`

Task sent successfully

- Task
  - `id` string, required
  - `sessionId` string, nullable
  - `status` TaskStatus, required — unresolved $ref
  - `artifacts` Artifact[], nullable — unresolved $ref
  - `history` Message[], nullable — unresolved $ref
  - `metadata` object, nullable

---

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