Orders
Create a new order
post/v0/orders
Headers
Idempotency-Keystring nullable
Optional key to ensure idempotent order creation
Request body
Example request
{
"instance_type": "h100i",
"quantity": 10,
"start_at": "NOW",
"end_at": "NOW",
"price": 1600,
"colocate_with": [
"cont_k3R-nX9vLm7Qp2Yw5Jd8F"
],
"cluster": "richmond"
}Response
Order created successfully
Example response
{
"object": "order",
"status": "pending",
"id": "order_xyz789",
"idempotency_key": "key_123"
}