Description of the JSON for a Result.
The Result object contains the request to an endpoint, the response from the endpoint, and the timing meta-data. The list APIs only return the meta-data, to view the request or response data, you need to get the individual Result object.
{
"timing": {
"handshake": 0.0,
"total": 30.269,
"dns": 4.249,
"download": 18.945,
"processing": 0.016,
"upload": 0.034,
"tcp": 7.025
},
"meta": {
"result_category": "PASS",
"domain": "google.apimetrics.xyz",
"url": "http://google.apimetrics.xyz/post",
"source_ip": "172.31.16.88",
"request_size": 27,
"call_id": "ag9zfmFwaW1ldHJpY3MtcWNyEwsSClRlc3RTZXR1cDIYofqRDAw",
"result": "COMPLETE",
"response_size": 746,
"http_code": 200,
"location_id": "public_qcawsuswest",
"id": "ag9zfmFwaW1ldHJpY3MtcWNyGAsSC1Rlc3RSZXN1bHQzGICAwPbMrdEIDA",
"dest_ip": "35.190.18.183"
},
"request": {
"url": "http://google.apimetrics.xyz/post",
"headers": [
{
"value": "k2=v2; k1=v1",
"key": "Cookie"
},
{
"value": "application/x-www-form-urlencoded",
"key": "Content-Type"
},
{
"value": "application/json",
"key": "Accept"
},
{
"value": "APImetrics/0.9.1 PycURL/7.43.0.3 libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3",
"key": "User-Agent"
}
],
"method": "POST"
},
"response": {
"url": "http://google.apimetrics.xyz/post",
"headers": [
{
"value": "gunicorn/19.7.1",
"key": "Server"
},
{
"value": "Sat, 22 Aug 2020 00:03:41 GMT",
"key": "Date"
},
{
"value": "application/json",
"key": "Content-Type"
},
{
"value": "*",
"key": "Access-Control-Allow-Origin"
},
{
"value": "true",
"key": "Access-Control-Allow-Credentials"
},
{
"value": "746",
"key": "Content-Length"
},
{
"value": "1.1 google",
"key": "Via"
}
],
"status_string": "OK",
"status_code": 200
},
"id": "ag9zfmFwaW1ldHJpY3MtcWNyGAsSC1Rlc3RSZXN1bHQzGICAwPbMrdEIDA"
}
id | The Result ID | |
meta | Meta-data | |
request | Request data | (Not in list APIs) |
response | Response data | (Not in list APIs) |
timing | Timing data |
Section: meta
dest_ip | The IP address of the endpoint called | 35.190.18.183 |
domain | The domain of the request | google.apimetrics.xyz |
http_code | The HTTP code of the response | 200 |
location_id | The ID of the agent that made the request | public_awsuseast2 |
request_size | Size of the request in bytes | 72 |
response_size | Size of the response in bytes | 248 |
result | The specific reason this API call is marked as a pass or a failure. COMPLETE is a pass. | COMPLETE or SERVER_ERROR ... etc |
result_category | Whether the API call succeeded | PASS, FAIL, WARNING |
source_ip | The local IP address of our agent | 172.31.16.88 |
url | The URL of the request | http://google.apimetrics.xyz/post |
Section: timing
total | The total time it took to make the API call | Time in milliseconds |
dns | The time to look up the IP address using DNS | Time in milliseconds |
tcp | The time to make a TCP connection | Time in milliseconds |
handshake | The time to make the SSL handshake (if needed) | Time in milliseconds |
upload | The time between the first byte and the last byte sent to the endpoint | Time in milliseconds |
processing | The time between the last byte being sent to the endpoint, and the first byte received back in response. Sometimes known as Time to First Byte. | Time in milliseconds |
download | The time it took to receive the full response. | Time in milliseconds |
Section: request
method | The HTTP method used | e.g. GET, POST, etc |
url | The URL requested | e.g. http://google.apimetrics.xyz/post |
headers | The HTTP headers sent | An array of dictionaries with key and value for each header |
Section: response
status_code | The HTTP status code of the response | e.g. 200 |
status_string | The HTTP status string, if any | e.g. OK |
url | The final URL requested (may be different if redirects were followed) | e.g. http://google.apimetrics.xyz/post |
headers | The HTTP headers received | An array of dictionaries with key and value for each header |