Documentation Index
Fetch the complete documentation index at: https://docs.galadriel.co/llms.txt
Use this file to discover all available pages before exploring further.
Request Body
GPU type: h100, h200, b200, or b300
Number of GPUs (must be multiple of 8)
Availability zone: us-west-1, us-east-1, or eu-west-1
Lease duration in hours (1-720)
Order type: market or limit
Price per GPU/hour (required for limit orders)
Start time in ISO 8601 format (default: now)
Flexible execution window in hours (enables flexible pricing)
Response
Order status: pending, partial, filled, or cancelled
Actual matched price per GPU/hour
Lease ID (if order filled immediately)
curl -X POST https://api.galadriel.com/v1/orders \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"side": "buy",
"gpu_type": "h100",
"gpu_count": 16,
"zone": "us-west-1",
"duration_hours": 24,
"order_type": "limit",
"limit_price": 1.30
}'
{
"order_id": "ord_abc123",
"side": "buy",
"gpu_type": "h100",
"gpu_count": 16,
"zone": "us-west-1",
"duration_hours": 24,
"order_type": "market",
"status": "filled",
"matched_price": 1.40,
"total_cost": 537.60,
"lease_id": "lse_xyz123",
"created_at": "2025-11-11T14:00:00Z",
"filled_at": "2025-11-11T14:00:01Z"
}