Teardrop Admin / A2A API

The Admin / A2A API from Teardrop — 5 operation(s) for admin / a2a.

GitHub OpenAPI

Operations 5

POST /admin/a2a/agents Admin Add A2A Agent #
GET /admin/a2a/agents/{org_id} Admin List A2A Agents #
DELETE /admin/a2a/agents/{agent_id} Admin Delete A2A Agent #
GET /admin/a2a/delegations/possibly-delivered Admin List Possibly Delivered Delegations #
POST /admin/a2a/delegations/{delegation_id}/resolve Admin Resolve A2A Delegation #

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/teardrop-dev:teardrop-dev-admin-a2a-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

teardrop-dev-admin-a2a-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Teardrop Admin / A2A API
  description: The open API and billing gateway for autonomous economic agents
  version: 2.13.0
tags:
- name: Admin / A2A
paths:
  /admin/a2a/agents:
    post:
      tags:
      - Admin / A2A
      summary: Admin Add A2A Agent
      description: Add a trusted A2A agent to an org's allowlist.
      operationId: admin_add_a2a_agent_admin_a2a_agents_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateA2AAgentRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/A2AAgentResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /admin/a2a/agents/{org_id}:
    get:
      tags:
      - Admin / A2A
      summary: Admin List A2A Agents
      description: List all trusted A2A agents for an org.
      operationId: admin_list_a2a_agents_admin_a2a_agents__org_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: org_id
        in: path
        required: true
        schema:
          type: string
          title: Org Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/A2AAgentListItem'
                title: Response Admin List A2A Agents Admin A2A Agents  Org Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/a2a/agents/{agent_id}:
    delete:
      tags:
      - Admin / A2A
      summary: Admin Delete A2A Agent
      description: Remove an A2A agent from an org's allowlist.
      operationId: admin_delete_a2a_agent_admin_a2a_agents__agent_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/A2AAgentDeletedResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/a2a/delegations/possibly-delivered:
    get:
      tags:
      - Admin / A2A
      summary: Admin List Possibly Delivered Delegations
      description: List paid delegations whose delivery outcome needs operator review.
      operationId: admin_list_possibly_delivered_delegations_admin_a2a_delegations_possibly_delivered_get
      security:
      - HTTPBearer: []
      parameters:
      - name: org_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Org Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PossiblyDeliveredDelegationItem'
                title: Response Admin List Possibly Delivered Delegations Admin A2A Delegations Possibly Delivered Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/a2a/delegations/{delegation_id}/resolve:
    post:
      tags:
      - Admin / A2A
      summary: Admin Resolve A2A Delegation
      description: Resolve one ambiguous delivery without re-dispatching the task.
      operationId: admin_resolve_a2a_delegation_admin_a2a_delegations__delegation_id__resolve_post
      security:
      - HTTPBearer: []
      parameters:
      - name: delegation_id
        in: path
        required: true
        schema:
          type: string
          title: Delegation Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResolveA2ADelegationRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResolveA2ADelegationResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    A2AAgentResponse:
      properties:
        id:
          type: string
          title: Id
        org_id:
          type: string
          title: Org Id
        agent_url:
          type: string
          title: Agent Url
        label:
          anyOf:
          - type: string
          - type: 'null'
          title: Label
        max_cost_usdc:
          type: integer
          title: Max Cost Usdc
        require_x402:
          type: boolean
          title: Require X402
        jwt_forward:
          type: boolean
          title: Jwt Forward
      type: object
      required:
      - id
      - org_id
      - agent_url
      - max_cost_usdc
      - require_x402
      - jwt_forward
      title: A2AAgentResponse
    ResolveA2ADelegationResponse:
      properties:
        id:
          type: string
          title: Id
        org_id:
          type: string
          title: Org Id
        outcome:
          type: string
          enum:
          - confirmed
          - failed
          title: Outcome
        refund_status:
          type: string
          enum:
          - cancelled
          - refunded
          title: Refund Status
      type: object
      required:
      - id
      - org_id
      - outcome
      - refund_status
      title: ResolveA2ADelegationResponse
    CreateA2AAgentRequest:
      properties:
        org_id:
          type: string
          title: Org Id
        agent_url:
          type: string
          maxLength: 2000
          minLength: 10
          title: Agent Url
        label:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Label
        max_cost_usdc:
          type: integer
          title: Max Cost Usdc
          description: Per-delegation cost cap in atomic USDC (0 = global default)
          default: 0
        require_x402:
          type: boolean
          title: Require X402
          description: Require x402 payment for this agent
          default: false
        jwt_forward:
          type: boolean
          title: Jwt Forward
          description: Forward caller JWT as Authorization header to this agent
          default: false
      type: object
      required:
      - org_id
      - agent_url
      title: CreateA2AAgentRequest
    PossiblyDeliveredDelegationItem:
      properties:
        id:
          type: string
          title: Id
        org_id:
          type: string
          title: Org Id
        run_id:
          type: string
          title: Run Id
        amount_usdc:
          type: integer
          title: Amount Usdc
        refund_status:
          type: string
          title: Refund Status
        delivery_status:
          type: string
          const: possibly_delivered
          title: Delivery Status
        agent_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Agent Url
        agent_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Agent Name
        task_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Task Status
        task_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Task Type
        billing_method:
          anyOf:
          - type: string
          - type: 'null'
          title: Billing Method
        settlement_tx:
          anyOf:
          - type: string
          - type: 'null'
          title: Settlement Tx
        delivery_settlement_tx:
          anyOf:
          - type: string
          - type: 'null'
          title: Delivery Settlement Tx
        delivery_error:
          anyOf:
          - type: string
          - type: 'null'
          title: Delivery Error
        delivery_started_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Delivery Started At
          description: ISO 8601 timestamp.
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
          description: ISO 8601 timestamp.
      type: object
      required:
      - id
      - org_id
      - run_id
      - amount_usdc
      - refund_status
      - delivery_status
      title: PossiblyDeliveredDelegationItem
    ResolveA2ADelegationRequest:
      properties:
        org_id:
          type: string
          maxLength: 200
          minLength: 1
          title: Org Id
        outcome:
          type: string
          enum:
          - confirmed
          - failed
          title: Outcome
        settlement_tx:
          anyOf:
          - type: string
            maxLength: 66
            pattern: ^0x[a-fA-F0-9]{64}$
          - type: 'null'
          title: Settlement Tx
        reason:
          type: string
          maxLength: 500
          title: Reason
          default: ''
      type: object
      required:
      - org_id
      - outcome
      title: ResolveA2ADelegationRequest
    A2AAgentListItem:
      properties:
        id:
          type: string
          title: Id
        org_id:
          type: string
          title: Org Id
        agent_url:
          type: string
          title: Agent Url
        label:
          anyOf:
          - type: string
          - type: 'null'
          title: Label
        max_cost_usdc:
          type: integer
          title: Max Cost Usdc
        require_x402:
          type: boolean
          title: Require X402
        jwt_forward:
          type: boolean
          title: Jwt Forward
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
          description: ISO 8601 timestamp; null if unavailable.
      type: object
      required:
      - id
      - org_id
      - agent_url
      - max_cost_usdc
      - require_x402
      - jwt_forward
      title: A2AAgentListItem
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    A2AAgentDeletedResponse:
      properties:
        deleted:
          type: string
          title: Deleted
          description: The deleted agent's id.
      type: object
      required:
      - deleted
      title: A2AAgentDeletedResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer