Skip to main content
GET
Function Runtime Health

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-notte-request-origin
string | null
x-notte-sdk-version
string | null

Response

Successful Response

status
enum<string>
required

'ok' when the runtime reported itself, 'degraded' when it is alive but too old to describe itself (its image predates this endpoint), 'unreachable' when it did not answer.

Available options:
ok,
degraded,
unreachable
reachable
boolean
required

Whether the runtime answered an HTTP request at all.

latency_ms
number | null

Round trip to the runtime, null when unreachable.

python_version
string | null

Python the sandbox executes under, e.g. '3.12.0'.

packages
RuntimePackage · object[]

Non-stdlib imports the sandbox allows, with versions.

stdlib_modules
string[]

Standard-library modules the sandbox allows. Versionless: the Python version covers them.

reserved_env_names
string[]

function_env names the platform owns, rejected at write time. Served here so a client validating secret names before pushing them does not have to vendor its own copy and watch it drift.

runtime_digest
string | null

Digest of the reproducible contract - Python version, packages with their sources, allowed imports, reserved names - and nothing volatile, so it changes if and only if an environment built against it would now be wrong. Cache against it to detect a runner rebuild. Null unless status is 'ok', since a partial report is not a contract. Also returned as the response ETag.

error
string | null

Why the probe failed, when it did.