PearPear

Get execution

Returns a single execution by id, including per-order status and error. Covers IDLE and FAILED executions the list status filter cannot reach.

GET
/executions/{id}
x-api-key<token>

In: header

Path Parameters

id*string

Header Parameters

X-Trade-Account-Id*string

UUID of the trade account the request acts on. Must belong to the authenticated user.

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/executions/string" \  -H "X-Trade-Account-Id: 3fa85f64-5717-4562-b3fc-2c963f66afa6"
{  "execution": {    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "connector": "hyperliquid",    "intent": "OPEN",    "orderType": "MARKET",    "status": "IDLE",    "error": "string",    "createdAt": "string",    "updatedAt": "string",    "orders": [      {        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",        "connector": "hyperliquid",        "status": "PENDING",        "error": "string",        "errorCode": "string",        "createdAt": "string",        "updatedAt": "string",        "type": "MARKET",        "symbol": "BTC",        "side": "BUY",        "reduceOnly": true,        "quantity": "1250.75",        "price": "1250.75",        "filledQuantity": "1250.75",        "filledPrice": "1250.75"      }    ],    "legs": [      {        "symbol": "BTC",        "side": "BUY",        "mode": "QUANTITY",        "amount": "1250.75",        "reduceOnly": true      }    ]  }}