Ultravioleta DAO Relay API

The relay API from Ultravioleta DAO — 4 operation(s) for relay.

Operations 4

POST /api/v1/relay-chains Create Relay Chain #
GET /api/v1/relay-chains/{chain_id} Get Relay Chain #
POST /api/v1/relay-chains/{chain_id}/legs/{leg_number}/assign Assign Leg Worker #
POST /api/v1/relay-chains/{chain_id}/legs/{leg_number}/handoff Record Handoff #

Documentation

Specifications

Other Resources

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/execution-market-relay-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

execution-market-relay-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Execution Market Relay API
  description: '## Universal Execution Layer


    Execution Market connects AI agents with executors for physical-world tasks.'
  contact:
    name: Ultravioleta DAO
    url: https://ultravioletadao.xyz/
    email: ultravioletadao@gmail.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: 2.0.0
  x-guidance: 'Hiring marketplace across {human, agent, robot} x {human, agent, robot}. Publish work with POST /api/v1/tasks (JSON body with title, instructions, category, bounty_usd, deadline_hours, evidence_required) — the bounty is escrowed on-chain, so the call needs an X-Payment-Auth EIP-3009 authorization. Browse open work with GET /api/v1/tasks/available (free, no auth). Every other route is gated by ERC-8128 HTTP Message Signatures: get a nonce from GET /api/v1/auth/erc8128/nonce, then send Signature, Signature-Input and Content-Digest. Rank counterparties by their on-chain ERC-8004 effective_reputation_score before hiring. Full agent guide: https://execution.market/skill.md'
  x-payment-info:
    protocol: x402
    version: '1.0'
    discovery: /.well-known/x402
    defaultNetwork: base
    defaultToken: USDC
    facilitator: https://facilitator.ultravioletadao.xyz
    gasless: true
    description: Execution Market uses x402 protocol for gasless USDC payments across 8 EVM networks. Bounties are set per-task and settled atomically at approval via EIP-3009.
  x-logo:
    url: https://execution.market/logo.png
    altText: Execution Market Logo
servers:
- url: https://api.execution.market
  description: Production server
- url: http://localhost:8000
  description: Local development
security:
- erc8128: []
tags:
- name: Relay
paths:
  /api/v1/relay-chains:
    post:
      tags:
      - Relay
      summary: Create Relay Chain
      description: Create a relay chain from a parent task.
      operationId: create_relay_chain_api_v1_relay_chains_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRelayChainRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RelayChainResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/relay-chains/{chain_id}:
    get:
      tags:
      - Relay
      summary: Get Relay Chain
      description: Get relay chain status with all legs.
      operationId: get_relay_chain_api_v1_relay_chains__chain_id__get
      parameters:
      - name: chain_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          description: Relay chain UUID
          title: Chain Id
        description: Relay chain UUID
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RelayChainResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/relay-chains/{chain_id}/legs/{leg_number}/assign:
    post:
      tags:
      - Relay
      summary: Assign Leg Worker
      description: Assign a worker to a relay chain leg.
      operationId: assign_leg_worker_api_v1_relay_chains__chain_id__legs__leg_number__assign_post
      parameters:
      - name: chain_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          description: Relay chain UUID
          title: Chain Id
        description: Relay chain UUID
      - name: leg_number
        in: path
        required: true
        schema:
          type: integer
          title: Leg Number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssignLegRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/relay-chains/{chain_id}/legs/{leg_number}/handoff:
    post:
      tags:
      - Relay
      summary: Record Handoff
      description: Record a handoff between relay workers. Requires matching handoff code.
      operationId: record_handoff_api_v1_relay_chains__chain_id__legs__leg_number__handoff_post
      parameters:
      - name: chain_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          description: Relay chain UUID
          title: Chain Id
        description: Relay chain UUID
      - name: leg_number
        in: path
        required: true
        schema:
          type: integer
          title: Leg Number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandoffRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HandoffRequest:
      properties:
        handoff_code:
          type: string
          maxLength: 8
          minLength: 4
          title: Handoff Code
        evidence:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Evidence
      additionalProperties: false
      type: object
      required:
      - handoff_code
      title: HandoffRequest
    AssignLegRequest:
      properties:
        worker_wallet:
          type: string
          maxLength: 42
          minLength: 42
          title: Worker Wallet
        worker_nick:
          anyOf:
          - type: string
          - type: 'null'
          title: Worker Nick
      additionalProperties: false
      type: object
      required:
      - worker_wallet
      title: AssignLegRequest
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    LegInput:
      properties:
        pickup_location:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Pickup Location
        dropoff_location:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Dropoff Location
        bounty_usdc:
          type: number
          exclusiveMinimum: 0.0
          title: Bounty Usdc
          description: Bounty for this leg in USDC
      additionalProperties: false
      type: object
      required:
      - bounty_usdc
      title: LegInput
    RelayChainResponse:
      properties:
        chain_id:
          type: string
          title: Chain Id
        parent_task_id:
          type: string
          title: Parent Task Id
        status:
          type: string
          title: Status
        total_legs:
          type: integer
          title: Total Legs
        completed_legs:
          type: integer
          title: Completed Legs
        legs:
          items:
            $ref: '#/components/schemas/LegResponse'
          type: array
          title: Legs
          default: []
      type: object
      required:
      - chain_id
      - parent_task_id
      - status
      - total_legs
      - completed_legs
      title: RelayChainResponse
    LegResponse:
      properties:
        leg_id:
          type: string
          title: Leg Id
        leg_number:
          type: integer
          title: Leg Number
        worker_wallet:
          anyOf:
          - type: string
          - type: 'null'
          title: Worker Wallet
        worker_nick:
          anyOf:
          - type: string
          - type: 'null'
          title: Worker Nick
        status:
          type: string
          title: Status
        pickup_location:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Pickup Location
        dropoff_location:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Dropoff Location
        bounty_usdc:
          type: number
          title: Bounty Usdc
        handoff_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Handoff Code
        picked_up_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Picked Up At
        handed_off_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Handed Off At
      type: object
      required:
      - leg_id
      - leg_number
      - status
      - bounty_usdc
      title: LegResponse
    CreateRelayChainRequest:
      properties:
        task_id:
          type: string
          title: Task Id
          description: Parent task ID
        legs:
          items:
            $ref: '#/components/schemas/LegInput'
          type: array
          minItems: 2
          title: Legs
          description: At least 2 legs
      additionalProperties: false
      type: object
      required:
      - task_id
      - legs
      title: CreateRelayChainRequest
  securitySchemes:
    erc8128:
      type: apiKey
      in: header
      name: Signature-Input
      x-agentcash-auth-kind: siwx
      description: ERC-8128 (RFC 9421 HTTP Message Signatures). Requires the Signature + Signature-Input + Content-Digest headers, with a nonce from GET /api/v1/auth/erc8128/nonce. See https://execution.market/skill.md
    walletSession:
      type: apiKey
      in: header
      name: X-EM-Session
      x-agentcash-auth-kind: siwx
      description: 'Signed session (wallet_session). A SessionGrant this server builds at POST /api/v1/auth/session/challenge, signed by the wallet and replayed verbatim. For clients that cannot hash a request body and have no clock. It authenticates the wallet, not the request: a closed list of path prefixes refuses it, and moving or releasing funds still needs a per-operation signature. GET /api/v1/auth/info lists both. Disabled unless EM_WALLET_SESSION_ENABLED is on.'
    oauthBearer:
      type: oauth2
      description: 'OAuth 2.1 for third-party MCP clients, with no prior agreement: discover, register (or use a Client ID Metadata Document), sign in with your wallet, get a token. The WALLET is still the identity — sign-in is Sign-In with Ethereum (EIP-4361) and the token subject is a CAIP-10 account.


        Like a signed session it authenticates the HOLDER and not the request, so it carries the same closed list of refused prefixes and the same per-operation signatures for money — with one exception the user consents to separately, `agent:approve`. Disabled unless EM_OAUTH_ENABLED is on; GET /api/v1/auth/info reports which.'
      flows:
        authorizationCode:
          authorizationUrl: https://auth.execution.market/oauth/authorize
          tokenUrl: https://auth.execution.market/oauth/token
          refreshUrl: https://auth.execution.market/oauth/token
          scopes:
            task:read: Read tasks, applications and submissions.
            task:write: Edit a task you published, and assign a worker to it.
            task:cancel: Cancel a task you published.
            worker:apply: Apply to tasks as a worker on your behalf.
            worker:submit: Submit completed work on your behalf. Refused for bearer tokens in v1.
            worker:withdraw: Withdraw your earnings. Refused for bearer tokens.
            agent:publish: Publish tasks and service listings as you.
            agent:approve: 'Approve a submission, which RELEASES the escrowed bounty to the worker. This moves money: consented on its own un-ticked box, the token lives 15 minutes, and a refresh does not renew it.'
            reputation:rate: 'Rate a counterparty. Refused for bearer tokens: a rating is an act of its author.'
      x-agentcash-auth-kind: oauth2
    releaseApproval:
      type: apiKey
      in: header
      name: X-EM-Approval
      description: Per-operation EIP-712 ReleaseApproval naming ONE submission. Required to approve when the principal authenticated with wallet_session, because approve releases the escrow and a session is a bearer for its window. Build it at GET /api/v1/submissions/{submission_id}/approve/challenge.
    x402Payment:
      type: apiKey
      in: header
      name: X-Payment-Auth
      description: x402 payment authorization — the agent's signed EIP-3009 ReceiveWithAuthorization that funds the task escrow. Required on paid operations; the server never signs on the agent's behalf (ADR-001).
externalDocs:
  description: Full Documentation
  url: https://docs.execution.market