Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: turva.dev Agent Message:send API
version: 3.268.1
description: Read-only metadata + endpoints that declare payment, for AI agents. MPP and x402 on the /api/agent/* routes; the x402 manifest also names /x402 and /api as challenge roots. ACP checkout sessions live under /api/acp/checkout_sessions and are stateless. The free endpoint index is /api/v1. It also lists the free llms.txt validator, the free Markdown parity check, the ACP index and the A2A task routes.
contact:
name: Erik Rekola
email: info@turva.dev
url: https://turva.dev/
license:
name: Proprietary
url: https://turva.dev/legal
servers:
- url: https://turva.dev
tags:
- name: Message:send
paths:
/v1/message:send:
post:
summary: A2A message:send (HTTP+JSON transport, revision 0.3.0)
operationId: a2aMessageSend
description: Send an A2A message. Name one of the agent card skills with message.metadata.skillId (services, contact-info, company-info), or leave it out and the skills named in the message text are returned, falling back to all three. Responds with { message } carrying data parts. No authentication.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: object
required:
- parts
properties:
messageId:
type: string
description: A unique identifier for the message, typically a UUID, generated by the sender.
kind:
type: string
enum:
- message
role:
type: string
parts:
type: array
maxItems: 32
items:
type: object
properties:
kind:
type: string
text:
type: string
description: Read for skill names when metadata.skillId is absent
metadata:
type: object
properties:
skillId:
type: string
enum:
- services
- contact-info
- company-info
example:
message:
kind: message
messageId: 3f8c1a52-7e4b-4d19-9a6e-5c0b2d7f8e41
role: user
parts:
- kind: text
text: What does turva.dev sell?
metadata:
skillId: services
responses:
'200':
description: ok
content:
application/json:
schema:
type: object
'400':
description: invalid params, or more than 32 parts
content:
application/json:
schema:
type: object
'405':
description: POST only
content:
application/json:
schema:
type: object
'413':
description: body larger than 16384 bytes
content:
application/json:
schema:
type: object
tags:
- Message:send
x-payment-protocols:
- x402
- mpp
- acp
x-service-info:
categories:
- developer-tools
docs:
homepage: https://turva.dev/
llms: https://turva.dev/llms.txt
apiReference: https://turva.dev/openapi.json