---
title: "JSON-RPC 2.0 endpoint for agent"
method: POST
path: "/a2a/agents/{agentId}/rpc"
tags: ["a2a"]
---

# JSON-RPC 2.0 endpoint for agent

`POST /a2a/agents/{agentId}/rpc`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/a2a/agents/{agentId}/rpc`
- Auth: none required

## Path parameters

- `agentId` string, required

## Request body

- object
  - `jsonrpc` '2.0', required
  - `method` string, required
  - `params` object
  - `id` string, required

## Response `200`

JSON-RPC response

- object
  - `jsonrpc` string
  - `result` object
  - `error` object
  - `id` string

## Other responses

- `401`: Unauthorized
- `404`: Not Found

## Changes

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

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/a2a/agents/:agentId/rpc/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)
