Skip to main content
GET
https://api.galadriel.com
/
v1
/
orders
/
{order_id}
curl https://api.galadriel.com/v1/orders/ord_abc123 \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "order_id": "ord_abc123",
  "side": "buy",
  "gpu_type": "h100",
  "gpu_count": 16,
  "zone": "us-west-1",
  "duration_hours": 24,
  "order_type": "limit",
  "limit_price": 1.30,
  "status": "filled",
  "filled_gpus": 16,
  "avg_price": 1.30,
  "total_cost": 499.20,
  "created_at": "2025-11-11T14:00:00Z",
  "filled_at": "2025-11-11T14:30:00Z",
  "matches": [
    {
      "matched_at": "2025-11-11T14:30:00Z",
      "gpus": 16,
      "price": 1.30,
      "lease_id": "lse_xyz123"
    }
  ]
}

Path Parameters

order_id
string
required
The order ID to retrieve

Response

order_id
string
Unique order identifier
status
string
Order status: pending, partial, filled, or cancelled
matches
array
Array of matched orders (for partial/filled orders)
curl https://api.galadriel.com/v1/orders/ord_abc123 \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "order_id": "ord_abc123",
  "side": "buy",
  "gpu_type": "h100",
  "gpu_count": 16,
  "zone": "us-west-1",
  "duration_hours": 24,
  "order_type": "limit",
  "limit_price": 1.30,
  "status": "filled",
  "filled_gpus": 16,
  "avg_price": 1.30,
  "total_cost": 499.20,
  "created_at": "2025-11-11T14:00:00Z",
  "filled_at": "2025-11-11T14:30:00Z",
  "matches": [
    {
      "matched_at": "2025-11-11T14:30:00Z",
      "gpus": 16,
      "price": 1.30,
      "lease_id": "lse_xyz123"
    }
  ]
}