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

# Get Order Status

> Retrieve the current status and details of an order. This endpoint returns comprehensive information about the order's progress through the execution pipeline, including timestamps for each stage and any metadata from the prediction market or on-chain transactions.



## OpenAPI

````yaml openapi.json get /v1/order/{id}
openapi: 3.0.0
info:
  title: Swaps API
  description: The Swaps API documentation
  version: '1.0'
  contact: {}
servers:
  - url: https://swap-api.flux.fun
    description: Production
  - url: http://localhost:3000
    description: Development
security: []
tags: []
paths:
  /v1/order/{id}:
    get:
      tags:
        - Orders
      summary: Get Order Status
      description: >-
        Retrieve the current status and details of an order. This endpoint
        returns comprehensive information about the order's progress through the
        execution pipeline, including timestamps for each stage and any metadata
        from the prediction market or on-chain transactions.
      operationId: OrdersController_getOrder
      parameters:
        - name: id
          required: true
          in: path
          description: The order ID (intent ID) returned from the Create Order endpoint
          schema:
            type: string
      responses:
        '200':
          description: Order details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntentFullResponseDto'
        '400':
          description: Order not found
      security:
        - api-key: []
components:
  schemas:
    IntentFullResponseDto:
      type: object
      properties:
        id:
          type: string
          example: intent_abc123xyz
          description: Unique order intent ID
        clientId:
          type: string
          example: client-order-123
          description: Client-provided order ID
          nullable: true
        action:
          type: object
          description: Order action details
          example:
            orderType: MarketOrder
            order:
              quoteToken:
                type: chain
                data:
                  tokenId: USDC
                  chainId: 8453
                  contractAddress: 0x...
              baseToken:
                type: kalshi
                data:
                  marketId: BTC-100K-2024
                  side: 'yes'
              orderType: BUY
              baseQuantity: '100'
              maxQuoteQuantityIn: '50.00'
            chainId: 8453
        createdAt:
          type: string
          example: '2024-01-12T10:00:00.000Z'
          description: When the order was created
        status:
          type: string
          enum:
            - pending
            - executing
            - validated
            - completed
            - failed
          example: validated
        balanceValidatedAt:
          type: string
          example: '2024-01-12T10:00:05.000Z'
          description: When balance was validated
          nullable: true
        txnFilledAt:
          type: string
          example: '2024-01-12T10:00:10.000Z'
          description: When transaction was filled
          nullable: true
        transactionHash:
          type: string
          example: 0xabc123...
          description: Blockchain transaction hash
          nullable: true
        isComplete:
          type: boolean
          example: false
          description: Whether the order is complete
        terminationReason:
          type: string
          example: null
          description: Reason for termination if failed
          nullable: true
      required:
        - id
        - clientId
        - action
        - createdAt
        - status
        - balanceValidatedAt
        - txnFilledAt
        - transactionHash
        - isComplete
        - terminationReason
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: x-api-key

````