Computes
Create Compute Instance
Provisions a new compute instance under the team associated with the given API key.
POST
Create a compute instance
Request Reference
Use these slugs for theregion, image, and specification fields in your request body.
- Regions
- Images
- Specifications
| Slug | Name | Country |
|---|---|---|
KGL-1 | Kigali-1 | 🇷🇼 Rwanda |
Response Error Codes
If the request fails, thecode field in the error response will contain one of the following.
- Standard
- Billing & Team
| Code | Status | Description |
|---|---|---|
BAD_REQUEST | 400 | The request was invalid or malformed. |
UNAUTHORIZED | 401 | Authentication failed or was not provided. |
FORBIDDEN | 403 | You do not have permission to perform this action. |
RESOURCE_NOT_FOUND | 404 | The requested resource (image, region, or specification) was not found. |
CONFLICT | 409 | A conflict with the current server state occurred. |
UNPROCESSABLE_ENTITY | 422 | The request was well-formed but failed semantic validation. |
TOO_MANY_REQUESTS | 429 | You have exceeded the rate limit. |
INTERNAL_SERVER_ERROR | 500 | An unexpected error occurred on our end. |
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Idempotency key (UUID v4)
Body
application/json
Example:
"my-server-01"
Example:
"UBUNTU-24.04"
Minimum array length:
1Example:
[
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8Z5mS1x7I6n... user@host"
]
Example:
"KGL-1"
e.g. S-1C-1G or S-1C
Example:
"S-1C-1G"
Example:
["production", "web"]
Example:
true
Create a compute instance