The price of a size and place before asking
POST
/v1/organisations/{id}/environments/quoteOperation environments.quote · since 2026-11-05 · stable
Needs a session withreadscopeAnswers200 OK
The price, hourly and monthly, or { "quote": null, "reason" } when nothing sells there.
A POST that changes nothing: a read session may call it.
Path parameters
- idstring (uuid)required
- The organisation id.
Body (JSON)
- sizestringrequired
- A size of a family: general, cpu, memory, arm, gpu or storage, for example general-s.
- cloudstringrequired
- "hetzner", "aws", "gcp", "azure", or "any" for the cheapest place in area.
- regionstringoptional
- The region, as environments.options lists them.
- areastringoptional
- With cloud any: "us", "eu" or "asia".
- resiliencestringoptional
- "single_zone" (default), "multi_zone" or "multi_region".
Errors
Every error is { "error", "message", "detail"? } (Errors and references). Besides the codes any route can answer.
POST/v1/organisations/{id}/environments/quote
curl -X POST "https://api.rykloud.com/v1/organisations/$ORG_ID/environments/quote" \
-H "Authorization: Bearer $RYKLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"size": "general-s",
"cloud": "any",
"area": "eu"
}'