A valid request URL is required to generate request examples{
"spid": 3
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}Spawn an additional subprocess inside a running instance
Starts a new process inside the VM that already hosts the named
operation. Distinct from POST /instances, which spins up a
VM: this endpoint requires a running operation (EXECUTING or
ASSIGNED) and reuses the existing VM.
The body is an ExecSpec — process-execution fields only.
VM-level concerns (image, hostname, resources_limits,
files, timeout, disposable, preserve_env) are not
accepted here; they were set when the parent operation was
created.
The required permission follows the parent instance:
SPAWN_DISPOSABLE when it was spawned with disposable=true,
SPAWN otherwise.
On success the worker assigns a fresh spid (≥2; spid=1 is
the main process spawned from metadata) and the response
carries it in the body plus a Location header pointing at
GET /operations/{operationId}/subprocesses/{spid} — the
subprocess result reconstructed from its events.
A valid request URL is required to generate request examples{
"spid": 3
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}Authorizations
Path Parameters
Body
Process-execution surface shared between InstanceSpawnRequest
(the main process) and
POST /operations/{operationId}/subprocesses (additional
subprocesses). VM-level concerns (image, hostname,
resources_limits, files, timeout, disposable, preserve_env)
live on InstanceSpawnRequest only.
Was this page helpful?