v57

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-07-2161198428.4 KB
Omni AI

Get Message By ID

Get a finalized message by ID.

Returns a single finalized message. Returns 404 if the message belongs to an in-progress assistant turn (use the response endpoint for live output). Once the turn completes, the message becomes available here.

get/v1/omni-ai/messages/{message_id}

Path parameters

message_idstring uuid required

Message identifier

Query parameters

account_idinteger required

Account ID for the request

Response

Finalized message with content parts

Example response

{
  "error": {
    "code": 400,
    "message": "Order quantity must be greater than zero"
  },
  "data": {
    "content": {
      "parts": [
        {
          "action": {
            "prefill_order": {
              "action_type": "NEW",
              "orders": [
                {
                  "limit_price": "150.00",
                  "order_type": "LIMIT",
                  "quantity": "100",
                  "side": "BUY",
                  "symbol": "AAPL",
                  "time_in_force": "DAY"
                }
              ]
            }
          }
        }
      ]
    }
  }
}