---
title: "Delegate a task from one agent to another"
method: POST
path: "/a2a/delegate"
tags: ["a2a"]
---

# Delegate a task from one agent to another

`POST /a2a/delegate`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/a2a/delegate`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Request body

- object
  - `fromAgentId` string, required
  - `toAgentId` string, required
  - `query` string, required
  - `context` string
  - `priority` 'low' | 'medium' | 'high' | 'critical'
  - `orgId` integer

## Response `200`

Delegation result

- object

## Other responses

- `400`: Bad Request

## Changes

- **2026-04-18** `518dcf68679a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/a2a/delegate/post.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
