Sign Up

Warm Pools

GET/warm-pools
AuthorizationBearer <token>

API Key access

In: header

Header Parameters

X-Daytona-Organization-ID?string

Use with JWT to specify the organization ID

Response Body

application/json

curl -X GET "https://example.com/warm-pools"
[  {    "id": "string",    "organizationId": "string",    "snapshot": "string",    "target": "string",    "pool": 0,    "currentSize": 0,    "cpu": 0,    "mem": 0,    "disk": 0,    "osUser": "string",    "env": {      "property1": "string",      "property2": "string"    },    "errorReason": "string",    "createdAt": "string",    "updatedAt": "string"  }]
POST/warm-pools
AuthorizationBearer <token>

API Key access

In: header

Header Parameters

X-Daytona-Organization-ID?string

Use with JWT to specify the organization ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/warm-pools" \  -H "Content-Type: application/json" \  -d '{    "snapshot": "my-snapshot",    "pool": 3  }'
{  "id": "string",  "organizationId": "string",  "snapshot": "string",  "target": "string",  "pool": 0,  "currentSize": 0,  "cpu": 0,  "mem": 0,  "disk": 0,  "osUser": "string",  "env": {    "property1": "string",    "property2": "string"  },  "errorReason": "string",  "createdAt": "string",  "updatedAt": "string"}
PATCH/warm-pools/{id}
AuthorizationBearer <token>

API Key access

In: header

Path Parameters

id*string

Warm pool ID

Header Parameters

X-Daytona-Organization-ID?string

Use with JWT to specify the organization ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/warm-pools/string" \  -H "Content-Type: application/json" \  -d '{    "pool": 5  }'
{  "id": "string",  "organizationId": "string",  "snapshot": "string",  "target": "string",  "pool": 0,  "currentSize": 0,  "cpu": 0,  "mem": 0,  "disk": 0,  "osUser": "string",  "env": {    "property1": "string",    "property2": "string"  },  "errorReason": "string",  "createdAt": "string",  "updatedAt": "string"}
DELETE/warm-pools/{id}
AuthorizationBearer <token>

API Key access

In: header

Path Parameters

id*string

Warm pool ID

Header Parameters

X-Daytona-Organization-ID?string

Use with JWT to specify the organization ID

Response Body

curl -X DELETE "https://example.com/warm-pools/string"
Empty