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

# Get Order Execution Status

> Poll the execution status of an async order request.

Returns:
  status=queued   — still in Kafka queue
  status=executed — order ticket is available; poll GET /orders/{ticket} for live P&L
  status=rejected — execution failed (stale price, insufficient margin, etc.)

This key expires after 5 minutes. Expired entries return 404.



## OpenAPI

````yaml /openapi.json get /orders/request/{request_id}
openapi: 3.1.0
info:
  title: Slate API
  version: 1.0.0
  description: Trading infrastructure API.
servers:
  - url: https://api.{your-broker}.slate-labs.com
    variables:
      your-broker:
        default: broker
security: []
tags:
  - name: Authentication
  - name: API Tokens
  - name: Customers
  - name: Accounts
  - name: Orders
  - name: Instruments & Groups
  - name: Transactions
  - name: Payments
  - name: Transfers
  - name: Risk
  - name: Workflow & CRM
  - name: Messaging
  - name: Integrations
  - name: Webhooks
  - name: Compliance
  - name: Promo codes
  - name: Reporting
  - name: Audit
  - name: Fraud & moderation
  - name: Broker settings
  - name: Users
  - name: Roles & Teams
  - name: Streams (SSE)
  - name: Simulator
  - name: Observability
  - name: Prop trading
paths:
  /orders/request/{request_id}:
    get:
      tags:
        - Orders
      summary: Get Order Execution Status
      description: |-
        Poll the execution status of an async order request.

        Returns:
          status=queued   — still in Kafka queue
          status=executed — order ticket is available; poll GET /orders/{ticket} for live P&L
          status=rejected — execution failed (stale price, insufficient margin, etc.)

        This key expires after 5 minutes. Expired entries return 404.
      operationId: get_order_execution_status_orders_request__request_id__get
      parameters:
        - name: request_id
          in: path
          required: true
          schema:
            type: string
            title: Request Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExecutionStatusResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ExecutionStatusResponse:
      properties:
        request_id:
          type: string
          title: Request Id
        status:
          type: string
          title: Status
        order:
          anyOf:
            - type: integer
            - type: 'null'
          title: Order
        open_price:
          anyOf:
            - type: number
            - type: 'null'
          title: Open Price
        open_spread:
          anyOf:
            - type: number
            - type: 'null'
          title: Open Spread
        margin:
          anyOf:
            - type: number
            - type: 'null'
          title: Margin
        open_time:
          anyOf:
            - type: string
            - type: 'null'
          title: Open Time
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
        detail:
          anyOf:
            - type: object
            - type: 'null'
          title: Detail
      type: object
      required:
        - request_id
        - status
      title: ExecutionStatusResponse
      description: |-
        Returned by GET /orders/request/{request_id}.
        Polls Redis for the result written by ExecutionEngine.

        status values:
          queued   — published to Kafka, awaiting execution
          executed — written to Postgres; order ticket available
          rejected — margin check failed or stale price; reason provided
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````