List an order's allocations
GET
/orders/{id}/allocations
curl --request GET \ --url http://localhost:3001/orders/00000000-0000-0000-0000-000000000000/allocations \ --header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/orders/00000000-0000-0000-0000-000000000000/allocations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.json())use reqwest;
#[tokio::main]pub async fn main() { let url = "http://localhost:3001/orders/00000000-0000-0000-0000-000000000000/allocations";
let mut headers = reqwest::header::HeaderMap::new(); headers.insert("Authorization", "Bearer <token>".parse().unwrap());
let client = reqwest::Client::new(); let response = client.get(url) .headers(headers) .send() .await;
let results = response.unwrap() .json::<serde_json::Value>() .await .unwrap();
dbg!(results);}Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Order ID
Responses
Section titled “Responses”OK
Media typeapplication/json
Array<object>
object
created_at
required
string format: date-time
from_portfolio_id
required
string format: uuid
id
required
string format: uuid
instrument_id
required
string
order_id
required
string format: uuid
price
required
number format: double
qty
required
number format: double
to_portfolio_id
required
string format: uuid
Example generated
[ { "created_at": "2026-04-15T12:00:00Z", "from_portfolio_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "instrument_id": "example", "order_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "price": 1, "qty": 1, "to_portfolio_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }]