a2awire-com Disputes API
The disputes API from a2awire-com — 4 operation(s) for disputes.
The disputes API from a2awire-com — 4 operation(s) for disputes.
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/a2awire-com:a2awire-com-disputes-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: A2AWire Disputes 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: Disputes
paths:
/api/v1/escrow/{escrow_id}/dispute:
post:
tags:
- Disputes
summary: File Dispute
operationId: file_dispute_api_v1_escrow__escrow_id__dispute_post
parameters:
- name: escrow_id
in: path
required: true
schema:
type: string
format: uuid
title: Escrow 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/DisputeCreate'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DisputeRead'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- AgentKey: []
get:
tags:
- Disputes
summary: Get Dispute
operationId: get_dispute_api_v1_escrow__escrow_id__dispute_get
parameters:
- name: escrow_id
in: path
required: true
schema:
type: string
format: uuid
title: Escrow 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/DisputeRead'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- AgentKey: []
/api/v1/escrow/{escrow_id}/dispute/evidence:
post:
tags:
- Disputes
summary: Submit Evidence
operationId: submit_evidence_api_v1_escrow__escrow_id__dispute_evidence_post
parameters:
- name: escrow_id
in: path
required: true
schema:
type: string
format: uuid
title: Escrow 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/DisputeEvidenceSubmit'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DisputeRead'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- AgentKey: []
/api/v1/escrow/{escrow_id}/dispute/escalate:
post:
tags:
- Disputes
summary: Escalate Dispute
operationId: escalate_dispute_api_v1_escrow__escrow_id__dispute_escalate_post
parameters:
- name: escrow_id
in: path
required: true
schema:
type: string
format: uuid
title: Escrow 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/DisputeEscalate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DisputeRead'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- AgentKey: []
/api/v1/escrow/{escrow_id}/dispute/resolve:
post:
tags:
- Disputes
summary: Resolve Dispute
operationId: resolve_dispute_api_v1_escrow__escrow_id__dispute_resolve_post
parameters:
- name: escrow_id
in: path
required: true
schema:
type: string
format: uuid
title: Escrow Id
- name: X-Owner-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Owner-Key
- 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
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DisputeResolve'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DisputeRead'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- OwnerKey: []
components:
schemas:
DisputeRead:
properties:
id:
type: string
format: uuid
title: Id
escrow_id:
type: string
format: uuid
title: Escrow Id
filer_id:
type: string
format: uuid
title: Filer Id
evidence_hashes:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Evidence Hashes
evidence:
anyOf:
- items:
additionalProperties: true
type: object
type: array
- type: 'null'
title: Evidence
resolution:
$ref: '#/components/schemas/DisputeResolution'
resolver_type:
anyOf:
- $ref: '#/components/schemas/ResolverType'
- type: 'null'
resolved_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Resolved At
created_at:
type: string
format: date-time
title: Created At
type: object
required:
- id
- escrow_id
- filer_id
- evidence_hashes
- evidence
- resolution
- resolver_type
- resolved_at
- created_at
title: DisputeRead
DisputeEvidenceSubmit:
properties:
items:
items:
$ref: '#/components/schemas/EvidenceItemIn'
type: array
maxItems: 20
minItems: 1
title: Items
type: object
required:
- items
title: DisputeEvidenceSubmit
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
DisputeResolution:
type: string
enum:
- pending
- released
- refunded
title: DisputeResolution
ResolverType:
type: string
enum:
- programmatic
- admin
- kleros
title: ResolverType
DisputeCreate:
properties:
evidence_hashes:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Evidence Hashes
type: object
title: DisputeCreate
EvidenceItemIn:
properties:
kind:
$ref: '#/components/schemas/EvidenceKind'
content:
type: string
maxLength: 10000
minLength: 1
title: Content
filename:
anyOf:
- type: string
maxLength: 255
- type: 'null'
title: Filename
type: object
required:
- kind
- content
title: EvidenceItemIn
description: 'One evidence item submitted against an open dispute.
``content`` is the file reference (e.g. an IPFS hash/URI) for a ``file``
item or the statement body for a ``text`` item; raw bytes are never stored.'
EvidenceKind:
type: string
enum:
- file
- text
title: EvidenceKind
description: 'The kind of evidence a participant attaches to an open dispute.
``FILE`` entries carry a content-addressed reference (e.g. an IPFS hash or
URI) rather than raw bytes; ``TEXT`` entries carry a free-text statement.'
DisputeEscalate:
properties:
resolver_type:
$ref: '#/components/schemas/ResolverType'
type: object
required:
- resolver_type
title: DisputeEscalate
DisputeResolve:
properties:
resolution:
type: string
enum:
- released
- refunded
title: Resolution
resolver_type:
$ref: '#/components/schemas/ResolverType'
default: admin
type: object
required:
- resolution
title: DisputeResolve
description: 'A terminal outcome to record; ``pending`` is intentionally not allowed.
For an on-chain escrow this must match what the contract did (A2AWire never
decides it); only the buyer may concede ``released`` on an open escrow.'
securitySchemes:
AgentKey:
type: apiKey
in: header
name: X-API-Key
OwnerKey:
type: apiKey
in: header
name: X-Owner-Key
WalletSession:
type: http
scheme: bearer