Get details and aggregate metrics for an http test

Get test details and aggregate performance metrics for an http test for a given time period between 1 hour and 7 days.

/accounts/{account_identifier}/dex/http-tests/{test_id}

get

DEX Synthetic Application Montitoring

dex-endpoints-http-test-details

Debug "planAvailability"

null

Debug "tokenPermissions"

{
  "enum": [
    "#dex:read",
    "#teams:report"
  ]
}

Debug "parameters"

[
  {
    "description": "unique identifier linked to an account in the API request path.",
    "in": "path",
    "name": "account_identifier",
    "required": true,
    "schema": {
      "example": "01a7362d577a6c3019a474fd6f485823",
      "maxLength": 32,
      "readOnly": true,
      "type": "string"
    }
  },
  {
    "description": "unique identifier for a specific test",
    "in": "path",
    "name": "test_id",
    "required": true,
    "schema": {
      "description": "API Resource UUID tag.",
      "example": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
      "maxLength": 36,
      "type": "string"
    }
  },
  {
    "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.",
    "in": "query",
    "name": "deviceId",
    "schema": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  {
    "description": "Start time for aggregate metrics in ISO ms",
    "in": "query",
    "name": "timeStart",
    "required": true,
    "schema": {
      "example": 1689520412000,
      "type": "string"
    }
  },
  {
    "description": "End time for aggregate metrics in ISO ms",
    "in": "query",
    "name": "timeEnd",
    "required": true,
    "schema": {
      "example": 1689606812000,
      "type": "string"
    }
  },
  {
    "description": "Time interval for aggregate time slots.",
    "in": "query",
    "name": "interval",
    "required": true,
    "schema": {
      "enum": [
        "minute",
        "hour"
      ],
      "type": "string"
    }
  },
  {
    "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.",
    "in": "query",
    "name": "colo",
    "schema": {
      "type": "string"
    }
  }
]

Debug "requestBody"

null

Debug "responses"

{
  "200": {
    "content": {
      "application/json": {
        "schema": {
          "allOf": [
            {
              "allOf": [
                {
                  "properties": {
                    "errors": {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    },
                    "messages": {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    },
                    "result": {
                      "anyOf": [
                        {
                          "type": "object"
                        },
                        {
                          "items": {},
                          "type": "array"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "success": {
                      "description": "Whether the API call was successful",
                      "enum": [
                        true
                      ],
                      "example": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "success",
                    "errors",
                    "messages",
                    "result"
                  ],
                  "type": "object"
                },
                {
                  "properties": {
                    "result": {
                      "anyOf": [
                        {
                          "type": "object"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    }
                  }
                }
              ],
              "type": "object"
            },
            {
              "properties": {
                "result": {
                  "properties": {
                    "host": {
                      "description": "The url of the HTTP synthetic application test",
                      "example": "http://example.com",
                      "type": "string"
                    },
                    "httpStats": {
                      "nullable": true,
                      "properties": {
                        "dnsResponseTimeMs": {
                          "properties": {
                            "avg": {
                              "description": "average observed in the time period",
                              "nullable": true,
                              "type": "integer"
                            },
                            "max": {
                              "description": "highest observed in the time period",
                              "nullable": true,
                              "type": "integer"
                            },
                            "min": {
                              "description": "lowest observed in the time period",
                              "nullable": true,
                              "type": "integer"
                            },
                            "slots": {
                              "items": {
                                "properties": {
                                  "timestamp": {
                                    "example": "2023-07-16 15:00:00+00",
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "timestamp",
                                  "value"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "slots"
                          ],
                          "type": "object"
                        },
                        "httpStatusCode": {
                          "items": {
                            "properties": {
                              "status200": {
                                "type": "integer"
                              },
                              "status300": {
                                "type": "integer"
                              },
                              "status400": {
                                "type": "integer"
                              },
                              "status500": {
                                "type": "integer"
                              },
                              "timestamp": {
                                "example": "2023-07-16 15:00:00+00",
                                "type": "string"
                              }
                            },
                            "required": [
                              "timestamp",
                              "status200",
                              "status300",
                              "status400",
                              "status500"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "resourceFetchTimeMs": {
                          "properties": {
                            "avg": {
                              "description": "average observed in the time period",
                              "nullable": true,
                              "type": "integer"
                            },
                            "max": {
                              "description": "highest observed in the time period",
                              "nullable": true,
                              "type": "integer"
                            },
                            "min": {
                              "description": "lowest observed in the time period",
                              "nullable": true,
                              "type": "integer"
                            },
                            "slots": {
                              "items": {
                                "properties": {
                                  "timestamp": {
                                    "example": "2023-07-16 15:00:00+00",
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "timestamp",
                                  "value"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "slots"
                          ],
                          "type": "object"
                        },
                        "serverResponseTimeMs": {
                          "properties": {
                            "avg": {
                              "description": "average observed in the time period",
                              "nullable": true,
                              "type": "integer"
                            },
                            "max": {
                              "description": "highest observed in the time period",
                              "nullable": true,
                              "type": "integer"
                            },
                            "min": {
                              "description": "lowest observed in the time period",
                              "nullable": true,
                              "type": "integer"
                            },
                            "slots": {
                              "items": {
                                "properties": {
                                  "timestamp": {
                                    "example": "2023-07-16 15:00:00+00",
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "timestamp",
                                  "value"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "slots"
                          ],
                          "type": "object"
                        },
                        "uniqueDevicesTotal": {
                          "description": "Count of unique devices that have run this test in the given time period",
                          "example": 57,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "uniqueDevicesTotal",
                        "resourceFetchTimeMs",
                        "serverResponseTimeMs",
                        "dnsResponseTimeMs",
                        "httpStatusCode"
                      ],
                      "type": "object"
                    },
                    "httpStatsByColo": {
                      "items": {
                        "properties": {
                          "colo": {
                            "example": "DFW",
                            "type": "string"
                          },
                          "dnsResponseTimeMs": {
                            "properties": {
                              "avg": {
                                "description": "average observed in the time period",
                                "nullable": true,
                                "type": "integer"
                              },
                              "max": {
                                "description": "highest observed in the time period",
                                "nullable": true,
                                "type": "integer"
                              },
                              "min": {
                                "description": "lowest observed in the time period",
                                "nullable": true,
                                "type": "integer"
                              },
                              "slots": {
                                "items": {
                                  "properties": {
                                    "timestamp": {
                                      "example": "2023-07-16 15:00:00+00",
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "timestamp",
                                    "value"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "slots"
                            ],
                            "type": "object"
                          },
                          "httpStatusCode": {
                            "items": {
                              "properties": {
                                "status200": {
                                  "type": "integer"
                                },
                                "status300": {
                                  "type": "integer"
                                },
                                "status400": {
                                  "type": "integer"
                                },
                                "status500": {
                                  "type": "integer"
                                },
                                "timestamp": {
                                  "example": "2023-07-16 15:00:00+00",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "timestamp",
                                "status200",
                                "status300",
                                "status400",
                                "status500"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "resourceFetchTimeMs": {
                            "properties": {
                              "avg": {
                                "description": "average observed in the time period",
                                "nullable": true,
                                "type": "integer"
                              },
                              "max": {
                                "description": "highest observed in the time period",
                                "nullable": true,
                                "type": "integer"
                              },
                              "min": {
                                "description": "lowest observed in the time period",
                                "nullable": true,
                                "type": "integer"
                              },
                              "slots": {
                                "items": {
                                  "properties": {
                                    "timestamp": {
                                      "example": "2023-07-16 15:00:00+00",
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "timestamp",
                                    "value"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "slots"
                            ],
                            "type": "object"
                          },
                          "serverResponseTimeMs": {
                            "properties": {
                              "avg": {
                                "description": "average observed in the time period",
                                "nullable": true,
                                "type": "integer"
                              },
                              "max": {
                                "description": "highest observed in the time period",
                                "nullable": true,
                                "type": "integer"
                              },
                              "min": {
                                "description": "lowest observed in the time period",
                                "nullable": true,
                                "type": "integer"
                              },
                              "slots": {
                                "items": {
                                  "properties": {
                                    "timestamp": {
                                      "example": "2023-07-16 15:00:00+00",
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "timestamp",
                                    "value"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "slots"
                            ],
                            "type": "object"
                          },
                          "uniqueDevicesTotal": {
                            "description": "Count of unique devices that have run this test in the given time period",
                            "example": 57,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "colo",
                          "uniqueDevicesTotal",
                          "resourceFetchTimeMs",
                          "serverResponseTimeMs",
                          "dnsResponseTimeMs",
                          "httpStatusCode"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "interval": {
                      "description": "The interval at which the HTTP synthetic application test is set to run.",
                      "example": "0h5m0s",
                      "type": "string"
                    },
                    "kind": {
                      "enum": [
                        "http"
                      ]
                    },
                    "method": {
                      "description": "The HTTP method to use when running the test",
                      "example": "GET",
                      "type": "string"
                    },
                    "name": {
                      "description": "The name of the HTTP synthetic application test",
                      "example": "Atlassian Sign In Page",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            }
          ]
        }
      }
    },
    "description": "DEX HTTP test details response"
  },
  "4XX": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "errors": {
              "allOf": [
                {
                  "example": [],
                  "items": {
                    "properties": {
                      "code": {
                        "minimum": 1000,
                        "type": "integer"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "message"
                    ],
                    "type": "object",
                    "uniqueItems": true
                  },
                  "type": "array"
                }
              ],
              "example": [
                {
                  "code": 7003,
                  "message": "No route for the URI"
                }
              ],
              "minLength": 1
            },
            "messages": {
              "allOf": [
                {
                  "example": [],
                  "items": {
                    "properties": {
                      "code": {
                        "minimum": 1000,
                        "type": "integer"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "message"
                    ],
                    "type": "object",
                    "uniqueItems": true
                  },
                  "type": "array"
                }
              ],
              "example": []
            },
            "result": {
              "enum": [
                null
              ],
              "nullable": true,
              "type": "object"
            },
            "success": {
              "description": "Whether the API call was successful",
              "enum": [
                false
              ],
              "example": false,
              "type": "boolean"
            }
          },
          "required": [
            "success",
            "errors",
            "messages",
            "result"
          ],
          "type": "object"
        }
      }
    },
    "description": "DEX HTTP test details failure response"
  }
}

Debug "security"

[
  {
    "api_email": [],
    "api_key": []
  },
  {
    "api_email": [],
    "api_key": []
  }
]