API reference

Schemas

Every object the documented API endpoints send and receive, with its fields.

The objects of the API, generated from the published specification at kiste.run/openapi.json. Fields marked as required are always present in answers and must be sent in requests.

AccountDeletion

FieldTypeRequiredDescription
accountstring or nullyes
attemptsintegeryes
completed_atstring (date-time) or nullyes
idstringyesUnique ID.
last_errorstring or nullyes
messagestringno
next_attempt_atstring (date-time) or nullno
object"account_deletion"yesThe kind of object, such as instance or list.
requested_atstring (date-time)yes
state"pending", "completed"yes
step"workers", "billing", "records", "done"yes
updated_atstring (date-time)yesWhen it last changed.

AccountExportFile

FieldTypeRequiredDescription
accountstringyes
computeobject or nullyes
control_planeobjectyes
generated_atstring (date-time)yes
object"account_export"yesThe kind of object, such as instance or list.
FieldTypeRequiredDescription
expires_atstring (date-time)yes
messagestringyes
object"account_export_link"yesThe kind of object, such as instance or list.
urlstringyes

AlertPreferenceResponse

FieldTypeRequiredDescription
descriptionstringyes
enabledbooleanyes
kindstringyes
titlestringyes

AlertPreferencesResponse

FieldTypeRequiredDescription
dataarray of AlertPreferenceResponseyes
emailstringyes
email_deliverystringyesconfigured when the origin has an SMTP relay, else unconfigured.
objectstringyesThe kind of object, such as instance or list.

AlertResponse

FieldTypeRequiredDescription
acknowledged_atstring (date-time) or nullnoWhen it was acknowledged, or null while open.
created_atstring (date-time)yesWhen it was created.
detailstringyesWhat happened and what to do.
emailed_atstring (date-time) or nullnoWhen it was e-mailed, or null.
idstring (uuid)yesUnique ID.
kindstringyesAlert kind, such as instance_error or disk_almost_full.
objectstringyesThe kind of object, such as instance or list.
resource_idstring or nullnoID of that object.
resource_typestring or nullnoKind of object the alert is about.
titlestringyesShort text for people.

ApiTokenResponse

FieldTypeRequiredDescription
created_atstring (date-time)yesWhen it was created.
expires_atstring (date-time)yesWhen the key stops working.
idstring (uuid)yesUnique ID.
labelstringyesThe key's label, unique among your active keys.
last_used_atstring (date-time) or nullnoWhen the key was last used, or null.
objectstringyesThe kind of object, such as instance or list.
revoked_atstring (date-time) or nullnoWhen the key was revoked, or null.
token_hintstringyesA short, non-secret part of the key to recognise it.

CapacityMetrics

FieldTypeRequiredDescription
available_mibinteger (int64)yes
total_mibinteger (int64)yes
used_mibinteger (int64)yes

CommandResponse

FieldTypeRequiredDescription
cancel_requested_atstring (date-time) or nullnoWhen a cancel or interrupt was requested.
completion_statusstring or nullnoHow it ended, once it ended.
duration_msinteger (int64) or nullnoHow long it ran, in milliseconds.
error_messagestring or nullnoWhy it couldn't run or finish, if so.
exit_codeinteger (int32) or nullnoExit code, once it exited.
finished_atstring (date-time) or nullnoWhen it ended.
idstring (uuid)yesUnique ID.
instance_idstring (uuid)yesID of the Kiste the command ran in.
instance_namestringyesName of the Kiste the command ran in.
objectstringyesThe kind of object, such as instance or list.
signalinteger (int32) or nullnoSignal that ended it, if one did.
started_atstring (date-time)yesWhen it started.
statusstringyesState of the command, such as running, completed or failed.
stderr_bytesinteger (int64) or nullnoBytes written to standard error.
stdout_bytesinteger (int64) or nullnoBytes written to standard output.
updated_atstring (date-time)yesWhen it last changed.

ControlEventResponse

FieldTypeRequiredDescription
created_atstring (date-time)yesWhen it was created.
dataanyyesDetails of the event, depending on its type.
objectstringyesThe kind of object, such as instance or list.
resource_idstringyesID of that object.
resource_typestringyesKind of object the event is about, such as instance.
sequenceinteger (int64)yesPosition in your account's event stream; increases with every event.
typestringyesEvent type, such as instance.running.

ControlHealth

FieldTypeRequiredDescription
regionstring or nullyes
servicestringyes
statusstringyes

ControlPlaneStatusResponse

FieldTypeRequiredDescription
featuresFeatureStatusResponseyes
limitsResourceLimitsResponseyes
objectstringyesThe kind of object, such as instance or list.
statusstringyes
usageResourceUsageResponseyes
versionstringyes

CpuMetrics

FieldTypeRequiredDescription
coresinteger (int32)yes
load_1number (double)yes
load_15number (double)yes
load_5number (double)yes
percentnumber (double) or nullnoWhole-guest utilisation over the sampling window; None when the second sample could not be read.

CreateApiTokenRequest

FieldTypeRequiredDescription
expires_in_secondsinteger (int32)yes
labelstringyes

CreateDesktopLinkRequest

Mints a reusable desktop link for one machine. ttl_seconds defaults to DESKTOP_LINK_DEFAULT_TTL_SECONDS and must lie within DESKTOP_LINK_MIN_TTL_SECONDS..=DESKTOP_LINK_MAX_TTL_SECONDS.

FieldTypeRequiredDescription
ttl_secondsinteger (int32) or nullno

CreateEnvironmentRequest

FieldTypeRequiredDescription
namestringyes
repositoriesarray of RepositorySpecno
secret_filesarray of SecretFileInputno
setup_scriptstringno
variablesmap of stringno

CreateImageRequest

FieldTypeRequiredDescription
componentsarray of ImageComponentSelectionno
fromstringno
namestringyes
resourcesnull or ImageResourcesno

CreateInstanceRequest

FieldTypeRequiredDescription
auto_snapshot_secondsinteger (int32) or nullnoHow often a changed disk is checkpointed, 60–86400 seconds (default 300). Automatic checkpoints are always on; only the interval is configurable.
disk_mibinteger (int32)yesDisk size in MiB (default shape: 81920).
environmentstring or nullnoAn environment by name; its current version is applied.
imagestring or nullnoA custom image by ID, slug or name; the universal image when omitted.
memory_mibinteger (int32)yesMemory in MiB (default shape: 8192).
namestring or nullnoName of the new Kiste; generated when omitted.
profileInstanceProfileyesMachine profile; desktop.
ssh_public_keystringyesAn SSH public key the Kiste trusts, in addition to your account's device keys.
ttl_secondsinteger (int32) or nullnoLifetime in seconds; when it ends the Kiste stops cleanly (its disk stays). Without it the Kiste runs until it is stopped.
vcpuinteger (int32)yesNumber of vCPUs, within your account's limits (default shape: 4).

CreateServiceRequest

FieldTypeRequiredDescription
descriptionstringno
namestringyes
portinteger (int32)yes

CreateSnapshotRequest

FieldTypeRequiredDescription
namestringyes

CreateTerminalSessionRequest

FieldTypeRequiredDescription
colsinteger (int32)no
rowsinteger (int32)no

CreateWebhookRequest

FieldTypeRequiredDescription
eventsarray of stringyes
namestringyes
urlstringyes

CreatedApiTokenResponse

FieldTypeRequiredDescription
dataApiTokenResponseyes
tokenstringyes

CreatedWebhookResponse

The plaintext signing secret is returned exactly once, alongside the endpoint it belongs to, mirroring CreatedApiTokenResponse.

FieldTypeRequiredDescription
dataWebhookEndpointResponseyes
secretstringyes

DeleteAccountRequest

FieldTypeRequiredDescription
confirmstringyesThe account's e-mail address, typed as confirmation.
passwordstringyes

DeletedApiTokenResponse

FieldTypeRequiredDescription
deletedbooleanyes
idstring (uuid)yesUnique ID.
objectstringyesThe kind of object, such as instance or list.

DeletedDeviceKey

FieldTypeRequiredDescription
deletedbooleanyes
idstringyesUnique ID.
objectstringyesThe kind of object, such as instance or list.

DeletedImage

FieldTypeRequiredDescription
deletedbooleanyes
idstringyesUnique ID.
objectstringyesThe kind of object, such as instance or list.

DeletedSession

FieldTypeRequiredDescription
deletedbooleanyes
idstringyesUnique ID.
objectstringyesThe kind of object, such as instance or list.

DeletedWebhookResponse

FieldTypeRequiredDescription
deletedbooleanyes
idstring (uuid)yesUnique ID.
objectstringyesThe kind of object, such as instance or list.

DesktopBootstrapPreflightRequest

FieldTypeRequiredDescription
machinestringyes
protocolstringyes

DesktopBootstrapRequest

FieldTypeRequiredDescription
machinestringyes
protocolstringyes

DesktopBootstrapResponse

FieldTypeRequiredDescription
expires_atstring (date-time)yes
offer_urlstringyesWhere the viewer posts its SDP offer for the native transport.
protocolstringyes
recoveryRecoveryCapabilityyes
revoke_urlstringyes
transportstringyes

DesktopLinkResponse

FieldTypeRequiredDescription
expires_atstring (date-time)yes
urlstringyes

DesktopSessionResponse

Type: DesktopBootstrapResponse and object.

DeviceKey

FieldTypeRequiredDescription
created_atstring (date-time)yesWhen it was created.
idstringyesUnique ID.
last_used_atstring (date-time) or nullyes
namestringyes
object"device_key"yesThe kind of object, such as instance or list.
public_keystringyes

DeviceKeyList

FieldTypeRequiredDescription
dataarray of DeviceKeyyes
first_idstring or nullyes
has_morebooleanyes
last_idstring or nullyes
objectstringyesThe kind of object, such as instance or list.

EnvironmentResponse

FieldTypeRequiredDescription
created_atstring (date-time)yesWhen it was created.
current_versioninteger (int32)yes
idstring (uuid)yesUnique ID.
namestringyes
updated_atstring (date-time)yesWhen it last changed.

EnvironmentVersionResponse

FieldTypeRequiredDescription
created_atstring (date-time)yesWhen it was created.
environment_idstring (uuid)yesID of the environment.
environment_namestringyesName of the environment.
idstring (uuid)yesUnique ID.
repositoriesarray of RepositorySpecyesRepositories cloned into /workspace.
secret_pathsarray of stringyesPaths of the secret files; their contents are never returned.
setup_scriptstringyesScript run in /workspace after cloning.
variablesmap of stringyesVariables set for the setup script.
versioninteger (int32)yesVersion number; every change adds one.

ExecCompletion

FieldTypeRequiredDescription
duration_msinteger (int64)yes
exit_codeinteger (int32)yes
idstring (uuid)yesUnique ID.
instancestringyes
signalinteger (int32) or nullno
statusExecCompletionStatusyes
stderr_bytesinteger (int64)yes
stdout_bytesinteger (int64)yes

ExecCompletionStatus

One of "exited", "signaled", "timed_out", "cancelled", "output_limit_exceeded".

ExecEvent

The stable native-execution stream contract. Each event is encoded as one newline-delimited JSON object by the HTTP API. Output bytes are base64 so arbitrary compiler output remains lossless and frame boundaries never depend on UTF-8 character boundaries.

Type: object or object or ExecCompletion and object or object.

ExecOutputStream

One of "stdout", "stderr".

ExecRequest

FieldTypeRequiredDescription
argvarray of stringyesThe program and its arguments, passed exactly, without a shell.
cwdstring or nullnoWorking directory inside the Kiste.
envmap of stringnoEnvironment variables for the command.
idstring (uuid) or nullnoYour own UUID for the command, to cancel it or find its record.
timeout_msinteger (int64)noLongest run time in milliseconds.

ExtendInstanceRequest

FieldTypeRequiredDescription
ttl_secondsinteger (int32)yesSeconds added to the Kiste's deadline (or from now when it has none); at the deadline it stops cleanly.

FeatureStatusResponse

FieldTypeRequiredDescription
command_interruptbooleanyes
event_watchbooleanyes
hosted_httpbooleanyes
hosted_websocketbooleanyes
native_exec_streambooleanyes
remote_snapshot_pullbooleanyes
snapshot_storage_modestringyes
snapshotsbooleanyes

ForkInstanceRequest

FieldTypeRequiredDescription
namestringyes
ttl_secondsinteger (int32) or nullnoThe copy's lifetime in seconds (60 to 2592000); without it the copy has no automatic stop (it never inherits the source's deadline).

HostedServiceResponse

FieldTypeRequiredDescription
created_atstring (date-time)yesWhen it was created.
descriptionstringyesWhat runs on the port.
idstring (uuid)yesUnique ID.
instance_idstring (uuid)yesID of the Kiste.
instance_namestringyesName of the Kiste.
namestringyesThe published port's name.
path_prefixstringyesThe path the app is served from.
portinteger (int32)yesThe port inside the Kiste.
protocolstringyesThe protocol passed on to the app.
public_urlstringyesThe public address, https://<label>.kiste.stream/.
statusstringyesState of the published port.
updated_atstring (date-time)yesWhen it last changed.
websocketbooleanyesWhether WebSocket upgrades are passed on.

IceServer

FieldTypeRequiredDescription
credentialstringno
urlsarray of stringyes
usernamestringno

ImageComponent

FieldTypeRequiredDescription
categorystringyes
default_versionstringyes
descriptionstringyes
estimated_size_mibinteger (int32)yes
idstringyesUnique ID.
namestringyes
objectstringyesThe kind of object, such as instance or list.
requiresarray of stringyes
versionsarray of stringyes

ImageComponentSelection

FieldTypeRequiredDescription
idstringyesUnique ID.
versionstringyes

ImageOs

FieldTypeRequiredDescription
architecturestringyes
distributionstringyes
libcstringyes
versionstringyes

ImageResources

FieldTypeRequiredDescription
disk_mibinteger (int32)yes
memory_mibinteger (int32)yes
vcpuinteger (int32)yes

InstanceMetricsResponse

FieldTypeRequiredDescription
cpuCpuMetricsyes
diskCapacityMetricsyes
instancestringyes
memoryCapacityMetricsyes
objectstringyesThe kind of object, such as instance or list.
processesarray of ProcessMetricsyes
sampled_atstring (date-time)yes
uptime_secondsinteger (int64)yes

InstanceProfile

Intentional extension seam: exactly one profile ships today, and the type is threaded through the node so a second machine profile lands as data, not surgery. Signatures that discard it do so deliberately.

One of "desktop".

InstanceResponse

FieldTypeRequiredDescription
artifact_keystringyesContent hash of the image's disk the Kiste was cloned from.
auto_snapshot_secondsinteger (int32)yesSeconds between automatic checkpoints, taken only when the disk changed. Automatic checkpoints are always on.
componentsarray of ImageComponentSelectionyesThe image components and versions copied into this Kiste.
createdinteger (int64)yesWhen it was created, in Unix seconds.
created_atstring (date-time)yesWhen it was created.
desired_statestringyesThe state the Kiste is moving to, running or stopped; differs from status while a change is in progress.
disk_mibinteger (int32)yesDisk size in MiB.
environment_version_idstring (uuid) or nullnoThe environment version the Kiste was created with, or null.
expires_atstring (date-time) or nullnoWhen the Kiste stops by itself (its lifetime), or null for no automatic stop.
idstring (uuid)yesUnique ID.
imagestringyesThe image the Kiste was created from.
image_versionstring or nullnoKiste image version this instance's disk last received vendor content from (vYYYY.MM.DD-hash8), if the host has a record.
last_checkpoint_atstring (date-time) or nullnoWhen the newest checkpoint of this machine became ready.
last_offsite_atstring (date-time) or nullnoWhen the newest checkpoint of this machine was held in every off-site location.
latest_image_versionstring or nullnoThe image version the node currently serves.
memory_mibinteger (int32)yesMemory in MiB.
namestringyesThe Kiste's name, unique in your account.
objectstringyesThe kind of object, such as instance or list.
profileInstanceProfileyesThe machine profile; desktop for every Kiste today.
session_savedbooleannoA stopped instance whose memory session is saved: its next start resumes that session, on the image it was running. False in every other state.
setup_errorstring or nullnoWhy the setup failed, when it did. Visible only to you.
setup_statusstringyesState of the environment's setup job.
ssh_hoststring or nullnoSSH host alias of the Kiste, used by the CLI.
ssh_portinteger (int32) or nullnoSSH port inside the tunnel.
statusstringyesThe current state: starting, running, stopping, stopped or error.
update_availableboolean or nullnoTrue while a newer image version is available for this Kiste. Only a cold boot applies it: kiste update reboots a running Kiste; a stopped one gets it at its next start, unless a session is saved, which kiste update discards without starting the Kiste.
updated_atstring (date-time)yesWhen it last changed.
vcpuinteger (int32)yesNumber of vCPUs.

InterruptCommandRequest

FieldTypeRequiredDescription
reasonstring or nullno

InterruptCommandResponse

FieldTypeRequiredDescription
acceptedbooleanyes
commandCommandResponseyes

LogoutResponse

FieldTypeRequiredDescription
authenticatedbooleanno
messagestringno
origin_revokedbooleanyes

LogsResponse

FieldTypeRequiredDescription
logsstringyes
namestringyes

MachineImage

FieldTypeRequiredDescription
artifact_keystringyesContent hash of the disk Kisten boot from.
base_imagestring or nullnoThe image it builds on.
build_strategystringyesHow the image's disk is produced.
componentsarray of ImageComponentSelectionyesComponents and versions the image guarantees.
createdinteger (int64)yesWhen it was created, in Unix seconds.
descriptionstringyesWhat the image is for.
estimated_size_mibinteger (int32)yesEstimated disk size in MiB.
idstringyesUnique ID.
launchablebooleanyesWhether Kisten can be created from it now.
namestringyesThe image's name.
objectstringyesThe kind of object, such as instance or list.
osImageOsyesOperating system of the image.
owned_bystringyesWho owns the image.
profileInstanceProfileyesMachine profile Kisten from this image get.
resourcesImageResourcesyesDefault size of Kisten created from it.
slugstringyesShort name to refer to the image.
statusstringyesready when Kisten can be created from it.
visibilitystringyesWho can see the image: built-in images everyone, private ones only you.

MessageResponse

FieldTypeRequiredDescription
messagestringyes

NativeOfferRequest

FieldTypeRequiredDescription
sdpstringyes

NativeOfferResponse

FieldTypeRequiredDescription
sdpstringyes

NoticeRef

FieldTypeRequiredDescription
argsmap of string or numberyes
idstringyesA registered notice id (https://kiste.run/errors.json, notices).

OAuthTokenRequest

FieldTypeRequiredDescription
client_idstringyes
codestringyes
code_verifierstringyes
grant_type"authorization_code"yes
redirect_uristringyes

OAuthTokenResponse

FieldTypeRequiredDescription
access_tokenstringyes
expires_inintegeryes
token_type"Bearer"yes
userUserResponseyes

PlatformStatus

FieldTypeRequiredDescription
componentsarray of objectyes
errors_24harray of objectyes
incidentsarray of objectyes
maintenancearray of objectyesPlanned maintenance windows: open, upcoming and of the last 90 days. component is a component id; closed_at null while the window is open.
state"operational", "degraded", "outage", "maintenance", "unknown"yes
updated_atstring (date-time)yesWhen it last changed.

ProcessMetrics

FieldTypeRequiredDescription
commandstringyes
cpu_percentnumber (double)yes
pidinteger (int32)yes
rss_mibnumber (double)yes

RecoveryCapability

FieldTypeRequiredDescription
tokenstringyes
websocket_urlstringyes

RegisterDeviceKeyRequest

FieldTypeRequiredDescription
namestringyes
public_keystringyes

RenameInstanceRequest

FieldTypeRequiredDescription
namestringyesThe new Kiste name; same rules as at creation.

RepositorySpec

FieldTypeRequiredDescription
destinationstring or nullno
revisionstring or nullno
urlstringyes

ResolveImageRequest

FieldTypeRequiredDescription
componentsarray of ImageComponentSelectionno
fromstringno
resourcesnull or ImageResourcesno

ResolvedImagePlan

FieldTypeRequiredDescription
added_dependenciesarray of stringyes
artifact_keystringyes
build_strategystringyes
cache_hitbooleanyes
cache_keystringyes
componentsarray of ImageComponentSelectionyes
estimated_size_mibinteger (int32)yes
fromstringyes
idstringyesUnique ID.
objectstringyesThe kind of object, such as instance or list.
resourcesImageResourcesyes
warningsarray of stringyes

ResourceLimitsResponse

FieldTypeRequiredDescription
max_disk_mibinteger (int64)yes
max_imagesinteger (int64)yes
max_instance_disk_mibinteger (int64)yes
max_instancesinteger (int64)yes
max_memory_mibinteger (int64)yes
max_running_instancesinteger (int64)noRunning at once (the operator's own account is exempt).
max_running_memory_mibinteger (int64)no
max_running_vcpuinteger (int64)no
max_vcpuinteger (int64)yes
min_disk_mibinteger (int64)yes
min_memory_mibinteger (int64)yes
min_vcpuinteger (int64)yes

ResourceUsageResponse

FieldTypeRequiredDescription
active_api_tokensinteger (int64)yes
disk_mibinteger (int64)yes
imagesinteger (int64)yes
instancesinteger (int64)yes
memory_mibinteger (int64)yes
running_instancesinteger (int64)yes
snapshot_disk_mibinteger (int64)yes
snapshotsinteger (int64)yes
vcpuinteger (int64)yes

RestoreSnapshotRequest

FieldTypeRequiredDescription
from_offsitebooleannoRestore from the off-site copy even where the local copy exists: proves the off-site copy restores (it boots lazily from it).
namestringyes

RevokeDesktopLinksResponse

FieldTypeRequiredDescription
revokedinteger (int64)yes

RuntimeImageResponse

FieldTypeRequiredDescription
latest_versionstringyesThe image version the node currently serves.
notesstringyesHuman-readable notes for the most recent image round, shown before an update. Lines starting with BREAKING: deserve attention.

SecretFileInput

FieldTypeRequiredDescription
contents_base64stringyes
modeinteger (int32)no
pathstringyes

SessionRevocation

FieldTypeRequiredDescription
objectstringyesThe kind of object, such as instance or list.
origin_revokedbooleanyes
revokedintegeryes

SignIn

FieldTypeRequiredDescription
created_atstring (date-time)yesWhen it was created.
currentbooleanyes
expires_atstring (date-time)yes
idstringyesUnique ID.
kind"browser", "cli"yes
last_used_atstring (date-time)yes
namestringyes
object"session"yesThe kind of object, such as instance or list.

SignInList

FieldTypeRequiredDescription
dataarray of SignInyes
has_morebooleanyes
objectstringyesThe kind of object, such as instance or list.

SnapshotPullResponse

FieldTypeRequiredDescription
availablebooleanyes
chunk_bytesinteger (int32) or nullno
chunk_countinteger (int32) or nullno
encryption_key_idstring or nullno
logical_bytesinteger (int64) or nullno
manifest_digeststring or nullno
manifest_keystring or nullno
objectstringyesThe kind of object, such as instance or list.
reasonstringyes
remote_statusstring or nullno
snapshotSnapshotResponseyes
transportstringyes

SnapshotRemote

A snapshot's off-site copy.

FieldTypeRequiredDescription
copiesinteger (int32)yesIndependent locations holding every object once uploaded.
new_bytesinteger (int64)yesBytes this snapshot added to the store (its changes since the last).
statestringyespending, uploading, uploaded or failed.
stored_bytesinteger (int64)yesStored (compressed, encrypted) bytes of every object the snapshot needs, shared ones included.
uploaded_atstring (date-time) or nullno

SnapshotResponse

FieldTypeRequiredDescription
artifact_keystringyesContent hash of the image the source Kiste was cloned from.
componentsarray of ImageComponentSelectionyesImage components of the source Kiste.
consistencystring or nullnofrozen (taken with the guest's file system frozen: clean) or crash (taken while the guest wrote heavily, like a power cut: every fsynced write is in it); null for snapshots taken before this was recorded.
created_atstring (date-time)yesWhen it was created.
disk_mibinteger (int32)yesDisk size of the Kiste it was taken from, in MiB.
generationinteger (int32)yesPosition in its lineage.
idstring (uuid)yesUnique ID.
imagestringyesImage of the source Kiste.
kindstringyesmanual for a named snapshot, automatic for a checkpoint.
lineage_idstring (uuid)yesGroups snapshots that share an origin.
localbooleanyesThe reflink is still on its worker (restores instantly there).
memory_mibinteger (int32)yesMemory of the Kiste it was taken from, in MiB.
metadata_digeststringyesHash of the snapshot's metadata.
namestringyesThe snapshot's name.
objectstringyesThe kind of object, such as instance or list.
parent_snapshot_idstring (uuid) or nullnoThe snapshot this one's Kiste was restored from, if any.
profileInstanceProfileyesMachine profile of the source Kiste.
ready_atstring (date-time) or nullnoWhen it became ready.
remotenull or SnapshotRemotenoThe off-site copy.
size_mibinteger (int64)yesSpace the snapshot occupies, in MiB.
source_instance_idstring (uuid) or nullnoID of the Kiste it was taken from; null once that Kiste is deleted.
source_namestringyesName of the Kiste it was taken from.
statusstringyesState of the snapshot, ready once it can be restored.
storage_modestringyesHow the snapshot is stored.
triggerstringyesWhy the checkpoint exists: manual, interval, stop, restart, delete or fork.
updated_atstring (date-time)yesWhen it last changed.
vcpuinteger (int32)yesvCPUs of the Kiste it was taken from; a restore gets the same.

SnapshotTreeResponse

FieldTypeRequiredDescription
dataarray of SnapshotResponseyes
latest_snapshot_idstring (uuid) or nullno
objectstringyesThe kind of object, such as instance or list.

SshHostKeyResponse

FieldTypeRequiredDescription
host_key_aliasstringyes
known_hostsstringyes
namestringyes
public_keysarray of stringyes

StopInstanceRequest

FieldTypeRequiredDescription
snapshotbooleannoPreserve the running session: writes the memory snapshot so the next start resumes in about a second. Slower to stop. Without it the stop is a clean shutdown and the next start is a fresh boot.

TerminalSessionEnvelope

FieldTypeRequiredDescription
dataTerminalSessionResponseyes

TerminalSessionResponse

FieldTypeRequiredDescription
expires_atstring (date-time)yes
idstring (uuid)yesUnique ID.
tokenstringyes
websocket_urlstringyes

UnlockResponse

FieldTypeRequiredDescription
unlockedbooleanyes

UpdateEnvironmentRequest

FieldTypeRequiredDescription
repositoriesarray of RepositorySpecno
secret_filesarray of SecretFileInputno
setup_scriptstringno
variablesmap of stringno

UpdateWebhookRequest

FieldTypeRequiredDescription
enabledboolean or nullno
eventsarray of string or nullno
namestring or nullno
urlstring or nullno

UserResponse

FieldTypeRequiredDescription
created_atstring (date-time)yesWhen it was created.
emailstringyes
idstring (uuid)yesUnique ID.

WatchEventsResponse

FieldTypeRequiredDescription
dataarray of ControlEventResponseyes
has_morebooleanyes
next_cursorinteger (int64)yes
objectstringyesThe kind of object, such as instance or list.

WebhookDeliveryResponse

FieldTypeRequiredDescription
attemptinteger (int32)yes
created_atstring (date-time)yesWhen it was created.
delivered_atstring (date-time) or nullno
endpoint_idstring (uuid)yes
errorstring or nullno
event_sequenceinteger (int64)yes
event_typestringyes
idstring (uuid)yesUnique ID.
next_attempt_atstring (date-time) or nullno
objectstringyesThe kind of object, such as instance or list.
statestringyes
status_codeinteger (int32) or nullno

WebhookEndpointResponse

FieldTypeRequiredDescription
created_atstring (date-time)yesWhen it was created.
enabledbooleanyesWhether deliveries are made.
eventsarray of stringyesThe event types delivered.
failing_sincestring (date-time) or nullnoSince when deliveries keep failing, or null.
idstring (uuid)yesUnique ID.
last_delivery_atstring (date-time) or nullnoWhen the last delivery was attempted.
last_delivery_statusinteger (int32) or nullnoHTTP status of the last delivery.
namestringyesThe endpoint's name.
objectstringyesThe kind of object, such as instance or list.
secret_hintstringyesA short, non-secret part of the signing secret.
updated_atstring (date-time)yesWhen it last changed.
urlstringyesWhere deliveries go (HTTPS, port 443).

On this page

AccountDeletionAccountExportFileAccountExportLinkAlertPreferenceResponseAlertPreferencesResponseAlertResponseApiTokenResponseCapacityMetricsCommandResponseControlEventResponseControlHealthControlPlaneStatusResponseCpuMetricsCreateApiTokenRequestCreateDesktopLinkRequestCreateEnvironmentRequestCreateImageRequestCreateInstanceRequestCreateServiceRequestCreateSnapshotRequestCreateTerminalSessionRequestCreateWebhookRequestCreatedApiTokenResponseCreatedWebhookResponseDeleteAccountRequestDeletedApiTokenResponseDeletedDeviceKeyDeletedImageDeletedSessionDeletedWebhookResponseDesktopBootstrapPreflightRequestDesktopBootstrapRequestDesktopBootstrapResponseDesktopLinkResponseDesktopSessionResponseDeviceKeyDeviceKeyListEnvironmentResponseEnvironmentVersionResponseExecCompletionExecCompletionStatusExecEventExecOutputStreamExecRequestExtendInstanceRequestFeatureStatusResponseForkInstanceRequestHostedServiceResponseIceServerImageComponentImageComponentSelectionImageOsImageResourcesInstanceMetricsResponseInstanceProfileInstanceResponseInterruptCommandRequestInterruptCommandResponseLogoutResponseLogsResponseMachineImageMessageResponseNativeOfferRequestNativeOfferResponseNoticeRefOAuthTokenRequestOAuthTokenResponsePlatformStatusProcessMetricsRecoveryCapabilityRegisterDeviceKeyRequestRenameInstanceRequestRepositorySpecResolveImageRequestResolvedImagePlanResourceLimitsResponseResourceUsageResponseRestoreSnapshotRequestRevokeDesktopLinksResponseRuntimeImageResponseSecretFileInputSessionRevocationSignInSignInListSnapshotPullResponseSnapshotRemoteSnapshotResponseSnapshotTreeResponseSshHostKeyResponseStopInstanceRequestTerminalSessionEnvelopeTerminalSessionResponseUnlockResponseUpdateEnvironmentRequestUpdateWebhookRequestUserResponseWatchEventsResponseWebhookDeliveryResponseWebhookEndpointResponse