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

# Get maker performance

> Get your maker's trading P&L per period between `from` and `through`.

Requires a key for a maker with `vault:read`.



## OpenAPI

````yaml /hyperliquid/openapi.json get /v1/makers/{maker_id}/performance
openapi: 3.1.1
info:
  title: Totalis Hyperliquid API
  description: >-
    REST API for Totalis singles and parlays on Hyperliquid HIP-4 outcome
    markets, for client integrations and external market makers.


    There are three ways in, each sent as `Authorization: Bearer <credential>`:


    - **Scoped API key** (`ttk_`), for servers, bots and market makers. The
    account owner creates it in the Totalis app, or a wallet-session user
    creates one with `POST /v1/me/api-keys` and a fresh wallet signature (see
    API keys). It acts for one account, yours or a maker's, with only the scopes
    it holds, and needs no `Origin`.

    - **Wallet session**, for users who bring their own wallet to a partner's
    web page. The page signs the wallet in with `POST
    /v1/auth/wallet-challenges` and `POST /v1/auth/wallet-sessions`; the session
    is bound to the page's registered `Origin` and must be sent from it. Pages
    may also label their traffic with their publishable browser key in
    `X-Totalis-Partner: tpb_...`.

    - **Partner server key** (`tpk_`), only for `POST
    /v1/partner/wallet-admissions`, which lets a new wallet open its account
    during the invite-only launch, `GET /v1/partner/report`, your fees, terms
    and payouts, `GET /v1/partner/fills`, each fee event on your users'
    positions, `GET /v1/partner/webhook-events`, the webhook events Totalis
    queued for you, and `GET /v1/partner/accounts/{wallet}/account-value`, the
    value of an account you admitted. Server to server, never in a browser, and
    never with an `Origin`.


    Public market reads need no credential. A credential only authenticates:
    every bet, cash-out and withdrawal also carries the wallet or maker
    signature the HyperEVM contract verifies. An external wallet sends `POST
    /v1/core-exits` to move its vault cash to HyperCore before a HyperCore
    order.


    For access, partner credentials (origins, browser and server keys), builder
    codes or staging, email
    [founders@totalis.trade](mailto:founders@totalis.trade).


    Amounts are base-10 strings in native USDC atomic units, large identifiers
    are decimal strings, and every command `POST` requires an `Idempotency-Key`
    header.


    Every error is `{error: {code, message, retry, request_id,
    field_violations}}`. `code` is stable; each operation lists the codes it
    returns per status. `retry` is `NEVER` (stop), `BACKOFF` (resend the same
    request with the same `Idempotency-Key` after `Retry-After` seconds) or
    `REFRESH` (re-read state, then send a new request with a new key).
    `field_violations` names invalid inputs by JSON pointer, such as
    `/legs/0/side`.
  version: 239.0.0-maker-opened-via
servers:
  - url: https://hip4-api.totalis.trade
    description: Production public edge
  - url: https://hip4-api-staging.totalis.trade
    description: Staging and chain-998 public edge
security: []
tags:
  - name: Markets
    description: >-
      HIP-4 questions and markets, their sides and price history. No API key
      needed.
  - name: RFQs & Quotes
    description: >-
      RFQs and the quotes that answer them: what a taker calls, then what a
      maker calls.
  - name: Positions
    description: Positions the account holds, or its maker backs.
  - name: Account
    description: >-
      The account a key acts for: identity, balances, activity, operations,
      withdrawals, deposits and HyperCore exits.
  - name: Makers
    description: >-
      The rest of a maker's setup after Making: admission, quote history,
      capital and collateral.
  - name: Partners & wallet sign-in
    description: >-
      A partner admits its users' own wallets, which sign in from the partner's
      pages, and reads its own report, fills, webhook events and its users'
      account values.
  - name: API keys
    description: >-
      Issue, rotate and revoke scoped keys from a wallet session. An API key
      cannot manage keys.
  - name: Deployment
    description: The contract deployment every signature is made against.
  - name: WebSocket
    description: The authenticated WebSocket for account and maker updates.
paths:
  /v1/makers/{maker_id}/performance:
    get:
      tags:
        - Makers
      summary: Get maker performance
      description: |-
        Get your maker's trading P&L per period between `from` and `through`.

        Requires a key for a maker with `vault:read`.
      operationId: getMakerPerformance
      parameters:
        - $ref: '#/components/parameters/MakerIdPathRequired'
        - $ref: '#/components/parameters/FromQueryRequired'
        - $ref: '#/components/parameters/ThroughQueryRequired'
        - name: Origin
          in: header
          required: false
          schema:
            type: string
          description: Required for browser sessions; API keys do not require an Origin.
          example: https://totalis.trade
      responses:
        '200':
          description: >-
            Complete periods aggregate the positions that closed economically in
            them; incomplete periods return unavailable metrics. Gas stays
            unavailable until the payer of every transaction receipt is
            attributed. Scoped read with one freshness status; amounts are
            atomic USDC strings or null. No shared caching.
          headers:
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
            Vary:
              $ref: '#/components/headers/Vary'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Performance'
              example:
                context:
                  as_of: '2026-09-17T12:00:00Z'
                  status: CURRENT
                from: '2026-09-17T00:00:00Z'
                through: '2026-09-17T12:00:00Z'
                recognition: REALIZED_AT_ECONOMIC_CLOSE_V1
                history_from: '2026-09-01T00:00:00Z'
                closed_ticket_count: '1'
                won_ticket_count: '0'
                lost_ticket_count: '0'
                even_ticket_count: '1'
                settled_net_stake: '100000000'
                gross_trading_pnl: '0'
                gross_winning_pnl: '0'
                gross_losing_pnl: '0'
                attributed_fees: '0'
                net_trading_pnl: '0'
                external_inflows: '0'
                external_outflows: '0'
                series:
                  - at: '2026-09-17T00:00:00Z'
                    net_trading_pnl: '0'
                    closed_ticket_count: '0'
                    net_trading_pnl_change: '0'
                  - at: '2026-09-17T12:00:00Z'
                    net_trading_pnl: '0'
                    closed_ticket_count: '1'
                    net_trading_pnl_change: '0'
        '400':
          description: >-
            - `INVALID_QUERY` (retry `NEVER`): A query parameter is malformed,
            out of range or not accepted by this operation. `field_violations`
            names it.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Error'
                  - properties:
                      error:
                        description: The error this operation returns with this status.
                        properties:
                          code:
                            description: >-
                              One of the registered codes listed in this
                              response's description.
                            enum:
                              - INVALID_QUERY
                          retry:
                            description: >-
                              The retry rule the registry fixes for the returned
                              code.
                            enum:
                              - NEVER
        '401':
          description: >-
            - `UNAUTHENTICATED` (retry `NEVER`): The credential is missing,
            invalid, expired or revoked.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Error'
                  - properties:
                      error:
                        description: The error this operation returns with this status.
                        properties:
                          code:
                            description: >-
                              One of the registered codes listed in this
                              response's description.
                            enum:
                              - UNAUTHENTICATED
                          retry:
                            description: >-
                              The retry rule the registry fixes for the returned
                              code.
                            enum:
                              - NEVER
        '403':
          description: >-
            - `FORBIDDEN` (retry `NEVER`): The credential is valid but lacks the
            scope, permission or role this operation needs.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Error'
                  - properties:
                      error:
                        description: The error this operation returns with this status.
                        properties:
                          code:
                            description: >-
                              One of the registered codes listed in this
                              response's description.
                            enum:
                              - FORBIDDEN
                          retry:
                            description: >-
                              The retry rule the registry fixes for the returned
                              code.
                            enum:
                              - NEVER
        '404':
          description: >-
            - `NOT_FOUND` (retry `NEVER`): The resource does not exist or is not
            visible to this credential.

            - `IDENTITY_NOT_FOUND` (retry `NEVER`): The account has no venue
            identity yet; bind the embedded wallet first.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Error'
                  - properties:
                      error:
                        description: The error this operation returns with this status.
                        properties:
                          code:
                            description: >-
                              One of the registered codes listed in this
                              response's description.
                            enum:
                              - NOT_FOUND
                              - IDENTITY_NOT_FOUND
                          retry:
                            description: >-
                              The retry rule the registry fixes for the returned
                              code.
                            enum:
                              - NEVER
        '429':
          description: >-
            - `RATE_LIMITED` (retry `BACKOFF`): The request quota for this
            credential or route is exhausted.
          headers:
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Error'
                  - properties:
                      error:
                        description: The error this operation returns with this status.
                        properties:
                          code:
                            description: >-
                              One of the registered codes listed in this
                              response's description.
                            enum:
                              - RATE_LIMITED
                          retry:
                            description: >-
                              The retry rule the registry fixes for the returned
                              code.
                            enum:
                              - BACKOFF
        '503':
          description: >-
            - `AUTHORIZATION_UNAVAILABLE` (retry `BACKOFF`): Identity or
            credential authority storage is unavailable.

            - `DEPENDENCY_STALE` (retry `BACKOFF`): A projection or upstream the
            request depends on (chain projection, HyperCore state, database) is
            behind its freshness bound or unavailable.

            - `SOURCE_UNAVAILABLE` (retry `BACKOFF`): The account-read or stream
            source is unavailable.

            - `CONTRACT_UNAVAILABLE` (retry `BACKOFF`): This producer is
            disabled in this environment.
          headers:
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Error'
                  - properties:
                      error:
                        description: The error this operation returns with this status.
                        properties:
                          code:
                            description: >-
                              One of the registered codes listed in this
                              response's description.
                            enum:
                              - AUTHORIZATION_UNAVAILABLE
                              - DEPENDENCY_STALE
                              - SOURCE_UNAVAILABLE
                              - CONTRACT_UNAVAILABLE
                          retry:
                            description: >-
                              The retry rule the registry fixes for the returned
                              code.
                            enum:
                              - BACKOFF
      security:
        - apiKey:
            - vault:read
components:
  parameters:
    MakerIdPathRequired:
      name: maker_id
      in: path
      required: true
      description: >-
        On-chain maker ID, as a decimal string. An API key may only name the
        maker it is bound to; other makers return 404.
      schema:
        $ref: '#/components/schemas/NonZeroUInt64String'
      example: '7'
    FromQueryRequired:
      name: from
      in: query
      required: true
      description: Inclusive RFC3339 start of the performance period.
      schema:
        type: string
        format: date-time
      example: '2026-09-01T00:00:00Z'
    ThroughQueryRequired:
      name: through
      in: query
      required: true
      description: Exclusive RFC3339 end of the performance period; must be after from.
      schema:
        type: string
        format: date-time
      example: '2026-09-26T00:00:00Z'
  headers:
    CacheControl:
      description: Always `no-store`; account data must not be cached.
      schema:
        const: no-store
    Vary:
      schema:
        type: string
      description: >-
        The response varies by the Authorization header, so shared caches must
        not reuse it across credentials.
    RetryAfter:
      description: Seconds to wait before resending the same request
      schema:
        type: integer
        minimum: 1
  schemas:
    Performance:
      type: object
      required:
        - context
        - from
        - through
        - recognition
        - closed_ticket_count
        - settled_net_stake
        - gross_trading_pnl
        - attributed_fees
        - net_trading_pnl
        - external_inflows
        - external_outflows
        - won_ticket_count
        - lost_ticket_count
        - even_ticket_count
        - history_from
        - gross_winning_pnl
        - gross_losing_pnl
      properties:
        context:
          $ref: '#/components/schemas/ReadContext'
          description: >-
            Freshness of this read: the oldest source observation and one status
            for every amount in the response.
        from:
          type: string
          format: date-time
          description: >-
            Inclusive RFC3339 start of the requested period, echoed from the
            query.
        through:
          type: string
          format: date-time
          description: >-
            Exclusive RFC3339 end of the requested period, echoed from the
            query.
        recognition:
          const: REALIZED_AT_ECONOMIC_CLOSE_V1
          description: >-
            P&L recognition rule: realized at economic close (settlement or
            sell-back), version 1. Claims do not recognize P&L again.
        history_from:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            Earliest from this maker's periods can start at and still be
            complete: the later of where retained vault history and venue
            workflows begin, or the maker's opening block if later still.
            Request from=history_from for an all-time period. Null while vault
            history is unavailable.
        closed_ticket_count:
          oneOf:
            - type: string
              pattern: ^(0|[1-9][0-9]{0,77})$
            - type: 'null'
          description: >-
            Tickets economically closed in the period, as a decimal string; null
            when settled_net_stake is null.
        won_ticket_count:
          oneOf:
            - type: string
              pattern: ^(0|[1-9][0-9]{0,77})$
            - type: 'null'
          description: >-
            Closes in the period the maker won (positive maker P&L), as a
            decimal string; null exactly when closed_ticket_count is null.
        lost_ticket_count:
          oneOf:
            - type: string
              pattern: ^(0|[1-9][0-9]{0,77})$
            - type: 'null'
          description: >-
            Closes in the period the maker lost (negative maker P&L), as a
            decimal string; null exactly when closed_ticket_count is null.
        even_ticket_count:
          oneOf:
            - type: string
              pattern: ^(0|[1-9][0-9]{0,77})$
            - type: 'null'
          description: >-
            Closes in the period with zero maker P&L, as a decimal string; null
            exactly when closed_ticket_count is null. Won, lost and even add up
            to closed_ticket_count.
        settled_net_stake:
          $ref: '#/components/schemas/UnsignedMetric'
          description: Net stake released by economic closes in the period.
        gross_trading_pnl:
          $ref: '#/components/schemas/Metric'
          description: >-
            Signed maker trading P&L from closes in the period (net stake minus
            effective payout).
        gross_winning_pnl:
          $ref: '#/components/schemas/Metric'
          description: >-
            Sum of the maker P&L of the period's closes the maker won (each
            positive), so never negative. gross_winning_pnl + gross_losing_pnl =
            gross_trading_pnl; profit factor is gross_winning_pnl /
            -gross_losing_pnl.
        gross_losing_pnl:
          $ref: '#/components/schemas/Metric'
          description: >-
            Sum of the maker P&L of the period's closes the maker lost (each
            negative), so never positive.
        attributed_fees:
          $ref: '#/components/schemas/UnsignedMetric'
          description: >-
            Fees the maker paid in the period. Taker fees are not maker
            expenses.
        net_trading_pnl:
          $ref: '#/components/schemas/Metric'
          description: Signed gross_trading_pnl minus attributed_fees.
        external_inflows:
          $ref: '#/components/schemas/UnsignedMetric'
          description: Deposits into the maker vault in the period; never P&L.
        external_outflows:
          $ref: '#/components/schemas/UnsignedMetric'
          description: Executed maker withdrawals in the period; never P&L.
        series:
          type: array
          description: >-
            Cumulative net realized P&L at UTC day boundaries within the
            requested interval, from the same revision as totals, in atomic USDC
            (6 decimals, "1000000" = 1 USDC): the opening zero point at from,
            one point per UTC day with closes or maker-paid fees, then through
            if no day ends there. Each point carries the closes since the
            previous one, so a day with closes is told apart from the synthetic
            endpoints. Empty when net_trading_pnl is null.
          items:
            type: object
            required:
              - at
              - net_trading_pnl
              - closed_ticket_count
              - net_trading_pnl_change
            properties:
              at:
                type: string
                format: date-time
                description: >-
                  Point time: from for the opening zero point, then the end of
                  each UTC day with closes (capped at through), then through.
              net_trading_pnl:
                type: string
                pattern: ^-?(0|[1-9][0-9]{0,77})$
                description: >-
                  Cumulative signed net trading P&L from from up to at, in
                  atomic USDC (6 decimals, "1000000" = 1 USDC).
              closed_ticket_count:
                type: string
                pattern: ^(0|[1-9][0-9]{0,77})$
                description: >-
                  Closes since the previous point, as a decimal string: the
                  day's closes for a day point ("0" only on a day whose
                  maker-paid fees moved P&L); "0" for the opening point and for
                  a through point added after the last such day.
              net_trading_pnl_change:
                type: string
                pattern: ^(0|-?[1-9][0-9]{0,77})$
                description: >-
                  Net trading P&L of those closes: net_trading_pnl minus the
                  previous point's. A day point with closes is a real close day
                  even when this is "0".
      description: >-
        Maker realized performance for a period. Every period aggregate is null
        unless the whole period is covered by reconciled history.
      allOf:
        - if:
            properties:
              settled_net_stake:
                type: 'null'
          then:
            properties:
              closed_ticket_count:
                type: 'null'
              won_ticket_count:
                type: 'null'
              lost_ticket_count:
                type: 'null'
              even_ticket_count:
                type: 'null'
          else:
            properties:
              closed_ticket_count:
                $ref: '#/components/schemas/Amount'
              won_ticket_count:
                $ref: '#/components/schemas/Amount'
              lost_ticket_count:
                $ref: '#/components/schemas/Amount'
              even_ticket_count:
                $ref: '#/components/schemas/Amount'
        - if:
            anyOf:
              - properties:
                  gross_trading_pnl:
                    type: 'null'
                title: Gross trading pnl
              - properties:
                  attributed_fees:
                    type: 'null'
                title: Attributed fees
          then:
            properties:
              net_trading_pnl:
                type: 'null'
        - if:
            properties:
              settled_net_stake:
                type: 'null'
          then:
            properties:
              gross_trading_pnl:
                type: 'null'
              gross_winning_pnl:
                type: 'null'
              gross_losing_pnl:
                type: 'null'
    Error:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The one error this request failed with.
      required:
        - error
      type: object
    NonZeroUInt64String:
      allOf:
        - $ref: '#/components/schemas/UInt64String'
        - not:
            const: '0'
    ReadContext:
      type: object
      required:
        - as_of
        - status
      properties:
        as_of:
          $ref: '#/components/schemas/Timestamp'
          description: RFC3339 observation time of the oldest source this read used.
        status:
          type: string
          enum:
            - CURRENT
            - STALE
            - UNAVAILABLE
          description: >-
            Freshness of the whole read. CURRENT: every source is fresh and
            reconciled. STALE: a source lags or has not reconciled, such as a
            catching-up projection, a pending reorg rescan or a period not fully
            covered; amounts may be displayed with their age but never authorize
            an action. UNAVAILABLE: a required source could not be read, so the
            amounts it backs are null.
      description: >-
        Freshness of the read. Pages of one list share the snapshot bound into
        their cursor.
    UnsignedMetric:
      oneOf:
        - $ref: '#/components/schemas/Amount'
        - type: 'null'
      description: >-
        Non-negative amount in atomic USDC (6 decimals, "1000000" = 1 USDC);
        null when it could not be established, never zero in its place.
    Metric:
      oneOf:
        - $ref: '#/components/schemas/SignedAmount'
        - type: 'null'
      description: >-
        Signed amount in atomic USDC (6 decimals, "1000000" = 1 USDC); null when
        it could not be established, never zero in its place.
    ErrorDetail:
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
          description: Stable registered code; branch on this, not on message or status.
        field_violations:
          description: >-
            Each invalid input by JSON pointer; empty when the error is not
            about a specific input.
          items:
            $ref: '#/components/schemas/FieldViolation'
          type: array
        message:
          description: Human-readable; may change without notice.
          minLength: 1
          type: string
        request_id:
          description: >-
            UUIDv7 of this request, also returned in the X-Request-ID header.
            Quote it when reporting a problem.
          format: uuid
          pattern: >-
            ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
          type: string
        retry:
          $ref: '#/components/schemas/Retry'
          description: What the caller should do next; fixed by the registry for each code.
      required:
        - code
        - message
        - retry
        - request_id
        - field_violations
      type: object
    UInt64String:
      type: string
      pattern: >-
        ^(0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]|1844674407370955161[0-5])$
      maxLength: 20
      format: uint64-decimal
    Timestamp:
      type: string
      format: date-time
    Amount:
      type: string
      pattern: ^(0|[1-9][0-9]{0,77})$
    SignedAmount:
      type: string
      pattern: ^(0|-?[1-9][0-9]{0,77})$
    ErrorCode:
      description: >-
        Stable HTTP error code. Each code has one HTTP status and one retry
        value.
      enum:
        - INVALID_REQUEST
        - INVALID_QUERY
        - INVALID_CURSOR
        - INVALID_IDEMPOTENCY_KEY
        - ORIGIN_REQUIRED
        - SUBPROTOCOL_REQUIRED
        - UNSUPPORTED_BROWSE_CONTRACT
        - UNAUTHENTICATED
        - FORBIDDEN
        - ORIGIN_NOT_ALLOWED
        - ACCESS_REQUIRED
        - SIGN_IN_REQUIRED
        - NOT_FOUND
        - IDENTITY_NOT_FOUND
        - QUOTE_NOT_FOUND
        - INVITE_CODE_NOT_FOUND
        - IDEMPOTENCY_KEY_REUSED
        - STATE_CONFLICT
        - INVITE_CODE_EXHAUSTED
        - STALE_CURSOR
        - CURSOR_EXPIRED
        - CURSOR_RESET
        - RECURRING_DEFINITION_CONFLICT
        - EMBEDDED_WALLET_CONFLICT
        - SECRET_UNAVAILABLE
        - ROTATION_IN_PROGRESS
        - TELEMETRY_CONFLICT
        - RFQ_NOT_CANCELLABLE
        - RFQ_NOT_OPEN
        - RFQ_GENERATION_STALE
        - RFQ_GENERATION_IN_FLIGHT
        - QUOTE_EXPIRED
        - QUOTE_CANCELLED
        - QUOTE_REPLACED
        - QUOTE_SIGNER_CHANGED
        - QUOTE_CAPACITY_EXCEEDED
        - CORE_ACCOUNT_NOT_READY
        - CORE_ACCOUNT_ACTIVATION_REQUIRED
        - CORE_EXIT_ABANDONED
        - CORE_MOVE_IN_FLIGHT
        - ACCEPTANCE_IN_FLIGHT
        - USERNAME_TAKEN
        - USERNAME_ALREADY_SET
        - USERNAME_REQUIRED
        - GOLDEN_TICKET_NONE
        - GOLDEN_TICKET_USED
        - GOLDEN_TICKET_EXPIRED
        - GOLDEN_PLACEMENT_IN_FLIGHT
        - GOLDEN_PROMO_BUSY
        - GOLDEN_CASHOUT_REFUSED
        - GOLDEN_OFFER_BELOW_FLOOR
        - GOLDEN_GIFT_TERMS_EXPIRED
        - GOLDEN_UNLOCK_REQUIRED
        - GOLDEN_GIVEN_OUT
        - GOLDEN_CODE_DISABLED
        - X_REQUIRED
        - X_ALREADY_CLAIMED
        - GOLDEN_NOT_ELIGIBLE
        - INVALID_SIGNATURE
        - WALLET_CONTRACT_UNSUPPORTED
        - WRONG_AUTHORITY
        - KEY_LIMIT_REACHED
        - USERNAME_NOT_ALLOWED
        - FOLLOW_SELF
        - FOLLOW_LIMIT_REACHED
        - GOLDEN_LEG_COUNT
        - GOLDEN_LEG_NOT_ELIGIBLE
        - GOLDEN_QUOTE_NOT_HOUSE
        - RATE_LIMITED
        - CONNECTION_LIMIT
        - RFQ_INTENT_LIMIT
        - QUOTE_EXPOSURE_LIMIT
        - DEPENDENCY_STALE
        - AUTHORIZATION_UNAVAILABLE
        - SOURCE_UNAVAILABLE
        - CONTRACT_UNAVAILABLE
        - MARKET_DATA_UNAVAILABLE
        - BROWSE_UNAVAILABLE
        - FINANCIAL_ACTIONS_DISABLED
        - CORE_EXIT_UNAVAILABLE
        - COLLATERAL_REDUCTION_UNAVAILABLE
        - SPONSORSHIP_UNAVAILABLE
        - CONTRACT_SIGNATURE_OVERLOADED
        - QUOTE_EXPOSURE_STALE
        - COMBO_AUTOMATIC_DISABLED
        - GAS_PRICE_ABOVE_CEILING
        - EXECUTION_BACKLOG_FULL
        - EMBEDDED_WALLET_UNAVAILABLE
        - GOLDEN_PROMO_FUNDS_LOW
        - X_VERIFICATION_UNAVAILABLE
        - CONNECTION_DRAIN
      type: string
    FieldViolation:
      properties:
        code:
          description: >-
            REQUIRED: the input is missing. INVALID: it is present but malformed
            or out of range. UNEXPECTED: the input is not accepted here.
          enum:
            - REQUIRED
            - INVALID
            - UNEXPECTED
          type: string
        field:
          description: >-
            JSON pointer into the body, or into the query parameters as one flat
            object for requests without a body, for example /legs/0/stake or
            /limit.
          pattern: ^(/([^~/]|~[01])*)+$
          type: string
      required:
        - field
        - code
      type: object
    Retry:
      description: >-
        NEVER: stop. BACKOFF: resend the same request with the same
        Idempotency-Key after Retry-After. REFRESH: re-read state, then send a
        new request with a new Idempotency-Key.
      enum:
        - NEVER
        - BACKOFF
        - REFRESH
      type: string
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: ttk_
      description: >-
        Scoped API key (`ttk_...`), created in the Totalis app or by a
        wallet-session user through the API keys routes with a fresh wallet
        signature; those routes never accept a key. Each key acts for one
        account, yours or a maker's, and holds only scopes that account can use.
        Each operation lists the scopes it requires. Send no `Origin`.

````

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