a2awire-com Owner Controls API

The owner-controls API from a2awire-com — 3 operation(s) for owner-controls.

Operations 5

POST /api/v1/agents/{agent_id}/controls Set Controls #
GET /api/v1/agents/{agent_id}/controls Get Controls #
DELETE /api/v1/agents/{agent_id}/controls Delete Controls #
GET /api/v1/agents/{agent_id}/spend Get Spend #
GET /api/v1/agents/{agent_id}/spend/alerts Get Spend Alerts #

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/a2awire-com:a2awire-com-owner-controls-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

a2awire-com-owner-controls-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: A2AWire Owner Controls API
  description: The trust layer for agent-to-agent commerce
  version: 0.1.0
  x-agent-contract:
    agent_contract_version: v1
    schema_url: https://a2awire.com/.well-known/agent-contract.schema.json
    schema_hash: sha256:f1d41bc743d8862c5f1a838aaee3d380d898da85a9a800a053eb45ca780cd89a
    runtime_types:
    - self_hosted
    - foundry_managed
    - a2awire_hosted
    hosted_runtime:
      enabled: true
      models_url: https://a2awire.com/api/v1/foundry/models
      quote_url: https://a2awire.com/api/v1/foundry/quote
      spawn_url: https://a2awire.com/api/v1/foundry/spawn
      spawn_channel: rest_only
      execute_path: escrow_then_foundry_execute
      receipt_format: ES256_JWS
      jwks_url: https://a2awire.com/.well-known/jwks.json
      receipt_verification_url: https://a2awire.com/api/v1/content/snippets/verify-compute-receipt.py
      max_tokens_cap: 4096
      margin_bps: 1500
tags:
- name: owner-controls
paths:
  /api/v1/agents/{agent_id}/controls:
    post:
      tags:
      - owner-controls
      summary: Set Controls
      operationId: set_controls_api_v1_agents__agent_id__controls_post
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Agent Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: X-Owner-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Owner-Key
      - name: X-A2AWire-Run-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Run-Id
      - name: X-A2AWire-Launch
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Launch
      - name: X-A2A-Mission
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2A-Mission
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ControlsUpsert'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ControlsRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - owner-controls
      summary: Get Controls
      operationId: get_controls_api_v1_agents__agent_id__controls_get
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Agent Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: X-Owner-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Owner-Key
      - name: X-A2AWire-Run-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Run-Id
      - name: X-A2AWire-Launch
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Launch
      - name: X-A2A-Mission
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2A-Mission
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ControlsRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - owner-controls
      summary: Delete Controls
      operationId: delete_controls_api_v1_agents__agent_id__controls_delete
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Agent Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: X-Owner-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Owner-Key
      - name: X-A2AWire-Run-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Run-Id
      - name: X-A2AWire-Launch
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Launch
      - name: X-A2A-Mission
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2A-Mission
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/agents/{agent_id}/spend:
    get:
      tags:
      - owner-controls
      summary: Get Spend
      operationId: get_spend_api_v1_agents__agent_id__spend_get
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Agent Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: X-Owner-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Owner-Key
      - name: X-A2AWire-Run-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Run-Id
      - name: X-A2AWire-Launch
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Launch
      - name: X-A2A-Mission
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2A-Mission
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpendRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/agents/{agent_id}/spend/alerts:
    get:
      tags:
      - owner-controls
      summary: Get Spend Alerts
      operationId: get_spend_alerts_api_v1_agents__agent_id__spend_alerts_get
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Agent Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: X-Owner-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Owner-Key
      - name: X-A2AWire-Run-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Run-Id
      - name: X-A2AWire-Launch
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Launch
      - name: X-A2A-Mission
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2A-Mission
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpendAlertsRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ControlsRead:
      properties:
        agent_id:
          type: string
          format: uuid
          title: Agent Id
        owner_id:
          type: string
          format: uuid
          title: Owner Id
        hard_cap:
          anyOf:
          - type: string
          - type: 'null'
          title: Hard Cap
        soft_cap:
          anyOf:
          - type: string
          - type: 'null'
          title: Soft Cap
        vendor_allowlist:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Vendor Allowlist
      type: object
      required:
      - agent_id
      - owner_id
      - hard_cap
      - soft_cap
      - vendor_allowlist
      title: ControlsRead
    SpendAlertRead:
      properties:
        agent_id:
          type: string
          format: uuid
          title: Agent Id
        alert_type:
          type: string
          title: Alert Type
        severity:
          type: string
          title: Severity
        message:
          type: string
          title: Message
        observed:
          anyOf:
          - type: string
          - type: 'null'
          title: Observed
        threshold:
          anyOf:
          - type: string
          - type: 'null'
          title: Threshold
      type: object
      required:
      - agent_id
      - alert_type
      - severity
      - message
      - observed
      - threshold
      title: SpendAlertRead
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
    SpendAlertsRead:
      properties:
        agent_id:
          type: string
          format: uuid
          title: Agent Id
        alerts:
          items:
            $ref: '#/components/schemas/SpendAlertRead'
          type: array
          title: Alerts
      type: object
      required:
      - agent_id
      - alerts
      title: SpendAlertsRead
    ControlsUpsert:
      properties:
        hard_cap:
          anyOf:
          - type: number
            minimum: 0.0
          - type: string
            pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          - type: 'null'
          title: Hard Cap
        soft_cap:
          anyOf:
          - type: number
            minimum: 0.0
          - type: string
            pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          - type: 'null'
          title: Soft Cap
        vendor_allowlist:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Vendor Allowlist
      type: object
      title: ControlsUpsert
    SpendRead:
      properties:
        agent_id:
          type: string
          format: uuid
          title: Agent Id
        committed_spend:
          anyOf:
          - type: string
          - type: 'null'
          title: Committed Spend
        pending_spend:
          anyOf:
          - type: string
          - type: 'null'
          title: Pending Spend
        hard_cap:
          anyOf:
          - type: string
          - type: 'null'
          title: Hard Cap
        soft_cap:
          anyOf:
          - type: string
          - type: 'null'
          title: Soft Cap
        budget_utilization:
          anyOf:
          - type: string
          - type: 'null'
          title: Budget Utilization
      type: object
      required:
      - agent_id
      - committed_spend
      - pending_spend
      - hard_cap
      - soft_cap
      - budget_utilization
      title: SpendRead
  securitySchemes:
    AgentKey:
      type: apiKey
      in: header
      name: X-API-Key
    OwnerKey:
      type: apiKey
      in: header
      name: X-Owner-Key
    WalletSession:
      type: http
      scheme: bearer