SandboxesLifecycle

Get lifecycle config

Get the lifecycle configuration for a sandbox.

GET
/v1/sandboxes/{idOrName}/lifecycle
AuthorizationBearer <token>

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

In: header

Path Parameters

idOrName*string

Sandbox ID (ULID) or name

Query Parameters

org?string

Required when the path names the sandbox by name.

project?string

Required when the path names the sandbox by name.

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/v1/sandboxes/string/lifecycle"
{  "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  },  "run_deadline": "2019-08-24T14:15:22Z",  "running_since": "2019-08-24T14:15:22Z",  "source": {    "auto_delete_after": "own",    "auto_pause_after": "own",    "auto_pause_mode": "own",    "auto_resume": "own"  }}