---
title: "Ask the public docs agent"
method: POST
path: "/api/a2a"
tags: ["a2a"]
---

# Ask the public docs agent

`POST /api/a2a`

## Request

- Base URL: `https://www.stuntdouble.io`
- URL: `https://www.stuntdouble.io/api/a2a`
- Auth: none required

A stateless A2A server (JSON-RPC binding) that needs no sign-in. `SendMessage` (A2A 1.0) and `message/send` (0.3) take a text message and reply with a Markdown message about Stunt Double: what it is, how to connect an agent, getting started, and where the docs are. It never creates tasks and cannot act on a workspace; to do that, use `mcpJsonRpc`.

## Headers

- `A2A-Version` '1.0' | '0.3'

## Request body

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

## Response `200`

The JSON-RPC response: a Message, or an A2A error such as `-32001` (task not found) or `-32009` (version not supported).

- JsonRpcResponse
  - `jsonrpc` '2.0', required
  - `id` union
    - string
    - integer
  - `result` unknown
  - `error` object
    - `code` integer, required
    - `message` string, required
    - `data` unknown

## Other responses

- `400`: The body is not a JSON-RPC 2.0 request.
- `429`: Too many requests from this client. Wait for `Retry-After` seconds.

---

[API](https://skmtc.dev/stuntdouble/apis/stunt-double-public-api.md) · [All operations](https://skmtc.dev/stuntdouble/apis/stunt-double-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stuntdouble/apis/stunt-double-public-api/revisions/f7d32f1d1c42?raw)
