> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rhinestone.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Intent

> Submits a quoted intent for execution. Takes the `intentId` from `POST /quotes` (`routes[].intentId`) plus one ordered `proofs[]` answering the quote's `signingRequests[]` position by position.



## OpenAPI

````yaml https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json post /intents
openapi: 3.0.0
info:
  title: Rhinestone Orchestrator API
  version: 2026-09.caucasus
servers:
  - url: https://v1.orchestrator.rhinestone.dev
security: []
paths:
  /intents:
    post:
      tags:
        - Intents
      summary: Create Intent
      description: >-
        Submits a quoted intent for execution. Takes the `intentId` from `POST
        /quotes` (`routes[].intentId`) plus one ordered `proofs[]` answering the
        quote's `signingRequests[]` position by position.
      operationId: createIntent
      parameters:
        - name: x-api-version
          in: header
          required: true
          schema:
            type: string
            enum:
              - 2026-09.caucasus
          description: API version. Required; pinned to this document.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                intentId:
                  type: string
                  pattern: ^\d+$
                  description: >-
                    Identifier of the intent returned by `POST /quotes` (as
                    `routes[].intentId`).
                proofs:
                  type: array
                  items:
                    oneOf:
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - eip712
                          signature:
                            anyOf:
                              - description: >-
                                  A single signature, used for both claim
                                  encodings
                                example: >-
                                  0x1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1c
                                type: string
                                pattern: ^0x[a-fA-F0-9]*$
                              - type: object
                                properties:
                                  preClaim:
                                    description: >-
                                      Signature over the fund-pull (pre-claim)
                                      encoding
                                    example: >-
                                      0x1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1c
                                    type: string
                                    pattern: ^0x[a-fA-F0-9]*$
                                  notarizedClaim:
                                    description: >-
                                      Signature over the notarized claim
                                      encoding
                                    example: >-
                                      0x1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1c
                                    type: string
                                    pattern: ^0x[a-fA-F0-9]*$
                                required:
                                  - preClaim
                                  - notarizedClaim
                                additionalProperties: false
                                description: >-
                                  Two encodings of one authorization. Accepted
                                  only on an origin request the account itself
                                  verifies.
                        required:
                          - kind
                          - signature
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - personalSign
                          signature:
                            description: Signature over the requested message
                            example: >-
                              0x1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1c
                            type: string
                            pattern: ^0x[a-fA-F0-9]*$
                        required:
                          - kind
                          - signature
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - eip7702
                          nonce:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                            description: >-
                              Authorization nonce the signer used. The chain and
                              the delegate come from the request, not from here.
                            example: 3
                          signature:
                            type: object
                            properties:
                              r:
                                type: string
                                pattern: ^0x[a-fA-F0-9]*$
                              s:
                                type: string
                                pattern: ^0x[a-fA-F0-9]*$
                              yParity:
                                description: Parity of the authorization signature
                                example: 0
                                anyOf:
                                  - type: number
                                    enum:
                                      - 0
                                  - type: number
                                    enum:
                                      - 1
                            required:
                              - r
                              - s
                              - yParity
                            additionalProperties: false
                        required:
                          - kind
                          - nonce
                          - signature
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - webauthn
                          assertion:
                            type: object
                            properties:
                              credentialId:
                                type: string
                                minLength: 1
                                description: >-
                                  The credential the assertion was made with, as
                                  `PublicKeyCredential.id` (base64url) reports
                                  it
                              authenticatorData:
                                type: string
                                pattern: ^0x(?:[0-9a-fA-F]{2}){37,}$
                                description: >-
                                  The authenticator data the authenticator
                                  returned, as 0x-prefixed hex. At least 37
                                  bytes: RP id hash, flags and sign counter.
                              clientDataJSON:
                                type: string
                                pattern: ^\{[\s\S]*\}$
                                description: >-
                                  The client data exactly as the authenticator
                                  returned it, decoded as UTF-8 JSON text — not
                                  base64, not re-serialized. The signature
                                  covers its hash byte for byte.
                                example: >-
                                  {"type":"webauthn.get","challenge":"o_LB1OW2p5gPHi08S1ppeIeWpbTD0uHwobLD1OX2Bxg","origin":"https://app.example.com"}
                              signature:
                                type: string
                                pattern: ^0x[0-9a-fA-F]{128}$
                                description: >-
                                  The P-256 signature as 64-byte r‖s,
                                  0x-prefixed hex — not the DER encoding the
                                  authenticator returns.
                              userHandle:
                                description: >-
                                  The user handle the authenticator returned
                                  with the assertion, when it returned one
                                type: string
                            required:
                              - credentialId
                              - authenticatorData
                              - clientDataJSON
                              - signature
                            additionalProperties: false
                        required:
                          - kind
                          - assertion
                        additionalProperties: false
                        description: >-
                          Answers a `webauthn` request, which a Solana spend out
                          of a passkey-owned Swig is served. Verified against
                          the Swig role’s secp256r1 key at submit.
                    description: >-
                      The proof answering one signing request. Its `kind` must
                      match the request at the same index.
                    discriminator:
                      propertyName: kind
                  description: >-
                    One proof per signing request the quote served, in the same
                    order. A missing or extra entry is refused.
                options:
                  description: Internal use only.
                  type: object
                  properties:
                    dryRun:
                      type: boolean
                  additionalProperties: false
              required:
                - intentId
                - proofs
              additionalProperties: false
      responses:
        '201':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  intentId:
                    type: string
                    pattern: ^\d+$
                required:
                  - intentId
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - VALIDATION_ERROR
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Human-readable issue description
                            context:
                              description: >-
                                Structured issue context (e.g. `{ path:
                                "destination.chainId" }`)
                              type: object
                              additionalProperties: true
                          required:
                            - message
                        description: Per-field validation issues
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - SIMULATION_FAILED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          nonce:
                            type: string
                          category:
                            type: string
                          errorSelector:
                            type: string
                          errorName:
                            type: string
                          errorArgs:
                            type: object
                            additionalProperties:
                              type: string
                          retryable:
                            type: boolean
                          retryHint:
                            type: string
                            enum:
                              - RE_PREPARE
                              - RETRY_LATER
                          revertedBy:
                            description: >-
                              Contract that produced the revert, when the
                              simulator recovered it from a call trace. Names
                              the called address (a proxy rather than its
                              implementation).
                            type: string
                          simulations: {}
                        required:
                          - category
                          - errorSelector
                          - errorName
                          - retryable
                        additionalProperties: true
                        description: Classified on-chain simulation failure details
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - INSUFFICIENT_LIQUIDITY
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          availableIntents:
                            type: array
                            items:
                              type: object
                              additionalProperties:
                                type: string
                            description: Intents fillable with current liquidity
                          unfillable:
                            type: object
                            additionalProperties:
                              type: string
                            description: Token amounts that cannot be filled
                        required:
                          - availableIntents
                          - unfillable
                        description: Fillable subset and unfillable remainder
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - KEY_SCOPE_DENIED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                            context:
                              type: object
                              properties:
                                scope:
                                  type: string
                                  enum:
                                    - allowMainnet
                                    - intents
                                    - deposits
                                  description: Which scope rejected the request
                                required:
                                  description: Minimum level the endpoint demands
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - read
                                        - write
                                actual:
                                  description: Level resolved on the key
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - none
                                        - read
                                        - write
                              required:
                                - scope
                                - required
                                - actual
                          required:
                            - message
                            - context
                        description: Single-element list describing the failing scope
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - NOT_FOUND
                          - UNAUTHORIZED
                          - FORBIDDEN
                          - SPONSORSHIP_BINDING_MISMATCH
                          - SPONSORSHIP_BINDING_UNSUPPORTED
                          - QUOTE_AUTHORIZATION_MISSING
                          - QUOTE_OWNER_MISMATCH
                          - QUOTE_AUTHORIZATION_EXPIRED
                          - SPONSORSHIP_AUTHORIZATION_USED
                          - CONFLICT
                          - WITHDRAWAL_IN_PROGRESS
                          - UNPROCESSABLE_CONTENT
                          - TOO_MANY_REQUESTS
                          - SETTLEMENT_QUOTE_ERROR
                          - SETTLEMENT_EXECUTION_ERROR
                          - EXTERNAL_SERVICE_TIMEOUT
                          - RELAYER_MARKET_UNAVAILABLE
                          - SERVICE_PAUSED
                          - DEPENDENCY_UNAVAILABLE
                          - INTERNAL_ERROR
                        description: Machine-readable error code
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        description: The error and its structured context
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Error message
                            context:
                              description: >-
                                Structured context. A planning refusal names its
                                reason in `context.code` (e.g.
                                `NO_PLAN_AVAILABLE`).
                              type: object
                              additionalProperties: true
                          required:
                            - message
                    required:
                      - code
                      - message
                discriminator:
                  propertyName: code
        '403':
          description: API key scope denied
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - VALIDATION_ERROR
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Human-readable issue description
                            context:
                              description: >-
                                Structured issue context (e.g. `{ path:
                                "destination.chainId" }`)
                              type: object
                              additionalProperties: true
                          required:
                            - message
                        description: Per-field validation issues
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - SIMULATION_FAILED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          nonce:
                            type: string
                          category:
                            type: string
                          errorSelector:
                            type: string
                          errorName:
                            type: string
                          errorArgs:
                            type: object
                            additionalProperties:
                              type: string
                          retryable:
                            type: boolean
                          retryHint:
                            type: string
                            enum:
                              - RE_PREPARE
                              - RETRY_LATER
                          revertedBy:
                            description: >-
                              Contract that produced the revert, when the
                              simulator recovered it from a call trace. Names
                              the called address (a proxy rather than its
                              implementation).
                            type: string
                          simulations: {}
                        required:
                          - category
                          - errorSelector
                          - errorName
                          - retryable
                        additionalProperties: true
                        description: Classified on-chain simulation failure details
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - INSUFFICIENT_LIQUIDITY
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          availableIntents:
                            type: array
                            items:
                              type: object
                              additionalProperties:
                                type: string
                            description: Intents fillable with current liquidity
                          unfillable:
                            type: object
                            additionalProperties:
                              type: string
                            description: Token amounts that cannot be filled
                        required:
                          - availableIntents
                          - unfillable
                        description: Fillable subset and unfillable remainder
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - KEY_SCOPE_DENIED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                            context:
                              type: object
                              properties:
                                scope:
                                  type: string
                                  enum:
                                    - allowMainnet
                                    - intents
                                    - deposits
                                  description: Which scope rejected the request
                                required:
                                  description: Minimum level the endpoint demands
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - read
                                        - write
                                actual:
                                  description: Level resolved on the key
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - none
                                        - read
                                        - write
                              required:
                                - scope
                                - required
                                - actual
                          required:
                            - message
                            - context
                        description: Single-element list describing the failing scope
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - NOT_FOUND
                          - UNAUTHORIZED
                          - FORBIDDEN
                          - SPONSORSHIP_BINDING_MISMATCH
                          - SPONSORSHIP_BINDING_UNSUPPORTED
                          - QUOTE_AUTHORIZATION_MISSING
                          - QUOTE_OWNER_MISMATCH
                          - QUOTE_AUTHORIZATION_EXPIRED
                          - SPONSORSHIP_AUTHORIZATION_USED
                          - CONFLICT
                          - WITHDRAWAL_IN_PROGRESS
                          - UNPROCESSABLE_CONTENT
                          - TOO_MANY_REQUESTS
                          - SETTLEMENT_QUOTE_ERROR
                          - SETTLEMENT_EXECUTION_ERROR
                          - EXTERNAL_SERVICE_TIMEOUT
                          - RELAYER_MARKET_UNAVAILABLE
                          - SERVICE_PAUSED
                          - DEPENDENCY_UNAVAILABLE
                          - INTERNAL_ERROR
                        description: Machine-readable error code
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        description: The error and its structured context
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Error message
                            context:
                              description: >-
                                Structured context. A planning refusal names its
                                reason in `context.code` (e.g.
                                `NO_PLAN_AVAILABLE`).
                              type: object
                              additionalProperties: true
                          required:
                            - message
                    required:
                      - code
                      - message
                discriminator:
                  propertyName: code
        '404':
          description: >-
            The quoted intent has expired or was already submitted. Request a
            new route to retry.
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - VALIDATION_ERROR
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Human-readable issue description
                            context:
                              description: >-
                                Structured issue context (e.g. `{ path:
                                "destination.chainId" }`)
                              type: object
                              additionalProperties: true
                          required:
                            - message
                        description: Per-field validation issues
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - SIMULATION_FAILED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          nonce:
                            type: string
                          category:
                            type: string
                          errorSelector:
                            type: string
                          errorName:
                            type: string
                          errorArgs:
                            type: object
                            additionalProperties:
                              type: string
                          retryable:
                            type: boolean
                          retryHint:
                            type: string
                            enum:
                              - RE_PREPARE
                              - RETRY_LATER
                          revertedBy:
                            description: >-
                              Contract that produced the revert, when the
                              simulator recovered it from a call trace. Names
                              the called address (a proxy rather than its
                              implementation).
                            type: string
                          simulations: {}
                        required:
                          - category
                          - errorSelector
                          - errorName
                          - retryable
                        additionalProperties: true
                        description: Classified on-chain simulation failure details
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - INSUFFICIENT_LIQUIDITY
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          availableIntents:
                            type: array
                            items:
                              type: object
                              additionalProperties:
                                type: string
                            description: Intents fillable with current liquidity
                          unfillable:
                            type: object
                            additionalProperties:
                              type: string
                            description: Token amounts that cannot be filled
                        required:
                          - availableIntents
                          - unfillable
                        description: Fillable subset and unfillable remainder
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - KEY_SCOPE_DENIED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                            context:
                              type: object
                              properties:
                                scope:
                                  type: string
                                  enum:
                                    - allowMainnet
                                    - intents
                                    - deposits
                                  description: Which scope rejected the request
                                required:
                                  description: Minimum level the endpoint demands
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - read
                                        - write
                                actual:
                                  description: Level resolved on the key
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - none
                                        - read
                                        - write
                              required:
                                - scope
                                - required
                                - actual
                          required:
                            - message
                            - context
                        description: Single-element list describing the failing scope
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - NOT_FOUND
                          - UNAUTHORIZED
                          - FORBIDDEN
                          - SPONSORSHIP_BINDING_MISMATCH
                          - SPONSORSHIP_BINDING_UNSUPPORTED
                          - QUOTE_AUTHORIZATION_MISSING
                          - QUOTE_OWNER_MISMATCH
                          - QUOTE_AUTHORIZATION_EXPIRED
                          - SPONSORSHIP_AUTHORIZATION_USED
                          - CONFLICT
                          - WITHDRAWAL_IN_PROGRESS
                          - UNPROCESSABLE_CONTENT
                          - TOO_MANY_REQUESTS
                          - SETTLEMENT_QUOTE_ERROR
                          - SETTLEMENT_EXECUTION_ERROR
                          - EXTERNAL_SERVICE_TIMEOUT
                          - RELAYER_MARKET_UNAVAILABLE
                          - SERVICE_PAUSED
                          - DEPENDENCY_UNAVAILABLE
                          - INTERNAL_ERROR
                        description: Machine-readable error code
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        description: The error and its structured context
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Error message
                            context:
                              description: >-
                                Structured context. A planning refusal names its
                                reason in `context.code` (e.g.
                                `NO_PLAN_AVAILABLE`).
                              type: object
                              additionalProperties: true
                          required:
                            - message
                    required:
                      - code
                      - message
                discriminator:
                  propertyName: code
        '409':
          description: The intent or its shared sponsorship authorization was already used.
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - VALIDATION_ERROR
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Human-readable issue description
                            context:
                              description: >-
                                Structured issue context (e.g. `{ path:
                                "destination.chainId" }`)
                              type: object
                              additionalProperties: true
                          required:
                            - message
                        description: Per-field validation issues
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - SIMULATION_FAILED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          nonce:
                            type: string
                          category:
                            type: string
                          errorSelector:
                            type: string
                          errorName:
                            type: string
                          errorArgs:
                            type: object
                            additionalProperties:
                              type: string
                          retryable:
                            type: boolean
                          retryHint:
                            type: string
                            enum:
                              - RE_PREPARE
                              - RETRY_LATER
                          revertedBy:
                            description: >-
                              Contract that produced the revert, when the
                              simulator recovered it from a call trace. Names
                              the called address (a proxy rather than its
                              implementation).
                            type: string
                          simulations: {}
                        required:
                          - category
                          - errorSelector
                          - errorName
                          - retryable
                        additionalProperties: true
                        description: Classified on-chain simulation failure details
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - INSUFFICIENT_LIQUIDITY
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          availableIntents:
                            type: array
                            items:
                              type: object
                              additionalProperties:
                                type: string
                            description: Intents fillable with current liquidity
                          unfillable:
                            type: object
                            additionalProperties:
                              type: string
                            description: Token amounts that cannot be filled
                        required:
                          - availableIntents
                          - unfillable
                        description: Fillable subset and unfillable remainder
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - KEY_SCOPE_DENIED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                            context:
                              type: object
                              properties:
                                scope:
                                  type: string
                                  enum:
                                    - allowMainnet
                                    - intents
                                    - deposits
                                  description: Which scope rejected the request
                                required:
                                  description: Minimum level the endpoint demands
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - read
                                        - write
                                actual:
                                  description: Level resolved on the key
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - none
                                        - read
                                        - write
                              required:
                                - scope
                                - required
                                - actual
                          required:
                            - message
                            - context
                        description: Single-element list describing the failing scope
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - NOT_FOUND
                          - UNAUTHORIZED
                          - FORBIDDEN
                          - SPONSORSHIP_BINDING_MISMATCH
                          - SPONSORSHIP_BINDING_UNSUPPORTED
                          - QUOTE_AUTHORIZATION_MISSING
                          - QUOTE_OWNER_MISMATCH
                          - QUOTE_AUTHORIZATION_EXPIRED
                          - SPONSORSHIP_AUTHORIZATION_USED
                          - CONFLICT
                          - WITHDRAWAL_IN_PROGRESS
                          - UNPROCESSABLE_CONTENT
                          - TOO_MANY_REQUESTS
                          - SETTLEMENT_QUOTE_ERROR
                          - SETTLEMENT_EXECUTION_ERROR
                          - EXTERNAL_SERVICE_TIMEOUT
                          - RELAYER_MARKET_UNAVAILABLE
                          - SERVICE_PAUSED
                          - DEPENDENCY_UNAVAILABLE
                          - INTERNAL_ERROR
                        description: Machine-readable error code
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        description: The error and its structured context
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Error message
                            context:
                              description: >-
                                Structured context. A planning refusal names its
                                reason in `context.code` (e.g.
                                `NO_PLAN_AVAILABLE`).
                              type: object
                              additionalProperties: true
                          required:
                            - message
                    required:
                      - code
                      - message
                discriminator:
                  propertyName: code
        '422':
          description: Simulation found the account short of balance or allowance.
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - VALIDATION_ERROR
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Human-readable issue description
                            context:
                              description: >-
                                Structured issue context (e.g. `{ path:
                                "destination.chainId" }`)
                              type: object
                              additionalProperties: true
                          required:
                            - message
                        description: Per-field validation issues
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - SIMULATION_FAILED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          nonce:
                            type: string
                          category:
                            type: string
                          errorSelector:
                            type: string
                          errorName:
                            type: string
                          errorArgs:
                            type: object
                            additionalProperties:
                              type: string
                          retryable:
                            type: boolean
                          retryHint:
                            type: string
                            enum:
                              - RE_PREPARE
                              - RETRY_LATER
                          revertedBy:
                            description: >-
                              Contract that produced the revert, when the
                              simulator recovered it from a call trace. Names
                              the called address (a proxy rather than its
                              implementation).
                            type: string
                          simulations: {}
                        required:
                          - category
                          - errorSelector
                          - errorName
                          - retryable
                        additionalProperties: true
                        description: Classified on-chain simulation failure details
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - INSUFFICIENT_LIQUIDITY
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          availableIntents:
                            type: array
                            items:
                              type: object
                              additionalProperties:
                                type: string
                            description: Intents fillable with current liquidity
                          unfillable:
                            type: object
                            additionalProperties:
                              type: string
                            description: Token amounts that cannot be filled
                        required:
                          - availableIntents
                          - unfillable
                        description: Fillable subset and unfillable remainder
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - KEY_SCOPE_DENIED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                            context:
                              type: object
                              properties:
                                scope:
                                  type: string
                                  enum:
                                    - allowMainnet
                                    - intents
                                    - deposits
                                  description: Which scope rejected the request
                                required:
                                  description: Minimum level the endpoint demands
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - read
                                        - write
                                actual:
                                  description: Level resolved on the key
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - none
                                        - read
                                        - write
                              required:
                                - scope
                                - required
                                - actual
                          required:
                            - message
                            - context
                        description: Single-element list describing the failing scope
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - NOT_FOUND
                          - UNAUTHORIZED
                          - FORBIDDEN
                          - SPONSORSHIP_BINDING_MISMATCH
                          - SPONSORSHIP_BINDING_UNSUPPORTED
                          - QUOTE_AUTHORIZATION_MISSING
                          - QUOTE_OWNER_MISMATCH
                          - QUOTE_AUTHORIZATION_EXPIRED
                          - SPONSORSHIP_AUTHORIZATION_USED
                          - CONFLICT
                          - WITHDRAWAL_IN_PROGRESS
                          - UNPROCESSABLE_CONTENT
                          - TOO_MANY_REQUESTS
                          - SETTLEMENT_QUOTE_ERROR
                          - SETTLEMENT_EXECUTION_ERROR
                          - EXTERNAL_SERVICE_TIMEOUT
                          - RELAYER_MARKET_UNAVAILABLE
                          - SERVICE_PAUSED
                          - DEPENDENCY_UNAVAILABLE
                          - INTERNAL_ERROR
                        description: Machine-readable error code
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        description: The error and its structured context
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Error message
                            context:
                              description: >-
                                Structured context. A planning refusal names its
                                reason in `context.code` (e.g.
                                `NO_PLAN_AVAILABLE`).
                              type: object
                              additionalProperties: true
                          required:
                            - message
                    required:
                      - code
                      - message
                discriminator:
                  propertyName: code
        '500':
          description: Server error
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - VALIDATION_ERROR
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Human-readable issue description
                            context:
                              description: >-
                                Structured issue context (e.g. `{ path:
                                "destination.chainId" }`)
                              type: object
                              additionalProperties: true
                          required:
                            - message
                        description: Per-field validation issues
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - SIMULATION_FAILED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          nonce:
                            type: string
                          category:
                            type: string
                          errorSelector:
                            type: string
                          errorName:
                            type: string
                          errorArgs:
                            type: object
                            additionalProperties:
                              type: string
                          retryable:
                            type: boolean
                          retryHint:
                            type: string
                            enum:
                              - RE_PREPARE
                              - RETRY_LATER
                          revertedBy:
                            description: >-
                              Contract that produced the revert, when the
                              simulator recovered it from a call trace. Names
                              the called address (a proxy rather than its
                              implementation).
                            type: string
                          simulations: {}
                        required:
                          - category
                          - errorSelector
                          - errorName
                          - retryable
                        additionalProperties: true
                        description: Classified on-chain simulation failure details
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - INSUFFICIENT_LIQUIDITY
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          availableIntents:
                            type: array
                            items:
                              type: object
                              additionalProperties:
                                type: string
                            description: Intents fillable with current liquidity
                          unfillable:
                            type: object
                            additionalProperties:
                              type: string
                            description: Token amounts that cannot be filled
                        required:
                          - availableIntents
                          - unfillable
                        description: Fillable subset and unfillable remainder
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - KEY_SCOPE_DENIED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                            context:
                              type: object
                              properties:
                                scope:
                                  type: string
                                  enum:
                                    - allowMainnet
                                    - intents
                                    - deposits
                                  description: Which scope rejected the request
                                required:
                                  description: Minimum level the endpoint demands
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - read
                                        - write
                                actual:
                                  description: Level resolved on the key
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - none
                                        - read
                                        - write
                              required:
                                - scope
                                - required
                                - actual
                          required:
                            - message
                            - context
                        description: Single-element list describing the failing scope
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - NOT_FOUND
                          - UNAUTHORIZED
                          - FORBIDDEN
                          - SPONSORSHIP_BINDING_MISMATCH
                          - SPONSORSHIP_BINDING_UNSUPPORTED
                          - QUOTE_AUTHORIZATION_MISSING
                          - QUOTE_OWNER_MISMATCH
                          - QUOTE_AUTHORIZATION_EXPIRED
                          - SPONSORSHIP_AUTHORIZATION_USED
                          - CONFLICT
                          - WITHDRAWAL_IN_PROGRESS
                          - UNPROCESSABLE_CONTENT
                          - TOO_MANY_REQUESTS
                          - SETTLEMENT_QUOTE_ERROR
                          - SETTLEMENT_EXECUTION_ERROR
                          - EXTERNAL_SERVICE_TIMEOUT
                          - RELAYER_MARKET_UNAVAILABLE
                          - SERVICE_PAUSED
                          - DEPENDENCY_UNAVAILABLE
                          - INTERNAL_ERROR
                        description: Machine-readable error code
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        description: The error and its structured context
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Error message
                            context:
                              description: >-
                                Structured context. A planning refusal names its
                                reason in `context.code` (e.g.
                                `NO_PLAN_AVAILABLE`).
                              type: object
                              additionalProperties: true
                          required:
                            - message
                    required:
                      - code
                      - message
                discriminator:
                  propertyName: code
        '503':
          description: Intent submission or the router contract is paused.
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - VALIDATION_ERROR
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Human-readable issue description
                            context:
                              description: >-
                                Structured issue context (e.g. `{ path:
                                "destination.chainId" }`)
                              type: object
                              additionalProperties: true
                          required:
                            - message
                        description: Per-field validation issues
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - SIMULATION_FAILED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          nonce:
                            type: string
                          category:
                            type: string
                          errorSelector:
                            type: string
                          errorName:
                            type: string
                          errorArgs:
                            type: object
                            additionalProperties:
                              type: string
                          retryable:
                            type: boolean
                          retryHint:
                            type: string
                            enum:
                              - RE_PREPARE
                              - RETRY_LATER
                          revertedBy:
                            description: >-
                              Contract that produced the revert, when the
                              simulator recovered it from a call trace. Names
                              the called address (a proxy rather than its
                              implementation).
                            type: string
                          simulations: {}
                        required:
                          - category
                          - errorSelector
                          - errorName
                          - retryable
                        additionalProperties: true
                        description: Classified on-chain simulation failure details
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - INSUFFICIENT_LIQUIDITY
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: object
                        properties:
                          availableIntents:
                            type: array
                            items:
                              type: object
                              additionalProperties:
                                type: string
                            description: Intents fillable with current liquidity
                          unfillable:
                            type: object
                            additionalProperties:
                              type: string
                            description: Token amounts that cannot be filled
                        required:
                          - availableIntents
                          - unfillable
                        description: Fillable subset and unfillable remainder
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - KEY_SCOPE_DENIED
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                            context:
                              type: object
                              properties:
                                scope:
                                  type: string
                                  enum:
                                    - allowMainnet
                                    - intents
                                    - deposits
                                  description: Which scope rejected the request
                                required:
                                  description: Minimum level the endpoint demands
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - read
                                        - write
                                actual:
                                  description: Level resolved on the key
                                  anyOf:
                                    - type: boolean
                                    - type: string
                                      enum:
                                        - none
                                        - read
                                        - write
                              required:
                                - scope
                                - required
                                - actual
                          required:
                            - message
                            - context
                        description: Single-element list describing the failing scope
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - NOT_FOUND
                          - UNAUTHORIZED
                          - FORBIDDEN
                          - SPONSORSHIP_BINDING_MISMATCH
                          - SPONSORSHIP_BINDING_UNSUPPORTED
                          - QUOTE_AUTHORIZATION_MISSING
                          - QUOTE_OWNER_MISMATCH
                          - QUOTE_AUTHORIZATION_EXPIRED
                          - SPONSORSHIP_AUTHORIZATION_USED
                          - CONFLICT
                          - WITHDRAWAL_IN_PROGRESS
                          - UNPROCESSABLE_CONTENT
                          - TOO_MANY_REQUESTS
                          - SETTLEMENT_QUOTE_ERROR
                          - SETTLEMENT_EXECUTION_ERROR
                          - EXTERNAL_SERVICE_TIMEOUT
                          - RELAYER_MARKET_UNAVAILABLE
                          - SERVICE_PAUSED
                          - DEPENDENCY_UNAVAILABLE
                          - INTERNAL_ERROR
                        description: Machine-readable error code
                      message:
                        type: string
                        description: Human-readable error message
                        example: Invalid input
                      details:
                        description: The error and its structured context
                        type: array
                        items:
                          type: object
                          properties:
                            message:
                              type: string
                              description: Error message
                            context:
                              description: >-
                                Structured context. A planning refusal names its
                                reason in `context.code` (e.g.
                                `NO_PLAN_AVAILABLE`).
                              type: object
                              additionalProperties: true
                          required:
                            - message
                    required:
                      - code
                      - message
                discriminator:
                  propertyName: code
      security:
        - apiKeyAuth: []
        - bearerAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Project API key.
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Integrator-issued access token (JWT authentication mode).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.