Admin team functions telemetry
const url = 'https://api.deploybase.eu/api/v1/api/v1/admin/teams/example/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/teams/example/functions \ --header 'Authorization: <Authorization>'One team’s functions beta telemetry (DEP-594): 7-day limits hit (the Cockpit kinds body_413 and http_timeout are absent, never zero, when cockpit_available is false), cold starts per HTTP function, the last 8 weeks of usage newest first (weeks without a row are absent) and 7-day cost per HTTP function. A team without functions returns empty arrays and zeros, not 404. Only a database error fails the request.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Team ID (UUID)
Responses
Section titled “ Responses ”OK
object
object
object
object
object
object
object
object
object
Example generated
{ "data": { "cold_starts": [ { "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 } ], "cost": { "background_runtime_seconds_7d": 1, "functions": [ { "function_id": "example", "function_name": "example", "gib_seconds_7d": 1, "memory_request_mib": 1, "peak_memory_mib": 1, "pod_seconds_7d": 1, "project_name": "example" } ], "http_gib_seconds_7d": 1, "http_pod_seconds_7d": 1 }, "generated_at": "example", "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" } ] }, "weekly_usage": [ { "background_invocations": 1, "background_runtime_seconds": 1, "http_requests": 1, "week_start": "example" } ] }, "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Bad Request
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"}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"}Forbidden
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"}Internal Server Error
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