Admin platform overview
GET
/api/v1/admin/platform
const url = 'https://api.deploybase.eu/api/v1/api/v1/admin/platform';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/platform \ --header 'Authorization: <Authorization>'“Is anything broken right now”: build queue, failed payment webhooks, database latency, CDN traffic on the shared pull zones, HTTP function metrics from Cockpit, and the background invocation queue. The CDN and HTTP function blocks degrade to available=false (reason not_configured or upstream_error) instead of failing the request.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”OK
Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
builds
object
active_builds
integer
avg_build_duration_24h_seconds
number
builds_24h
integer
failed_24h
integer
failure_rate_24h
number
queue_depth
integer
recent_failures
Array<object>
object
created_at
string
deployment_id
string
error_message
string
owner_email
string
project_name
string
team_id
string
stale_jobs
integer
cdn
object
available
boolean
reason
string
window_hours
integer
zones
Array<object>
object
bandwidth_bytes
integer
cache_hit_rate
number
errors_4xx
integer
errors_5xx
integer
name
string
origin_response_ms
number
requests
integer
database
object
latency_ms
number
ok
boolean
functions_background
object
failure_rate_24h
number
invocations_24h
integer
pending
integer
stuck_running
integer
functions_http
object
available
boolean
concurrency_now
number
error_rate_5xx
number
p50_ms
number
p99_ms
number
reason
string
requests_24h
integer
window_hours
integer
generated_at
string
webhooks
object
failed_7d
integer
Example generated
{ "data": { "builds": { "active_builds": 1, "avg_build_duration_24h_seconds": 1, "builds_24h": 1, "failed_24h": 1, "failure_rate_24h": 1, "queue_depth": 1, "recent_failures": [ { "created_at": "example", "deployment_id": "example", "error_message": "example", "owner_email": "example", "project_name": "example", "team_id": "example" } ], "stale_jobs": 1 }, "cdn": { "available": true, "reason": "example", "window_hours": 1, "zones": [ { "bandwidth_bytes": 1, "cache_hit_rate": 1, "errors_4xx": 1, "errors_5xx": 1, "name": "example", "origin_response_ms": 1, "requests": 1 } ] }, "database": { "latency_ms": 1, "ok": true }, "functions_background": { "failure_rate_24h": 1, "invocations_24h": 1, "pending": 1, "stuck_running": 1 }, "functions_http": { "available": true, "concurrency_now": 1, "error_rate_5xx": 1, "p50_ms": 1, "p99_ms": 1, "reason": "example", "requests_24h": 1, "window_hours": 1 }, "generated_at": "example", "webhooks": { "failed_7d": 1 } }, "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Unauthorized
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Forbidden
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Internal Server Error
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Service Unavailable
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Live 174db30c built