Get a space's runtime status
Returns the serving runtime’s health and placement for this space: instance, region, and serving state.
/v1/spaces/{spaceId}/runtimeAuthorizationBearer token · headerrequiredSpace key (sfc_…) for an unclaimed anonymous Space. Also the fragment of its claim URL and the token of its /__/<key> door. A publish without a credential returns it in claim with the claim link. With the key, getSpace extends the Space's expiry window, getSpaceVersion follows its publish, createSpaceOpenLink returns its reusable open link, and restoreSpace undoes a deleteSpace while the claim window remains open.
AuthorizationBearer token · headerrequiredBetter Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.
spaceIdstringrequiredResponse for status 200
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
dataobjectrequiredShow propertiesHide properties
liveVersionIdstring | nullrequiredVersion that the live space URL now points to, if any.
pendingVersionIdstring | nullrequiredVersion that live traffic is trying to publish now, if any.
liveUrlstring | nullrequiredLive space URL. It moves to the latest version after a successful publish to live.
runtimeStatestringrequiredSpace operation-lifecycle status.
provisioningactiveupdatingdeletingfailedliveVersionStatusstring | nullrequiredShow propertiesHide properties
stringnullpendingVersionStatusstring | nullrequiredShow propertiesHide properties
stringnulloperationobject | nullrequiredShow propertiesHide properties
idstringrequiredkindstringrequiredstatusstringrequiredqueuedrunningsucceededfailedcanceledresourcesobject[]requiredShow propertiesHide properties
objecttypestringrequiredidstringrequiredprogressobjectShow propertiesHide properties
totalintegerrequiredcompletedintegerrequiredfailedintegerrequireddiagnosticsobject[]Show propertiesHide properties
objectcodestringrequiredStable snake_case diagnostic code naming the public contract that produced it.
severitystringrequiredHow actionable the diagnostic is.
infowarningerrormessagestringrequiredHuman-readable explanation with enough detail to act on.
pathstring | nullArtifact path the diagnostic points at, for example "_headers:12", when one exists.
providerstring | nullUpstream system the diagnostic originated from, when not Spacefast itself.
Show propertiesHide properties
stringnulldetailsobject | nullMachine-readable context for the diagnostic code.
Show propertiesHide properties
objectnullfixstring | nullConcrete, agent-actionable remediation hint, when one can be derived.
retryableboolean | nullWhether retrying the same operation can resolve this diagnostic without the caller changing anything.
createdAtstring<date-time>requiredfinishedAtstring<date-time>nullappobject | nullrequiredWhat the live version runs: its Zero capsule and its Functions worker, each null when the published tree carries none of that product (both null for a space without a runtime). The whole object is null for callers whose credential does not carry versions:read, because app details read version contents, not serving state.
Show propertiesHide properties
capsuleobject | nullrequiredThe live version's Zero capsule, if it carries one.
Show propertiesHide properties
artifactIdstringrequiredappNamestringrequiredserverRuntimestringrequiredinspectobjectrequiredShow propertiesHide properties
policystringrequiredprivatepublicinstallobjectrequiredShow propertiesHide properties
runtimeKindstringrequiredenginestringrequiredstorageRootstringrequiredartifactPathstringrequiredconfigPathstringrequiredbinaryobjectrequiredShow propertiesHide properties
pathstringrequiredcompatibilityTargetobjectrequiredShow propertiesHide properties
profilestringrequiredosstringrequiredcpustringrequiredlibcstringrequiredlinkingstringrequiredrequireExecutableBitbooleanrequiredsha256string | nullrequiredShow propertiesHide properties
stringnullrequiredbooleanrequiredmysqlobjectrequiredShow propertiesHide properties
migrateAtFinalizebooleanrequiredblockIncompatibleRollbackbooleanrequiredrealtimeobjectrequiredShow propertiesHide properties
productionstringrequiredlocalstringrequiredtablesstring[]requiredqueriesstring[]requiredmutationsstring[]requiredactionsstring[]Action names. Included when Accept requests application/json; spacefast-capsule-actions=1.
endpointsobject[]requiredShow propertiesHide properties
objectmethodstringrequiredGETHEADPOSTPUTPATCHDELETEOPTIONSpathstringrequiredsocketsstring[]requiredserverBundleSizeinteger | nullrequiredCompiled server bundle size in bytes, or null when this version's metadata does not record it.
Show propertiesHide properties
integernullclientBundleSizeinteger | nullrequiredCompiled client bundle size in bytes, or null when this version's metadata does not record it.
Show propertiesHide properties
integernullmigrationCountintegerrequiredschemaHashstring | nullrequiredShow propertiesHide properties
stringnullvariablesobjectrequiredShow propertiesHide properties
sourcestringrequirednamesstring[]requiredrealtimeobjectrequiredShow propertiesHide properties
centralUrlstring<uri> | nullrequiredShow propertiesHide properties
string<uri>nullpathstringreplayPathstring | nullShow propertiesHide properties
stringnullreplayUrlstring<uri> | nullShow propertiesHide properties
string<uri>nullrunPathstring | nullShow propertiesHide properties
stringnullrunUrlstring<uri> | nullShow propertiesHide properties
string<uri>nullresourceKeystring | nullShow propertiesHide properties
stringnullticketPathstring | nullShow propertiesHide properties
stringnullsocketPathstring | nullShow propertiesHide properties
stringnullspaceIdstring | nullShow propertiesHide properties
stringnullversionIdstring | nullShow propertiesHide properties
stringnullnullworkerobject | nullrequiredThe live version's Functions worker, if it carries one.
Show propertiesHide properties
artifactIdstringrequiredappNamestringrequiredentrystringrequiredcompatibilityDatestringrequiredcompatibilityFlagsstring[]requiredroutesobject[]requiredShow propertiesHide properties
objectmethodstring | nullrequiredShow propertiesHide properties
stringnullpathstringrequiredsubtreebooleanrequiredcapabilitiesobjectrequiredShow propertiesHide properties
dbbooleanfetchbooleanauthbooleanenvbooleanrealtimebooleanloggingbooleangravatarbooleanspambooleanemailbooleancontentbooleanstoragebooleanconnectorsbooleancryptobooleanexecutionStatestringrequiredabsentreadyservingbundleSizeintegerrequiredbundleSha256stringrequiredvariablesobjectrequiredShow propertiesHide properties
sourcestringrequirednamesstring[]requirednullnullpendingAppobject | nullrequiredWhat the pending version would run — the same projection as app, read from pendingVersionId's version so a dashboard can show what an in-flight publish is about to serve. Null when no publish is in flight, and null for callers without versions:read, exactly like app.
Show propertiesHide properties
capsuleobject | nullrequiredThe live version's Zero capsule, if it carries one.
Show propertiesHide properties
artifactIdstringrequiredappNamestringrequiredserverRuntimestringrequiredinspectobjectrequiredShow propertiesHide properties
policystringrequiredprivatepublicinstallobjectrequiredShow propertiesHide properties
runtimeKindstringrequiredenginestringrequiredstorageRootstringrequiredartifactPathstringrequiredconfigPathstringrequiredbinaryobjectrequiredShow propertiesHide properties
pathstringrequiredcompatibilityTargetobjectrequiredShow propertiesHide properties
profilestringrequiredosstringrequiredcpustringrequiredlibcstringrequiredlinkingstringrequiredrequireExecutableBitbooleanrequiredsha256string | nullrequiredShow propertiesHide properties
stringnullrequiredbooleanrequiredmysqlobjectrequiredShow propertiesHide properties
migrateAtFinalizebooleanrequiredblockIncompatibleRollbackbooleanrequiredrealtimeobjectrequiredShow propertiesHide properties
productionstringrequiredlocalstringrequiredtablesstring[]requiredqueriesstring[]requiredmutationsstring[]requiredactionsstring[]Action names. Included when Accept requests application/json; spacefast-capsule-actions=1.
endpointsobject[]requiredShow propertiesHide properties
objectmethodstringrequiredGETHEADPOSTPUTPATCHDELETEOPTIONSpathstringrequiredsocketsstring[]requiredserverBundleSizeinteger | nullrequiredCompiled server bundle size in bytes, or null when this version's metadata does not record it.
Show propertiesHide properties
integernullclientBundleSizeinteger | nullrequiredCompiled client bundle size in bytes, or null when this version's metadata does not record it.
Show propertiesHide properties
integernullmigrationCountintegerrequiredschemaHashstring | nullrequiredShow propertiesHide properties
stringnullvariablesobjectrequiredShow propertiesHide properties
sourcestringrequirednamesstring[]requiredrealtimeobjectrequiredShow propertiesHide properties
centralUrlstring<uri> | nullrequiredShow propertiesHide properties
string<uri>nullpathstringreplayPathstring | nullShow propertiesHide properties
stringnullreplayUrlstring<uri> | nullShow propertiesHide properties
string<uri>nullrunPathstring | nullShow propertiesHide properties
stringnullrunUrlstring<uri> | nullShow propertiesHide properties
string<uri>nullresourceKeystring | nullShow propertiesHide properties
stringnullticketPathstring | nullShow propertiesHide properties
stringnullsocketPathstring | nullShow propertiesHide properties
stringnullspaceIdstring | nullShow propertiesHide properties
stringnullversionIdstring | nullShow propertiesHide properties
stringnullnullworkerobject | nullrequiredThe live version's Functions worker, if it carries one.
Show propertiesHide properties
artifactIdstringrequiredappNamestringrequiredentrystringrequiredcompatibilityDatestringrequiredcompatibilityFlagsstring[]requiredroutesobject[]requiredShow propertiesHide properties
objectmethodstring | nullrequiredShow propertiesHide properties
stringnullpathstringrequiredsubtreebooleanrequiredcapabilitiesobjectrequiredShow propertiesHide properties
dbbooleanfetchbooleanauthbooleanenvbooleanrealtimebooleanloggingbooleangravatarbooleanspambooleanemailbooleancontentbooleanstoragebooleanconnectorsbooleancryptobooleanexecutionStatestringrequiredabsentreadyservingbundleSizeintegerrequiredbundleSha256stringrequiredvariablesobjectrequiredShow propertiesHide properties
sourcestringrequirednamesstring[]requirednullnullProblem details (RFC 9457). Any 4xx/5xx response is one application/problem+json document.
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
typestringrequiredProblem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.
titlestringrequiredShort human-readable summary of the problem type. The server derives it mechanically from code.
statusintegerrequiredHTTP status code of this response, repeated in the body.
detailstringrequiredHuman-readable failure explanation for this occurrence.
codestringrequiredStable snake_case error code naming the failed public contract.
pointerstringRFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.
detailsobjectMachine-readable context for the error code.
fixstringOne sentence on what to do about this error code, the same text as the type page. Read it before retrying.
suggestionsstring[]Actionable recovery steps safe to show in dashboards, SDKs, and CLI output.
nextstring[]Copy-pasteable commands or API requests an agent can run next.
requestIdstringrequiredThe request id to quote when contacting support.