Skip to content

CapsuleProcessStatus

Where a capsule run is in its life. Finished, Error and Killed are final.

Kind: a string enum, used in responses.

ValueDescription
"New"Created, and waiting for a worker to start it.
"Running"Setting up, running its startup commands, or waiting for commands. Commands sent while it sets up run once it is ready.
"Finished"Ended normally: it was terminated, finished its startup commands with autoTerminate, or reached its maximum duration.
"Error"Failed, for example a startup command or a mount failed: failureDetails says why.
"Killed"Stopped by someone before it ended.

New values can appear, so treat one you don’t know as “something else”, not as an error.