Stunt Double A2a API
The public docs agent, over the A2A protocol.
The public docs agent, over the A2A protocol.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/stuntdouble-io:stuntdouble-io-a2a-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Stunt Double public A2a API
version: 1.3.1
summary: Public, unauthenticated endpoints on stuntdouble.io, plus the MCP server entry point.
description: 'Stunt Double sends AI users (actors) through real products and returns evidence-backed results: checklist runs, user interviews and feedback. Programmatic control of a workspace is through the Model Context Protocol server (`mcpJsonRpc`), which uses OAuth 2.1. The other operations here are public, read-only discovery endpoints. Errors from `/api/*` on this host use the `Error` schema.
**Versioning.** `info.version` follows semantic versioning. A breaking change to an operation here ships under a new path or a new header value alongside the old one, never in place. The MCP server is versioned by the protocol: send the `MCP-Protocol-Version` header with the version negotiated at `initialize`.
**Deprecation.** A deprecated operation is marked `deprecated: true` in this spec, its responses carry a `Deprecation` header (RFC 9745) and a `Sunset` header (RFC 8594) with the removal date, and the change is announced in the changelog (https://www.stuntdouble.io/changelog) at least 90 days before removal.
**Rate limits.** Uncached endpoints on this host return `RateLimit` and `RateLimit-Policy` headers (IETF draft-ietf-httpapi-ratelimit-headers) on every response, and `Retry-After` with a 429 when the quota is spent.'
contact:
name: Stunt Double support
email: support@stuntdouble.io
url: https://www.stuntdouble.io/support
termsOfService: https://www.stuntdouble.io/terms
servers:
- url: https://www.stuntdouble.io
description: Marketing site and discovery
tags:
- name: a2a
description: The public docs agent, over the A2A protocol.
paths:
/.well-known/agent-card.json:
get:
operationId: getAgentCard
tags:
- a2a
summary: A2A Agent Card
description: 'Describes the public docs agent (`a2aJsonRpc`): its interfaces, capabilities and skills.'
responses:
'200':
description: The Agent Card.
content:
application/json:
schema:
type: object
required:
- name
- description
- version
- supportedInterfaces
- skills
properties:
name:
type: string
description:
type: string
version:
type: string
provider:
type: object
properties:
organization:
type: string
url:
type: string
format: uri
supportedInterfaces:
type: array
items:
type: object
required:
- url
- protocolBinding
properties:
url:
type: string
format: uri
protocolBinding:
type: string
protocolVersion:
type: string
url:
type: string
format: uri
preferredTransport:
type: string
protocolVersion:
type: string
documentationUrl:
type: string
format: uri
iconUrl:
type: string
format: uri
capabilities:
type: object
properties:
streaming:
type: boolean
pushNotifications:
type: boolean
extendedAgentCard:
type: boolean
defaultInputModes:
type: array
items:
type: string
defaultOutputModes:
type: array
items:
type: string
skills:
type: array
items:
type: object
required:
- id
- name
- description
properties:
id:
type: string
name:
type: string
description:
type: string
tags:
type: array
items:
type: string
examples:
type: array
items:
type: string
/api/a2a:
post:
operationId: a2aJsonRpc
tags:
- a2a
summary: Ask the public docs agent
description: '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`.'
security: []
parameters:
- name: A2A-Version
in: header
required: false
schema:
type: string
enum:
- '1.0'
- '0.3'
description: The A2A protocol version. Absent means 0.3.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcRequest'
responses:
'200':
description: 'The JSON-RPC response: a Message, or an A2A error such as `-32001` (task not found) or `-32009` (version not supported).'
headers:
RateLimit:
$ref: '#/components/headers/RateLimit'
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcResponse'
'400':
description: The body is not a JSON-RPC 2.0 request.
headers:
RateLimit:
$ref: '#/components/headers/RateLimit'
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcResponse'
'429':
$ref: '#/components/responses/RateLimited'
components:
responses:
RateLimited:
description: Too many requests from this client. Wait for `Retry-After` seconds.
headers:
RateLimit:
$ref: '#/components/headers/RateLimit'
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- status
- message
- hint
- documentation_url
properties:
code:
type: string
description: Stable, machine-readable error code.
enum:
- not_found
- rate_limited
status:
type: integer
description: The HTTP status code.
message:
type: string
description: What went wrong.
hint:
type: string
description: How to resolve it.
documentation_url:
type: string
format: uri
JsonRpcResponse:
type: object
required:
- jsonrpc
properties:
jsonrpc:
type: string
const: '2.0'
id:
type:
- string
- integer
- 'null'
result: {}
error:
type: object
required:
- code
- message
properties:
code:
type: integer
message:
type: string
data: {}
JsonRpcRequest:
type: object
required:
- jsonrpc
- method
properties:
jsonrpc:
type: string
const: '2.0'
id:
type:
- string
- integer
method:
type: string
examples:
- initialize
- tools/list
- tools/call
params:
type: object
headers:
RateLimitPolicy:
description: 'The quota policy, e.g. `"public-api";q=120;w=60`: 120 requests per 60 seconds per client.'
schema:
type: string
RateLimit:
description: Remaining quota and seconds until it resets, e.g. `"public-api";r=119;t=60`.
schema:
type: string
RetryAfter:
description: Seconds to wait before retrying.
schema:
type: integer
minimum: 1
securitySchemes:
oauth2:
type: oauth2
description: OAuth 2.1 with PKCE and dynamic client registration. MCP clients discover these endpoints automatically from https://app.stuntdouble.io/.well-known/oauth-authorization-server. Request only the scopes the client needs; a client that requests none is granted all of them.
flows:
authorizationCode:
authorizationUrl: https://app.stuntdouble.io/oauth/authorize
tokenUrl: https://app.stuntdouble.io/oauth/token
scopes:
mcp:read: 'Read workspaces and their contents: members, projects, actors, checklists, interviews, workflows, feedback, run results and Stunt Double Index reports.'
mcp:write: Create and edit projects, actors, actor knowledge, guidelines, checklists, interviews, workflows and feedback statuses.
mcp:run: Start checklist runs, workflow runs, interviews and Stunt Double Index re-runs for domains you own. Checklist, workflow and interview runs consume the workspace run allowance.
externalDocs:
description: Stunt Double API overview
url: https://docs.stuntdouble.io/api