Skip to main content
GET
Get Application Metrics
Authorization
string
required
The API key for your account. You can find this in your account settings.
This endpoint returns historical resource usage rather than the current snapshot: up to 288 data points covering the last 24 hours, sampled every 5 minutes, for CPU, RAM, and network. Use it to render a usage chart or to spot trends over time; for the application’s current live numbers, use Get Application Status or the status events on Real-time Logs instead. Metrics collection requires at least 512 MB of RAM allocated to the application; smaller applications return METRICS_NOT_SUPPORTED. Results are cached for 2.5 minutes per (owner, application), and the endpoint is rate limited to 10 requests every 5 seconds per user, with a 60-second block once that cap is hit.

Parameters

app_id
string
required
The ID of the application. You can find this in the URL of your application’s dashboard.

Response

status
string
Indicates whether the call was successful.. success if successful, error if not.
response
array
The contents of the response.

Common errors