Application Metrics

Note: Application, Database, and Static Site Hosting will be removed from both MyKinsta and the MyKinsta API on 31 January 2026. Your existing services will continue to run without interruption; however, you will need to manage them through the Sevalla dashboard using your MyKinsta credentials.

After this date, all API endpoints related to Application, Database, and Static Site Hosting will be provided exclusively through the Sevalla API. For more details about this transition, see Sevalla.

The metrics endpoint can be used to get information about your application's analytics such as the bandwidth, build time, average response request and more.

You can obtain the id from the applications endpoint.

BandwidthDeprecated

Deprecated in favor of Sevalla API docs.

SecuritybearerAuth
Request
path Parameters
id
required
string
Example: 54fb80af-576c-4fdc-ba4f-b596c83f15a1
query Parameters
interval_in_seconds
required
integer
Example: interval_in_seconds=3600
timeframe_start
required
string <date-time>
Example: timeframe_start=2021-07-22T18:10:45.511Z
timeframe_end
required
string <date-time>
Example: timeframe_end=2021-07-22T18:10:45.511Z
Responses
200

Successfully retrieved application bandwidth.

400

One or more of the required parameters were not provided to the request

401

No or invalid API key provided to the request

404

No application or database found with the provided unique ID.

500

Error occurred while retrieving application bandwidth

get/applications/{id}/metrics/bandwidth
Request samples
Response samples
application/json
{
  • "app": {
    }
}

Build TimeDeprecated

Deprecated in favor of Sevalla API docs.

SecuritybearerAuth
Request
path Parameters
id
required
string
Example: 54fb80af-576c-4fdc-ba4f-b596c83f15a1
query Parameters
interval_in_seconds
required
integer
Example: interval_in_seconds=3600
timeframe_start
required
string <date-time>
Example: timeframe_start=2021-07-22T18:10:45.511Z
timeframe_end
required
string <date-time>
Example: timeframe_end=2021-07-22T18:10:45.511Z
Responses
200

Successfully retrieved application build time.

400

One or more of the required parameters were not provided to the request

401

No or invalid API key provided to the request

404

No application or database found with the provided unique ID.

500

Error occurred while retrieving application build time

get/applications/{id}/metrics/build-time
Request samples
Response samples
application/json
{
  • "app": {
    }
}

Run TimeDeprecated

Deprecated in favor of Sevalla API docs.

SecuritybearerAuth
Request
path Parameters
id
required
string
Example: 54fb80af-576c-4fdc-ba4f-b596c83f15a1
query Parameters
interval_in_seconds
required
integer
Example: interval_in_seconds=3600
timeframe_start
required
string <date-time>
Example: timeframe_start=2021-07-22T18:10:45.511Z
timeframe_end
required
string <date-time>
Example: timeframe_end=2021-07-22T18:10:45.511Z
Responses
200

Successfully retrieved application run time.

400

One or more of the required parameters were not provided to the request

401

No or invalid API key provided to the request

404

No application or database found with the provided unique ID.

500

Error occurred while retrieving application build time

get/applications/{id}/metrics/run-time
Request samples
Response samples
application/json
{
  • "app": {
    }
}

HTTP Requests per MinuteDeprecated

Deprecated in favor of Sevalla API docs.

SecuritybearerAuth
Request
path Parameters
id
required
string
Example: 54fb80af-576c-4fdc-ba4f-b596c83f15a1
query Parameters
interval_in_seconds
required
integer
Example: interval_in_seconds=3600
timeframe_start
required
string <date-time>
Example: timeframe_start=2021-07-22T18:10:45.511Z
timeframe_end
required
string <date-time>
Example: timeframe_end=2021-07-22T18:10:45.511Z
Responses
200

Successfully retrieved application average HTTP requests.

400

One or more of the required parameters were not provided to the request

401

No or invalid API key provided to the request

404

No application or database found with the provided unique ID.

500

Error occurred while retrieving application average HTTP requests

get/applications/{id}/metrics/http-requests
Request samples
Response samples
application/json
{
  • "app": {
    }
}

Average Response TimeDeprecated

Deprecated in favor of Sevalla API docs.

SecuritybearerAuth
Request
path Parameters
id
required
string
Example: 54fb80af-576c-4fdc-ba4f-b596c83f15a1
query Parameters
interval_in_seconds
required
integer
Example: interval_in_seconds=3600
timeframe_start
required
string <date-time>
Example: timeframe_start=2021-07-22T18:10:45.511Z
timeframe_end
required
string <date-time>
Example: timeframe_end=2021-07-22T18:10:45.511Z
percent
integer

The percentile of slowest requests to return (e.g. 95 means we return the average of the 5% slowest requests)

Enum: 50 95
Example: percent=95
Responses
200

Successfully retrieved application average response time.

400

One or more of the required parameters were not provided to the request

401

No or invalid API key provided to the request

404

No application or database found with the provided unique ID.

500

Error occurred while retrieving application average response time

get/applications/{id}/metrics/response-time
Request samples
Response samples
application/json
{
  • "app": {
    }
}

Slowest RequestsDeprecated

Deprecated in favor of Sevalla API docs.

SecuritybearerAuth
Request
path Parameters
id
required
string
Example: 54fb80af-576c-4fdc-ba4f-b596c83f15a1
query Parameters
interval_in_seconds
required
integer
Example: interval_in_seconds=3600
timeframe_start
required
string <date-time>
Example: timeframe_start=2021-07-22T18:10:45.511Z
timeframe_end
required
string <date-time>
Example: timeframe_end=2021-07-22T18:10:45.511Z
limit
integer
Default: 10
Example: limit=10
Responses
200

Successfully retrieved application slowest requests.

400

One or more of the required parameters were not provided to the request

401

No or invalid API key provided to the request

404

No application or database found with the provided unique ID.

500

Error occurred while retrieving application slowest requests.

get/applications/{id}/metrics/slowest-requests
Request samples
Response samples
application/json
{
  • "app": {
    }
}

CPU UsageDeprecated

Deprecated in favor of Sevalla API docs.

SecuritybearerAuth
Request
path Parameters
id
required
string
Example: 54fb80af-576c-4fdc-ba4f-b596c83f15a1
query Parameters
interval_in_seconds
required
integer
Example: interval_in_seconds=3600
timeframe_start
required
string <date-time>
Example: timeframe_start=2021-07-22T18:10:45.511Z
timeframe_end
required
string <date-time>
Example: timeframe_end=2021-07-22T18:10:45.511Z
Responses
200

Successfully retrieved application CPU usage.

400

One or more of the required parameters were not provided to the request

401

No or invalid API key provided to the request

404

No application or database found with the provided unique ID.

500

Error occurred while retrieving application CPU usage

get/applications/{id}/metrics/cpu-usage
Request samples
Response samples
application/json
{
  • "app": {
    }
}

Memory UsageDeprecated

Deprecated in favor of Sevalla API docs.

SecuritybearerAuth
Request
path Parameters
id
required
string
Example: 54fb80af-576c-4fdc-ba4f-b596c83f15a1
query Parameters
interval_in_seconds
required
integer
Example: interval_in_seconds=3600
timeframe_start
required
string <date-time>
Example: timeframe_start=2021-07-22T18:10:45.511Z
timeframe_end
required
string <date-time>
Example: timeframe_end=2021-07-22T18:10:45.511Z
Responses
200

Successfully retrieved application memory usage.

400

One or more of the required parameters were not provided to the request

401

No or invalid API key provided to the request

404

No application or database found with the provided unique ID.

500

Error occurred while retrieving application memory usage

get/applications/{id}/metrics/memory-usage
Request samples
Response samples
application/json
{
  • "app": {
    }
}