Get functions runtime env status
const url = 'https://api.deploybase.eu/api/v1/api/v1/projects/example/functions/env/status';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.deploybase.eu/api/v1/api/v1/projects/example/functions/env/status \ --header 'Authorization: <Authorization>'Returns the project’s runtime environment variable keys (never values) and, per active function, whether it runs with the current set. A variable change makes a new revision of each HTTP function, which starts on fresh instances while the old ones finish their requests, so “applied” turns true once that revision has been checked; a function with no instance running picks the new set up when it next starts.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Project ID
Responses
Section titled “ Responses ”OK
object
object
object
object
Applied means the function runs with the project’s current runtime env set: for a deployed HTTP function, its route’s checked revision was rendered from the current env; for any other function, its Secret carries it (every queued invocation reads the Secret fresh).
Ready is an HTTP function’s serving state, the same answer as its deployment status. Absent for background functions, which run nothing between invocations.
Example
{ "data": { "functions": [ { "kind": "background" } ] }}Unauthorized
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}Not Found
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}Service Unavailable
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}Live 582ac705 built