Sprites API
Create Sprite
Section titled "Create Sprite"/v1/spritesCreates a new sprite with a unique name within your organization. The sprite starts in a 'cold' state and will warm up on first request.
Request Body
Unique name for the sprite within the organization
If true, wait for VM capacity before returning (default: false)
URL access configuration
"sprite" (default) or "public"
Responses
Section titled “Responses”| Status | Description |
|---|---|
201 | Created - Sprite created successfully |
400 | Bad Request - Invalid request body or name already exists |
401 | Unauthorized - Invalid or missing token |
{"id": "01234567-89ab-cdef-0123-456789abcdef","name": "my-sprite","organization": "my-org","url": "https://my-sprite-abc123.sprites.app","url_settings": { "auth": "sprite"},"status": "cold","created_at": "2026-01-13T10:30:00Z","updated_at": "2026-01-13T10:30:00Z"}List Sprites
Section titled "List Sprites"/v1/spritesLists all sprites for the authenticated organization. Supports pagination and filtering by name prefix.
Query Parameters
Filter sprites by name prefix
Maximum results to return (1-50, default: 50)
Token from previous response for pagination
Responses
Section titled “Responses”| Status | Description |
|---|---|
200 | Success - Returns list of sprites |
401 | Unauthorized - Invalid or missing token |
{"sprites": [ { "name": "my-sprite", "org_slug": "my-org", "updated_at": "2026-01-13T10:30:00Z" }, { "name": "dev-sprite", "org_slug": "my-org", "updated_at": "2026-01-12T08:15:00Z" }],"has_more": false,"next_continuation_token": null}Get Sprite
Section titled "Get Sprite"/v1/sprites/{name}Retrieves details for a specific sprite by name.
Responses
Section titled “Responses”| Status | Description |
|---|---|
200 | Success - Returns sprite details |
401 | Unauthorized - Invalid or missing token |
404 | Not Found - Sprite does not exist |
{"id": "01234567-89ab-cdef-0123-456789abcdef","name": "my-sprite","organization": "my-org","url": "https://my-sprite-abc123.sprites.app","url_settings": { "auth": "sprite"},"status": "running","created_at": "2026-01-13T10:30:00Z","updated_at": "2026-01-13T14:22:00Z"}Update Sprite
Section titled "Update Sprite"/v1/sprites/{name}Updates settings for an existing sprite. Currently supports updating URL authentication settings.
Request Body
URL access configuration
"sprite" or "public"
Responses
Section titled “Responses”| Status | Description |
|---|---|
200 | Success - Returns updated sprite |
400 | Bad Request - Invalid request body |
401 | Unauthorized - Invalid or missing token |
404 | Not Found - Sprite does not exist |
{"id": "01234567-89ab-cdef-0123-456789abcdef","name": "my-sprite","organization": "my-org","url": "https://my-sprite-abc123.sprites.app","url_settings": { "auth": "public"},"status": "running","created_at": "2026-01-13T10:30:00Z","updated_at": "2026-01-13T15:00:00Z"}Delete Sprite
Section titled "Delete Sprite"/v1/sprites/{name}Permanently deletes a sprite and all associated resources. This action cannot be undone.
Responses
Section titled “Responses”| Status | Description |
|---|---|
204 | No Content - Sprite deleted successfully |
401 | Unauthorized - Invalid or missing token |
404 | Not Found - Sprite does not exist |