Welcome
Use the Strettch Cloud API to provision compute instances, automate infrastructure workflows, and integrate cloud resources directly into your applications — all through a single REST interface. Our API is organized around REST principles and returns JSON-encoded responses. Every request is authenticated, versioned, traced, and designed for reliable use in production systems.Base URL
All API requests should be made to:There is no sandbox environment. All API requests interact with live resources. Use caution when testing destructive operations.
Authentication
All endpoints require authentication via an API key passed as a Bearer token.API Key Scopes
API keys inherit the permission level (Owner, Admin, or Member) of the team member who created them. This means a key can perform any action allowed by the creator’s role across the team’s resources. Refer to the Team Roles & Permissions guide for a detailed breakdown of what each role can perform.In the future, you will be able to further restrict API keys to specific granular scopes (e.g.,
compute:read only). Currently, they operate with full role-level access.Common Authentication Errors
Request Format
For allPOST, PUT, and PATCH requests, set the Content-Type header:
Response Format
All responses return JSON with a consistent top-level structure.Success Response
Error Response
code field is a stable, machine-readable string you can use for programmatic error handling.
Common error codes:
Pagination
List endpoints (e.g.,GET /computes) are paginated. Use the following query parameters:
Paginated responses include a
meta object that provides context for the current result set:
Idempotency
POST endpoints that create resources support idempotency to prevent duplicate actions on network retries (e.g., accidentally provisioning two servers).
Pass a unique UUID v4 in the Idempotency-Key header:
- A retry with the same key returns the original response — no duplicate action is performed.
- The response status on a replayed request is
202, regardless of the original status code.
Rate Limiting
All API requests are subject to rate limits to ensure platform stability and fair usage.
When a rate limit is exceeded, the API returns
429 Too Many Requests. Use the response headers to manage your request cadence efficiently:
If your system requires higher throughput for specific use cases, contact our team at cloud@strettch.com.
Versioning
The current API version isv1, reflected in every endpoint path.
Breaking changes will be introduced under a new version (e.g., /api/v2). When a new version is released, the previous version will continue to receive support for a defined deprecation period, communicated via email and the changelog.
Non-breaking additions (new fields, new endpoints) may be made to the current version without notice.