UsageMax Agent protocols API

The Agent protocols API from UsageMax — 1 operation(s) for agent protocols.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /a2a Send A2A message #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/usagemax-com:usagemax-com-agent-protocols-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

usagemax-com-agent-protocols-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UsageMax Agent protocols API
  version: 1.0.0
  description: API version 1. Public UsageMax read APIs and the authenticated, content-free CLI ingestion contract. UsageMax never accepts prompts, completions, source code, file paths, tool arguments, or secrets. Version 1 is supported; deprecated endpoints return Deprecation and Sunset headers.
  contact:
    name: UsageMax
    url: https://usagemax.com/contact
    email: hello@usagemax.com
  license:
    name: MIT
    url: https://github.com/SYMBaiEX/usagemax/blob/main/LICENSE
servers:
- url: https://usagemax.com
  description: Production API
tags:
- name: Agent protocols
paths:
  /a2a:
    post:
      tags:
      - Agent protocols
      operationId: sendA2AMessage
      description: Answer one bounded public UsageMax question over JSON-RPC 2.0 using the A2A SendMessage or standard message/send method alias. This interface is read-only, does not create or persist tasks, and accepts text parts only; requests are capped at 32 KiB and questions at 500 characters.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - jsonrpc
              - id
              - method
              - params
              additionalProperties: false
              properties:
                jsonrpc:
                  const: '2.0'
                id:
                  oneOf:
                  - type: string
                  - type: integer
                  - type: 'null'
                method:
                  enum:
                  - SendMessage
                  - message/send
                params:
                  type: object
                  required:
                  - message
                  additionalProperties: false
                  properties:
                    message:
                      type: object
                      required:
                      - parts
                      additionalProperties: false
                      properties:
                        parts:
                          type: array
                          minItems: 1
                          maxItems: 8
                          items:
                            type: object
                            required:
                            - text
                            additionalProperties: false
                            properties:
                              text:
                                type: string
                                minLength: 1
                                maxLength: 500
          application/a2a+json:
            schema:
              type: object
              required:
              - jsonrpc
              - id
              - method
              - params
              additionalProperties: false
              properties:
                jsonrpc:
                  const: '2.0'
                id:
                  oneOf:
                  - type: string
                  - type: integer
                  - type: 'null'
                method:
                  enum:
                  - SendMessage
                  - message/send
                params:
                  type: object
                  required:
                  - message
                  additionalProperties: false
                  properties:
                    message:
                      type: object
                      required:
                      - parts
                      additionalProperties: false
                      properties:
                        parts:
                          type: array
                          minItems: 1
                          maxItems: 8
                          items:
                            type: object
                            required:
                            - text
                            additionalProperties: false
                            properties:
                              text:
                                type: string
                                minLength: 1
                                maxLength: 500
      responses:
        '200':
          description: A direct A2A message or JSON-RPC error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    const: '2.0'
                  id:
                    oneOf:
                    - type: string
                    - type: integer
                    - type: 'null'
                  result:
                    type: object
                    properties:
                      message:
                        type: object
                        properties:
                          messageId:
                            type: string
                          role:
                            const: ROLE_AGENT
                          parts:
                            type: array
                            items:
                              type: object
                              properties:
                                text:
                                  type: string
        '400':
          description: invalid_request or invalid_params
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                - hint
                - documentation
                properties:
                  error:
                    type: string
                    description: Stable machine-readable error code.
                    example: unauthorized
                  message:
                    type: string
                    description: Human-readable explanation.
                    example: A valid UsageMax collector token is required.
                  hint:
                    type: string
                    description: Actionable recovery guidance.
                    example: Link this computer and send the bearer token in Authorization.
                  documentation:
                    type: string
                    format: uri
                    description: Canonical documentation reference for this error contract.
                    example: https://usagemax.com/docs
        '415':
          description: content_type_must_be_application_json
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                - hint
                - documentation
                properties:
                  error:
                    type: string
                    description: Stable machine-readable error code.
                    example: unauthorized
                  message:
                    type: string
                    description: Human-readable explanation.
                    example: A valid UsageMax collector token is required.
                  hint:
                    type: string
                    description: Actionable recovery guidance.
                    example: Link this computer and send the bearer token in Authorization.
                  documentation:
                    type: string
                    format: uri
                    description: Canonical documentation reference for this error contract.
                    example: https://usagemax.com/docs
      summary: Send A2A message
      x-summary-source: derived
components:
  securitySchemes:
    gatewayBearer:
      type: http
      scheme: bearer
      bearerFormat: umxg_ followed by 64 lowercase hex characters
    collectorBearer:
      type: http
      scheme: bearer
      bearerFormat: UsageMax collector token (umx_ plus 64 lowercase hex characters)
    workosBearer:
      type: http
      scheme: bearer
      bearerFormat: WorkOS Connect JWT; delegated scopes enforced by the resource