Get error statistics

Returns HTTP status codes distribution statistics from delivering a URL or CP code based on the nine-second traffic sample from the last two minutes. You can filter the results by delivery and errorType. The delivery is the delivery type of your resource, either ENHANCED_TLS or STANDARD_TLS. The STANDARD_TLS value returns data for the HTTP traffic with Standard TLS hostname, whereas ENHANCED_TLS for the HTTPS traffic with Enhanced TLS hostname. Without this filter, Edge Diagnostics checks on its own the type of delivery used by your resource and returns data for it. If your resource uses both delivery types, then Edge Diagnostics returns data for the type which got all data collected faster. If you choose the delivery type not used by your resource, then the results are empty. If you want to add this filter, you can run the Get an edge hostname operation in Edge Hostnames API to confirm the delivery type of your resource. It's the securityType value. The errorType filter is for the traffic's direction. The EDGE_ERRORS value returns data for the traffic between a customer and an edge server and ORIGIN_ERRORS between the edge server and the origin. Without this filter, Edge Diagnostics returns data for both directions.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
integer
≥ 0

CP code you want to get the error statistics for. You need to provide either this value or url.

string
enum

Type of network you want to get traffic data for, either STANDARD_TLS or ENHANCED_TLS. Without this filter, Edge Diagnostics checks on its own the type of delivery used by the requested CP code or URL and returns data for it. If it uses both types, then Edge Diagnostics returns data for the type which got all data collected faster. If you choose the delivery type not used by your resource, then the results are empty. To verify the delivery type of your resource, run the Get an edge hostname operation in Edge Hostnames API. It is the securityType value.

Allowed:
string
enum

Type of traffic direction you want to get the data for, either EDGE_ERRORS or ORIGIN_ERRORS. The EDGE_ERRORS value returns data for the edge server response to a client and ORIGIN_ERRORS for the edge server forward request to an origin server. Without this filter, Edge Diagnostics returns data for both.

Allowed:
uri
required

Fully qualified URL you want to get the error statistics for. You need to provide either this value or cpCode.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json