Admin functions overview
const url = 'https://api.deploybase.eu/api/v1/api/v1/admin/functions';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/admin/functions \ --header 'Authorization: <Authorization>'Functions adoption (beta grants, pending applications, active functions), the background invocation queue over 24h, HTTP function metrics from Cockpit, the top failing functions and every active function with its owner. Beta telemetry (DEP-594): limits_hit (7-day limit hits per function and kind; the Cockpit kinds body_413 and http_timeout are absent, never zero, when cockpit_available is false), cold_starts (pod starts and wakes, boot-time percentiles over wakes only, and an approximate wake share of HTTP requests that is null without Cockpit), retention (the last 8 ISO weeks, oldest first, every week present) and cost (7-day pod-seconds, GiB-seconds, background runtime and node pool usage). Only a database error fails the request.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”OK
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Hostname is the public origin of an HTTP function; null for background functions, and for an HTTP function that cannot have one (no project subdomain, or name+subdomain over the DNS label limit — the deployer refuses those too).
HTTPStats is the function’s own interceptor traffic; null for a background function (it has no InterceptorRoute), same rule as Hostname.
object
object
Functions beta telemetry (DEP-594).
object
object
object
object
object
Example generated
{ "data": { "adoption": { "functions_active_background": 1, "functions_active_http": 1, "teams_granted": 1, "teams_pending": 1, "teams_with_functions": 1 }, "background_24h": { "cancelled": 1, "completed": 1, "failed": 1, "failure_rate": 1, "oldest_pending_seconds": 1, "p50_ms": 1, "p95_ms": 1, "pending": 1, "running": 1, "stuck_running": 1, "timed_out": 1, "total": 1 }, "cold_starts": { "functions": [ { "boot_ms_p50_7d": 1, "boot_ms_p99_7d": 1, "function_id": "example", "function_name": "example", "owner_email": "example", "pod_starts_7d": 1, "pod_starts_24h": 1, "project_name": "example", "team_id": "example", "wake_share_24h": 1, "wakes_7d": 1, "wakes_24h": 1 } ], "platform": { "boot_ms_p50_7d": 1, "boot_ms_p99_7d": 1, "pod_starts_7d": 1, "pod_starts_24h": 1, "wake_share_24h": 1, "wakes_7d": 1, "wakes_24h": 1 } }, "cost": { "platform": { "background_runtime_seconds_7d": 1, "http_gib_seconds_7d": 1, "http_pod_seconds_7d": 1, "pool": { "latest": { "allocatable_memory_mib": 1, "node_count": 1, "requested_memory_mib": 1, "sampled_at": "example" }, "node_hours_7d": 1 } }, "teams": [ { "background_runtime_seconds_7d": 1, "http_gib_seconds_7d": 1, "http_pod_seconds_7d": 1, "memory_request_mib": 1, "owner_email": "example", "peak_memory_mib": 1, "team_id": "example" } ] }, "functions": [ { "function_id": "example", "hostname": "example", "http_stats": { "available": true, "error_rate_5xx": 1, "p50_ms": 1, "p99_ms": 1, "reason": "example", "requests_24h": 1, "window_hours": 1 }, "invocations_24h": 1, "kind": "example", "name": "example", "owner_email": "example", "project_id": "example", "project_name": "example", "runtime": "example", "team_id": "example", "updated_at": "example" } ], "generated_at": "example", "http_metrics": { "available": true, "concurrency_now": 1, "error_rate_5xx": 1, "p50_ms": 1, "p99_ms": 1, "reason": "example", "requests_24h": 1, "window_hours": 1 }, "limits_hit": { "cockpit_available": true, "cockpit_reason": "example", "rows": [ { "count_7d": 1, "count_24h": 1, "function_id": "example", "function_name": "example", "kind": "example", "last_hit_at": "example", "owner_email": "example", "project_name": "example", "team_id": "example" } ] }, "retention": { "weeks": [ { "active_teams": 1, "background_invocations": 1, "http_requests": 1, "new_teams": 1, "retained_teams": 1, "week_start": "example" } ] }, "top_failing": [ { "failures_24h": 1, "function_id": "example", "function_name": "example", "kind": "example", "last_error": "example", "last_failed_at": "example", "owner_email": "example", "project_id": "example", "project_name": "example", "team_id": "example" } ] }, "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Unauthorized
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Forbidden
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Internal Server Error
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Service Unavailable
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Live 174db30c built