API behavior
Work with pagination, retries, operations, and errors.
The API uses JSON and the base URL https://api.tachora.ai. Versioned paths start with /v1.
Paginate lists
Paginated endpoints take a limit of 1 to 100. The default is 20. Pass the response’s next_cursor as the cursor query parameter on the next request. An absent or null cursor means you reached the last page.
Retry create requests
Send an Idempotency-Key header on create requests. If a request times out, resend the same body with the same key. Tachora returns the original response for up to 24 hours. Reusing the key with a different body returns 422 idempotency_key_reused.
Track instance operations
Creating, starting, stopping, or deleting an instance returns 202 Accepted with an operation ID. Poll GET /v1/operations/{operation_id} until the operation is succeeded, failed, or cancelled. If instance creation returns 409 insufficient_capacity, Tachora could not place the instance and created no resource.
Handle errors
Use the HTTP status and error.code to decide how to handle a failure. The error.message is for people to read. If you contact Tachora about a request, include its X-Request-Id response header.