Skip to content

Sprites API

POST/v1/sprites

Creates 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

name:string

Unique name for the sprite within the organization

wait_for_capacity:optionalboolean

If true, wait for VM capacity before returning (default: false)

url_settings:optionalobject

URL access configuration

auth:optionalstring

"sprite" (default) or "public"

StatusDescription
201Created - Sprite created successfully
400Bad Request - Invalid request body or name already exists
401Unauthorized - Invalid or missing token
Request
Response
{
"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"
}

GET/v1/sprites

Lists all sprites for the authenticated organization. Supports pagination and filtering by name prefix.

Query Parameters

prefix:optionalstring

Filter sprites by name prefix

max_results:optionalnumber

Maximum results to return (1-50, default: 50)

continuation_token:optionalstring

Token from previous response for pagination

StatusDescription
200Success - Returns list of sprites
401Unauthorized - Invalid or missing token
Request
Response
{
"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/v1/sprites/{name}

Retrieves details for a specific sprite by name.

StatusDescription
200Success - Returns sprite details
401Unauthorized - Invalid or missing token
404Not Found - Sprite does not exist
Request
Response
{
"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"
}

PUT/v1/sprites/{name}

Updates settings for an existing sprite. Currently supports updating URL authentication settings.

Request Body

url_settings:object

URL access configuration

auth:string

"sprite" or "public"

StatusDescription
200Success - Returns updated sprite
400Bad Request - Invalid request body
401Unauthorized - Invalid or missing token
404Not Found - Sprite does not exist
Request
Response
{
"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/v1/sprites/{name}

Permanently deletes a sprite and all associated resources. This action cannot be undone.

StatusDescription
204No Content - Sprite deleted successfully
401Unauthorized - Invalid or missing token
404Not Found - Sprite does not exist
Request