FarmDash Agent Hub Agent API

The Agent API from FarmDash Agent Hub — 1 operation(s) for agent.

GitHub OpenAPI

Operations 1

POST /v1/agent/futures/reconcile-order Reconcile one Hyperliquid order from authoritative venue evidence #

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/farmdash:farmdash-agent-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

farmdash-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Farmdash Agent API
  version: 2.0.0
  contact:
    name: FarmDash Engineering
    url: https://www.farmdash.one/agents
  license:
    name: MIT
  description: 'Operations tagged Agent across 2 of this provider''s published API definitions: farmdash-openapi.yaml, farmdash-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.farmdash.one/api
  description: Production
tags:
- name: Agent
paths:
  /v1/agent/futures/reconcile-order:
    parameters:
    - $ref: '#/components/parameters/X-FarmDash-Installation-ID'
    - $ref: '#/components/parameters/X-FarmDash-Client'
    - $ref: '#/components/parameters/X-FarmDash-Client-Version'
    - $ref: '#/components/parameters/X-FarmDash-Skill-Version'
    post:
      operationId: reconcilePerpOrder
      summary: Reconcile one Hyperliquid order from authoritative venue evidence
      description: 'Read-only and zero-custody: signs nothing, submits nothing, and never retries

        an order. Durable order/fill evidence uses the existing idempotent accounting

        path; balances are not execution evidence. agentAddress is the venue API-wallet

        signer, not the session agent. accountAddress identifies its delegated owner.

        Known bounded reservations are discovered by account, network, market and OID.

        Optional controlActionId selects one exact durable action for cancellation or

        unknown-submission recovery. Selection is not proof of OID linkage; unproven

        submissions remain unknown and liability stays held. For a batch cancellation,

        reconcile every signed target OID. A bounded reservation result is policy

        bookkeeping, not proof of a fill, final cancellation or recognized revenue.'
      security:
      - bearerAuth: []
      - {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReconcileOrderRequest'
            examples:
              default:
                summary: reconcilePerpOrder request
                description: Illustrative schema-conformant request; replace identifiers, wallets, amounts, signatures, and timestamps with fresh values.
                value:
                  agentAddress: '0x1111111111111111111111111111111111111111'
                  coin: ETH
                  orderId: 1
      responses:
        '200':
          description: Authoritative venue evidence recorded durably; bounded context is present only when matching reservations exist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReconcileOrderResponse'
              examples:
                success:
                  summary: reconcilePerpOrder HTTP 200
                  description: Illustrative successful response generated from the published schema.
                  value:
                    ok: true
                    reconciliation:
                      accountOwner: '0x1111111111111111111111111111111111111111'
                      signerAddress: '0x1111111111111111111111111111111111111111'
                      perpDex: hyperliquid
                      coin: ETH
                      orderId: 1
                      intentHash: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
                      clientOrderId: example_001
                      side: buy
                      orderSize: 1
                      orderPrice: 1
                      venueStatus: hyperliquid
                      venueReportedFilledSize: 1
                      reconciliationState: submitted
                      filledSize: 1
                      filledNotional: 1
                      avgFillPrice: 1
                      venueFee: 1
                      venueFeeToken: hyperliquid
                      fillCount: 1
                      terminal: true
                      reason: Illustrative FarmDash API example.
                      fills:
                      - fillId: 1
                        fillHash: '0x1111111111111111111111111111111111111111'
                        side: buy
                        size: 1
                        price: 1
                        notional: 1
                        fee: 1
                        feeToken: USDC
                        sizeRaw: '1'
                        priceRaw: '1'
                        feeRaw: '1'
                        builderFeeRaw: '1'
                        filledAt: 1
                      state: submitted
                      evidence:
                        accountOwner: '0x1111111111111111111111111111111111111111'
                        signerAddress: '0x1111111111111111111111111111111111111111'
                        perpDex: hyperliquid
                        coin: ETH
                        orderId: 1
                        intentHash: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
                        clientOrderId: example_001
                        side: buy
                        orderSize: 1
                        orderPrice: 1
                        venueStatus: hyperliquid
                        venueReportedFilledSize: 1
                        reconciliationState: submitted
                        filledSize: 1
                        filledNotional: 1
                        avgFillPrice: 1
                        venueFee: 1
                        venueFeeToken: hyperliquid
                        fillCount: 1
                        terminal: true
                        reason: Illustrative FarmDash API example.
                        fills:
                        - fillId: 1
                          fillHash: '0x1111111111111111111111111111111111111111'
                          side: buy
                          size: 1
                          price: 1
                          notional: 1
                          fee: 1
                          feeToken: USDC
                          sizeRaw: '1'
                          priceRaw: '1'
                          feeRaw: '1'
                          builderFeeRaw: '1'
                          filledAt: 1
                    builderFees:
                      state: exact
                      builderFeeTotal: '1'
                      fillCountWithBuilderFee: 1
                      feeToken: USDC
                      venueTotal: hyperliquid
                      nonBuilderVenueFee: hyperliquid
                      recipient: '0x1111111111111111111111111111111111111111'
                      signedTenthsBps: example
                      reason: Illustrative FarmDash API example.
                      fills:
                      - fillId: 1
                        fillHash: '0x1111111111111111111111111111111111111111'
                        observedBuilderFee: '1'
                        expectedBuilderFee: '1'
                        builderFeeToken: USDC
                        nonBuilderVenueFee: hyperliquid
                        state: exact
                        reason: Illustrative FarmDash API example.
                    durableEvidence:
                      recorded: true
                      note: Illustrative FarmDash API example.
                    evidenceSources:
                      orderStatus: hyperliquid_order_status
                      fills: hyperliquid_user_fills
                      methodology: direct_venue_evidence_only
                      balanceDeltasUsed: false
                    timestamp: 1
        '400':
          description: Invalid input or signer/account authority relationship
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReconcileOrderError'
              examples:
                error:
                  summary: reconcilePerpOrder HTTP 400
                  description: Illustrative structured error; live code/retryability/request ID are authoritative.
                  value:
                    ok: false
                    error: invalid_request
                    code: invalid_request
                    retryable: false
        '402':
          description: Commercial API capacity payment required; payment is not execution authority
          headers:
            PAYMENT-REQUIRED:
              description: Base64-encoded x402 v2 PaymentRequired. Illustrative only; parse the live header.
              schema:
                type: string
              example: eyJ4NDAyVmVyc2lvbiI6MiwiYWNjZXB0cyI6W3sic2NoZW1lIjoiZXhhY3QiLCJuZXR3b3JrIjoiZWlwMTU1Ojg0NTMiLCJhbW91bnQiOiIxMDAwMCIsImFzc2V0IjoiMHg4MzM1ODlmQ0Q2ZURiNkUwOGY0YzdDMzJENGY3MWI1NGJkQTAyOTEzIiwicGF5VG8iOiIweGIwRWQwZDdiY2EyNEJCYUQ2MzVCOTc3QzJlZmJFMDY3NDJlMzMzNzciLCJtYXhUaW1lb3V0U2Vjb25kcyI6MzAwfV0sInBheW1lbnRSZXF1aXJlbWVudHMiOnsic2NoZW1lIjoiZXhhY3QiLCJuZXR3b3JrIjoiZWlwMTU1Ojg0NTMiLCJhbW91bnQiOiIxMDAwMCIsImFzc2V0IjoiMHg4MzM1ODlmQ0Q2ZURiNkUwOGY0YzdDMzJENGY3MWI1NGJkQTAyOTEzIiwicGF5VG8iOiIweGIwRWQwZDdiY2EyNEJCYUQ2MzVCOTc3QzJlZmJFMDY3NDJlMzMzNzciLCJtYXhUaW1lb3V0U2Vjb25kcyI6MzAwfSwicmVzb3VyY2UiOnsidXJsIjoiaHR0cHM6Ly93d3cuZmFybWRhc2gub25lL2FwaS92MS9hZ2VudC9wcm90b2NvbHMiLCJkZXNjcmlwdGlvbiI6IklsbHVzdHJhdGl2ZSBGYXJtRGFzaCBBUEkgYWNjZXNzIn0sImZhcm1kYXNoIjp7ImV4YW1wbGVfb25seSI6dHJ1ZSwiZ3JhbnRzX3RyYW5zYWN0aW9uX2F1dGhvcml0eSI6ZmFsc2V9fQ==
            X-Payment-Required:
              description: Compatibility signal for x402.
              schema:
                type: string
                enum:
                - 'true'
              example: 'true'
            X-Payment-Amount:
              description: Illustrative Base USDC base units; live 402 is authoritative.
              schema:
                type: string
              example: '10000'
            X-Payment-Chain-Id:
              description: Illustrative payment chain.
              schema:
                type: string
              example: '8453'
            X-Payment-Address:
              description: Illustrative destination; verify live 402.
              schema:
                type: string
              example: '0xb0Ed0d7bca24BBaD635B977C2efbE06742e33377'
            X-Payment-Token:
              description: Illustrative Base USDC address; verify live 402.
              schema:
                type: string
              example: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentRequiredError'
              examples:
                x402_payment_required:
                  summary: Illustrative x402 payment challenge
                  description: Live 402 and PAYMENT-REQUIRED are authoritative. Payment grants API capacity only, never execution authority.
                  value:
                    ok: false
                    error: payment_required
                    code: free_quota_exhausted
                    message: Illustrative x402 challenge; live 402 is authoritative for route-specific price and policy.
                    instruction: STOP_RETRYING
                    retry_same_request: false
                    next_action: Wait for quota reset, upgrade, or attach valid x402 payment evidence and retry once.
                    quota:
                      tier: scout
                      remaining: 0
                      reset_at: '2026-10-30T12:00:00Z'
                    retryable: false
                    payment_required:
                      amount: 0.01 USDC
                      chain: Base
                      destination: '0xb0Ed0d7bca24BBaD635B977C2efbE06742e33377'
                      token: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
                      chainId: '8453'
        '409':
          description: controlActionId does not identify one unique durable action for this account, network and market; no liability released
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReconcileOrderError'
              examples:
                error:
                  summary: reconcilePerpOrder HTTP 409
                  description: Illustrative structured error; live code/retryability/request ID are authoritative.
                  value:
                    ok: false
                    error: conflict
                    code: conflict
                    retryable: false
        '413':
          description: Request body exceeds 1 MB
          x-farmdash-response-example:
            status: 413
            description: Request body exceeds 1 MB
            body: null
            note: Documents status semantics without inventing a response payload.
        '429':
          description: API rate limit exceeded
          x-farmdash-response-example:
            status: 429
            description: API rate limit exceeded
            body: null
            note: Documents status semantics without inventing a response payload.
        '502':
          description: Reconciliation unavailable; no execution or liability release inferred
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReconcileOrderError'
              examples:
                error:
                  summary: reconcilePerpOrder HTTP 502
                  description: Illustrative structured error; live code/retryability/request ID are authoritative.
                  value:
                    ok: false
                    error: upstream_unavailable
                    code: upstream_unavailable
                    retryable: true
        '503':
          description: Venue evidence or durable reconciliation unavailable; inspect durableEvidence before claiming persistence, and never resubmit automatically
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReconcileOrderError'
              examples:
                error:
                  summary: reconcilePerpOrder HTTP 503
                  description: Illustrative structured error; live code/retryability/request ID are authoritative.
                  value:
                    ok: false
                    error: upstream_unavailable
                    code: upstream_unavailable
                    retryable: true
      tags:
      - Agent
    servers:
    - url: https://www.farmdash.one/api
      description: Production
components:
  schemas:
    ReconcileOrderRequest:
      type: object
      additionalProperties: false
      required:
      - agentAddress
      - coin
      - orderId
      properties:
        agentAddress:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
          description: Venue API-wallet signer; never replaced by the session agent
        accountAddress:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
          description: Delegated equity owner; defaults to agentAddress
        coin:
          type: string
          pattern: ^[a-zA-Z0-9]{1,16}$
          description: Default Hyperliquid perp market symbol, normalized uppercase
        orderId:
          type: integer
          minimum: 1
          maximum: 9007199254740991
        intentHash:
          type: string
          nullable: true
          pattern: ^[a-f0-9]{64}$
          description: Optional submission provenance selector; caller hash alone is not evidence
        controlActionId:
          type: string
          format: uuid
          pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
          description: Optional exact durable bounded control action selector, not authority or proof of OID linkage
    ReconcileOrderResponse:
      type: object
      required:
      - ok
      - reconciliation
      - builderFees
      - durableEvidence
      - evidenceSources
      - timestamp
      properties:
        ok:
          type: boolean
          enum:
          - true
        reconciliation:
          $ref: '#/components/schemas/FuturesOrderReconciliation'
        boundedReconciliation:
          type: array
          description: Optional; omitted when no durable bounded actions match. An accepted reservation is not final venue cancellation.
          items:
            $ref: '#/components/schemas/BoundedFuturesReconciliation'
        builderFees:
          $ref: '#/components/schemas/FuturesBuilderFeeReconciliation'
        durableEvidence:
          $ref: '#/components/schemas/ReconcileOrderDurableEvidence'
        evidenceSources:
          type: object
          required:
          - orderStatus
          - fills
          - methodology
          - balanceDeltasUsed
          properties:
            orderStatus:
              type: string
              enum:
              - hyperliquid_order_status
            fills:
              type: string
              enum:
              - hyperliquid_user_fills
            methodology:
              type: string
              enum:
              - direct_venue_evidence_only
            balanceDeltasUsed:
              type: boolean
              enum:
              - false
        timestamp:
          type: integer
          description: Unix milliseconds
    FuturesOrderReconciliation:
      allOf:
      - $ref: '#/components/schemas/FuturesOrderReconciliationEvidence'
      - type: object
        required:
        - state
        - evidence
        properties:
          state:
            $ref: '#/components/schemas/FuturesReconciliationState'
          evidence:
            $ref: '#/components/schemas/FuturesOrderReconciliationEvidence'
    PaymentRequiredError:
      type: object
      properties:
        ok:
          type: boolean
          example: false
        error:
          type: string
          example: payment_required
        code:
          type: string
          description: '`free_quota_exhausted` when the shared Scout allowance is spent; otherwise `payment_required`.'
          example: free_quota_exhausted
        message:
          type: string
        instruction:
          type: string
          enum:
          - STOP_RETRYING
          description: Present when an exhausted free caller must not repeat the same unpaid request.
        retry_same_request:
          type: boolean
          example: false
        next_action:
          type: string
          example: Wait for your quota reset, upgrade your plan, or use x402 paid access.
        quota:
          type: object
          properties:
            tier:
              type: string
              example: scout
            remaining:
              type: integer
              example: 0
            reset_at:
              type: string
              format: date-time
        abuse_notice:
          type: string
          example: Repeated automated requests while quota is exhausted may result in temporary or permanent API blocking.
        retryable:
          type: boolean
        upgrade_url:
          type: string
          format: uri
        direct_upgrade_url:
          type: string
          format: uri
        rate_limit:
          type: object
          additionalProperties: true
        developer_sandbox:
          type: object
          additionalProperties: true
        payment_required:
          type: object
          properties:
            amount:
              type: string
              example: 0.01 USDC
            chain:
              type: string
              example: Base
            destination:
              type: string
              example: '0xb0Ed0d7bca24BBaD635B977C2efbE06742e33377'
            token:
              type: string
            chainId:
              type: string
              pattern: ^[0-9]+$
              description: Numeric string from X402PaymentPolicy; transaction chain IDs retain their own integer contracts.
              example: '8453'
    FuturesReconciledFill:
      type: object
      required:
      - fillId
      - fillHash
      - side
      - size
      - price
      - notional
      - fee
      - feeToken
      - sizeRaw
      - priceRaw
      - feeRaw
      - builderFeeRaw
      - filledAt
      properties:
        fillId:
          type: integer
        fillHash:
          type: string
        side:
          type: string
          enum:
          - buy
          - sell
        size:
          type: number
        price:
          type: number
        notional:
          type: number
        fee:
          type: number
        feeToken:
          type: string
        sizeRaw:
          type: string
          nullable: true
        priceRaw:
          type: string
          nullable: true
        feeRaw:
          type: string
          nullable: true
        builderFeeRaw:
          type: string
          nullable: true
        filledAt:
          type: integer
          description: Unix milliseconds
    FuturesBuilderFeeFill:
      type: object
      required:
      - fillId
      - fillHash
      - observedBuilderFee
      - expectedBuilderFee
      - builderFeeToken
      - nonBuilderVenueFee
      - state
      - reason
      properties:
        fillId:
          type: integer
        fillHash:
          type: string
        observedBuilderFee:
          type: string
          nullable: true
        expectedBuilderFee:
          type: string
          nullable: true
        builderFeeToken:
          type: string
          nullable: true
        nonBuilderVenueFee:
          type: string
          nullable: true
        state:
          type: string
          enum:
          - exact
          - absent
          - ambiguous
          - unavailable
        reason:
          type: string
          nullable: true
    ReconcileOrderDurableEvidence:
      type: object
      required:
      - recorded
      - note
      properties:
        recorded:
          type: boolean
          enum:
          - true
        record:
          type: object
          nullable: true
          additionalProperties: true
        note:
          type: string
    FuturesBuilderFeeReconciliation:
      type: object
      required:
      - state
      - builderFeeTotal
      - fillCountWithBuilderFee
      - feeToken
      - venueTotal
      - nonBuilderVenueFee
      - recipient
      - signedTenthsBps
      - reason
      - fills
      properties:
        state:
          type: string
          enum:
          - exact
          - absent
          - ambiguous
          - unavailable
        builderFeeTotal:
          type: string
          nullable: true
        fillCountWithBuilderFee:
          type: integer
        feeToken:
          type: string
          nullable: true
        venueTotal:
          type: string
          nullable: true
        nonBuilderVenueFee:
          type: string
          nullable: true
        recipient:
          type: string
          nullable: true
        signedTenthsBps:
          type: string
          nullable: true
        reason:
          type: string
          nullable: true
        fills:
          type: array
          items:
            $ref: '#/components/schemas/FuturesBuilderFeeFill'
    FuturesOrderReconciliationEvidence:
      type: object
      required:
      - accountOwner
      - signerAddress
      - perpDex
      - coin
      - orderId
      - intentHash
      - clientOrderId
      - side
      - orderSize
      - orderPrice
      - venueStatus
      - venueReportedFilledSize
      - reconciliationState
      - filledSize
      - filledNotional
      - avgFillPrice
      - venueFee
      - venueFeeToken
      - fillCount
      - terminal
      - reason
      - fills
      properties:
        accountOwner:
          type: string
        signerAddress:
          type: string
        perpDex:
          type: string
        coin:
          type: string
        orderId:
          type: integer
        intentHash:
          type: string
          nullable: true
        clientOrderId:
          type: string
          nullable: true
        side:
          type: string
          nullable: true
          enum:
          - buy
          - sell
          - null
        orderSize:
          type: number
          nullable: true
        orderPrice:
          type: number
          nullable: true
        venueStatus:
          type: string
          nullable: true
        venueReportedFilledSize:
          type: number
          nullable: true
        reconciliationState:
          $ref: '#/components/schemas/FuturesReconciliationState'
        filledSize:
          type: number
        filledNotional:
          type: number
        avgFillPrice:
          type: number
          nullable: true
        venueFee:
          type: number
        venueFeeToken:
          type: string
          nullable: true
        fillCount:
          type: integer
        terminal:
          type: boolean
        reason:
          type: string
          nullable: true
        fills:
          type: array
          items:
            $ref: '#/components/schemas/FuturesReconciledFill'
    BoundedFuturesReconciliation:
      type: object
      required:
      - actionId
      - result
      properties:
        actionId:
          type: string
          format: uuid
        result:
          oneOf:
          - $ref: '#/components/schemas/BoundedFuturesReservation'
          - type: object
            additionalProperties: false
            required:
            - bounded
            properties:
              bounded:
                type: boolean
                enum:
                - false
    BoundedFuturesReservation:
      type: object
      description: Durable reservation row returned by FuturesPolicyService; not proof of execution, final cancellation or revenue
      required:
      - id
      - grant_id
      - action_id
      - network
      - account_address
      - coin
      - intent_hash
      - signed_action_hash
      - venue_order_id
      - status
      - dispatched_at
      properties:
        id:
          type: string
          format: uuid
        grant_id:
          type: string
          format: uuid
        action_id:
          type: string
          format: uuid
        network:
          type: string
          enum:
          - mainnet
          - testnet
        account_address:
          type: string
        coin:
          type: string
        intent_hash:
          type: string
        signed_action_hash:
          type: string
        venue_order_id:
          type: integer
          nullable: true
        status:
          type: string
          enum:
          - submitted
          - accepted
          - held_ambiguous
          - reconciled
          - released
        dispatched_at:
          type: string
          format: date-time
        scope:
          type: string
          enum:
          - futures.open
          - futures.reduce
          - futures.close
          - futures.cancel
          - futures.protective_order
        venue_nonce:
          type: integer
        requested_notional_usd:
          oneOf:
          - type: number
          - type: string
        new_risk_usd:
          oneOf:
          - type: number
          - type: string
        risk_reducing:
          type: boolean
        expires_at:
          type: string
          format: date-time
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        evidence:
          type: object
          nullable: true
          additionalProperties: true
        cancel_target_evidence:
          type: object
          additionalProperties: true
    ReconcileOrderError:
      type: object
      description: Validation, conflict or degraded error. Established venue truth may accompany a persistence/core failure; missing durableEvidence never proves persistence. No automatic action resubmission.
      properties:
        ok:
          type: boolean
          enum:
          - false
        code:
          type: string
        error:
          oneOf:
          - type: string
          - type: object
            additionalProperties: true
        reason:
          type: string
        retryable:
          type: boolean
        degraded:
          type: object
          additionalProperties: true
        warnings:
          type: array
          items:
            type: object
            additionalProperties: true
        reconciliation:
          $ref: '#/components/schemas/FuturesOrderReconciliation'
        builderFees:
          $ref: '#/components/schemas/FuturesBuilderFeeReconciliation'
        durableEvidence:
          type: object
          required:
          - recorded
          properties:
            recorded:
              type: boolean
            record:
              type: object
              nullable: true
              additionalProperties: true
    FuturesReconciliationState:
      type: string
      enum:
      - submitted
      - resting
      - partially_filled
      - fully_filled
      - canceled
      - venue_canceled
      - rejected
      - unknown
      - ambiguous
  parameters:
    X-FarmDash-Skill-Version:
      name: X-FarmDash-Skill-Version
      in: header
      required: false
      description: Optional event-touch analytics skill version, alongside X-ClawHub-Skill; never security evidence.
      schema:
        type: string
        maxLength: 64
        pattern: ^[A-Za-z0-9._+-]{1,64}$
    X-FarmDash-Client-Version:
      name: X-FarmDash-Client-Version
      in: header
      required: false
      description: Optional analytics client version; never security evidence.
      schema:
        type: string
        maxLength: 64
        pattern: ^[A-Za-z0-9._+-]{1,64}$
    X-FarmDash-Client:
      name: X-FarmDash-Client
      in: header
      required: false
      description: Optional untrusted analytics client hint; never security evidence.
      schema:
        type: string
        enum:
        - mcp
        - ts_agent_kit
        - python_agent_kit
        - public_client
        - webapp
    X-FarmDash-Installation-ID:
      name: X-FarmDash-Installation-ID
      in: header
      required: false
      description: Optional analytics-only locally generated UUIDv4 installation hint. Stored only as a domain-separated salted hash. Not authentication, principal proof, quota, payment, wallet ownership, delegation or transaction authority. Omission changes no functionality.
      schema:
        type: string
        format: uuid
        pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89aAbB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Pioneer or Syndicate API key
x-refined-from:
- farmdash-openapi.yaml
- farmdash-openapi.yml
x-agent-use-cases:
- id: bounded-autopilot
  name: Bounded Autopilot
  tier: Syndicate
  cadence: Every 5 minutes
  purpose: Run an always-on loop inside explicit budgets, allowlists, cooldowns, quote freshness, and local-signing requirements.
  primaryTools:
  - agent_onboard
  - create_session
  - configure_autopilot
  - autopilot_cycle
  - session_heartbeat
  stopConditions:
  - Budget, allowlist, cooldown, quote freshness, or risk bound is violated.
  - Required local EIP-191 or EIP-712 signature is missing.
  - Realized performance degrades enough to require analysis_only mode.
- id: airdrop-rotation
  name: Airdrop Rotation Desk
  tier: Pioneer
  cadence: Daily or event-driven
  purpose: Watch Trail Heat, snapshots, multiplier changes, wallet health, and costs before entering, waiting, rotating, or exiting.
  primaryTools:
  - get_trail_heat
  - get_historical_trailheat
  - get_agent_events
  - simulate_points
  - get_swap_quote
  - simulate_swap_execution
  stopConditions:
  - Expected point edge is unclear or negative after fees and gas.
  - Sybil risk exceeds the configured threshold.
  - User constraints do not allow the target chain or protocol.
- id: cross-chain-roi
  name: Cross-Chain ROI Gate
  tier: Pioneer
  cadence: Before any bridge
  purpose: Bridge only when net expected edge remains positive after bridge fee, gas, slippage, and execution risk buffer.
  primaryTools:
  - get_chain_breakdown
  - get_wallet_balances
  - get_token_prices
  - get_swap_quote
  - simulate_swap_execution
  - optimize_portfolio
  stopConditions:
  - netEdgeUsd is not positive.
  - Quote age exceeds the configured freshness limit.
  - Target chain is not allowlisted.


# --- truncated at 32 KB (35 KB total) ---
# Full source: https://artifacts.apis.io/farmdash/openapi/farmdash-agent-api-openapi.yml