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

# Your orders

> Your prediction orders. Open (`wait`) rows come from the live
engine index; terminal history (`done`, `cancel`, `reject`) from
storage. Pass `state=wait` for the open-orders tab — that is what
the product calls for resting orders, custodial and non-custodial
alike. Placement path differs (Atlas signed-order vs this service's
direct POST); list and cancel do not.

Pagination: `page` / `limit` in, totals in the `Page` / `Per-Page` /
`Total` response headers.



## OpenAPI

````yaml /api-reference/openapi/calibri.yaml get /api/v2/pythia/orders
openapi: 3.1.0
info:
  title: Calibri API
  version: 1.0.0
  description: >-
    The Calibri API. Discover markets, read live books, place signed orders, and
    manage positions and account data.

    Routed by path prefix to the service that answers it — which is an
    implementation detail, not something a caller has to reason about.
servers:
  - description: Production
    url: https://calibri.io
security: []
tags:
  - name: Health
    description: Service liveness.
    x-displayName: Health
  - name: Events
    description: Discover events and their metadata.
    x-displayName: Events
  - name: Markets
    description: List markets and load market detail for trading.
    x-displayName: Markets
  - name: Series
    description: Recurring event series.
    x-displayName: Series
  - name: Tags
    description: Editorial shelves used to browse the catalogue.
    x-displayName: Tags
  - name: Market Data
    description: Order book, depth, trade tape, tickers, and candles.
    x-displayName: Market Data
  - name: Assets
    description: Underlying asset price history for price-feed markets.
    x-displayName: Assets
  - name: Community
    description: Leaderboard and platform activity.
    x-displayName: Community
  - name: Currencies
    description: Currency registry.
    x-displayName: Currencies
  - name: Trade
    description: Place, list, and cancel orders.
    x-displayName: Trade
  - name: Positions
    description: Your matched contracts.
    x-displayName: Positions
  - name: Wallet
    description: Self-custody Safe, passkey, session keys, and relay.
    x-displayName: Wallet
  - name: Rewards
    description: Maker rebates and referral earnings.
    x-displayName: Rewards
  - name: Account
    description: Balances, ledger, PnL, limits, preferences, and profile.
    x-displayName: Account
  - name: Categories
    description: Categories
    x-displayName: Categories
  - name: Other
    description: Other
    x-displayName: Other
externalDocs:
  description: ''
  url: ''
paths:
  /api/v2/pythia/orders:
    get:
      tags:
        - Trade
      summary: Your orders
      description: |-
        Your prediction orders. Open (`wait`) rows come from the live
        engine index; terminal history (`done`, `cancel`, `reject`) from
        storage. Pass `state=wait` for the open-orders tab — that is what
        the product calls for resting orders, custodial and non-custodial
        alike. Placement path differs (Atlas signed-order vs this service's
        direct POST); list and cancel do not.

        Pagination: `page` / `limit` in, totals in the `Page` / `Per-Page` /
        `Total` response headers.
      parameters:
        - description: wait (open), done, cancel, reject
          in: query
          name: state
          schema:
            type: string
        - description: Market id
          in: query
          name: market
          schema:
            type: string
        - description: limit or market
          in: query
          name: ord_type
          schema:
            type: string
        - description: 'Side filter: yes or no'
          in: query
          name: type
          schema:
            type: string
        - description: Lower bound, Unix SECONDS (not milliseconds)
          in: query
          name: time_from
          schema:
            type: integer
        - description: Upper bound, Unix SECONDS (not milliseconds)
          in: query
          name: time_to
          schema:
            type: integer
        - description: asc or desc (default desc)
          in: query
          name: order_by
          schema:
            type: string
        - description: Page (default 1)
          in: query
          name: page
          schema:
            type: integer
        - description: Rows per page, 1-100 (default 100)
          in: query
          name: limit
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/MemberOrder'
                type: array
          description: OK
          headers:
            Page:
              schema:
                type: integer
            Per-Page:
              schema:
                type: integer
            Total:
              schema:
                type: integer
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
      security:
        - apiKey: []
components:
  schemas:
    MemberOrder:
      properties:
        contracts_count:
          example: 0
          type: integer
        created_at:
          example: '2026-08-07T10:00:00Z'
          type: string
        event_slug:
          example: btc-above-70k-december-2026
          type: string
        filled_volume:
          example: '0'
          type: string
        id:
          example: 1420
          type: integer
        locked:
          example: '6.20'
          type: string
        market:
          example: '12'
          type: string
        market_title:
          description: >-
            MarketTitle / EventSlug are the order's market context, denormalised
            onto

            the order the same way EventSlug/EventTitle are denormalised onto a
            market.


            Without them `market` is a bare id and nothing else: a client
            listing a

            member's orders can only print "3573", and has no slug to link with
            (a

            market is not addressable on its own — the app routes

            /event/{slug}?market={id}). The only alternative is a market read
            per row,

            which is a fan-out over a paginated list for data this handler
            already

            holds in memory.


            Omitted when the market's metadata is unknown here (an id that is in

            neither the cache nor storage); the row still carries `market`.
          example: Will BTC close above $70,000 on 31 Dec 2026?
          type: string
        ord_type:
          enum:
            - limit
            - market
          example: limit
          type: string
        origin_locked:
          example: '6.20'
          type: string
        origin_volume:
          example: '10'
          type: string
        price:
          example: '0.62'
          type: string
        quote_currency:
          example: usdc
          type: string
        remaining_volume:
          example: '10'
          type: string
        side:
          enum:
            - 'yes'
            - 'no'
          example: 'yes'
          type: string
        state:
          enum:
            - wait
            - done
            - cancel
            - reject
          example: wait
          type: string
        updated_at:
          example: '2026-08-07T10:05:00Z'
          type: string
        volume:
          example: '10'
          type: string
      type: object
    ErrorResponse:
      properties:
        errors:
          description: Match on the code, not the HTTP status or any human text.
          example:
            - order.not_found
          items:
            type: string
          type: array
          uniqueItems: false
      type: object
  securitySchemes:
    apiKey:
      description: >-
        HMAC-signed API key. Send X-Auth-Apikey, X-Auth-Nonce and
        X-Auth-Signature.
      in: header
      name: X-Auth-Apikey
      type: apiKey

````

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