Sandboxes

Get lifecycle config

Get the lifecycle configuration for a sandbox.

GET
/v1/sandboxes/{id}/lifecycle

Get the lifecycle configuration for a sandbox.

AuthorizationBearer <token>

API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.

In: header

Path Parameters

id*string

Sandbox ID (ULID)

Response Body

application/json

application/problem+json

curl -X GET "https://api-dev.tektona.ai/v1/sandboxes/string/lifecycle"
{  "$schema": "https://api-dev.tektona.ai/schemas/LifecycleResponse.json",  "auto_delete_after": "string",  "auto_pause_after": "string",  "auto_pause_mode": "string",  "auto_resume": true,  "configured": {    "auto_delete_after": "string",    "auto_pause_after": "string",    "auto_pause_mode": "string",    "auto_resume": true  },  "source": {    "auto_delete_after": "own",    "auto_pause_after": "own",    "auto_pause_mode": "own",    "auto_resume": "own"  }}