Overview
The TCP Check Analytics endpoint provides detailed availability metrics and aggregated TCP check data across custom time ranges. This endpoint helps you analyze the performance of your TCP connection monitoring and network reliability checks. Common Use Cases:- TCP Connection Performance Analysis
- Network Reliability Monitoring
- Port Availability Tracking
- Connection Time Analysis
Authorizations
The Checkly Public API uses API keys to authenticate requests. You can get the API Key here.
Your API key is like a password: keep it secure!
Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID.
For example, set Authorization header while using cURL:
curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"
Headers
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Path Parameters
Query Parameters
Custom start time of reporting window in unix timestamp format. Setting a custom "from" timestamp overrides the use of any "quickRange".
Custom end time of reporting window in unix timestamp format. Setting a custom "to" timestamp overrides the use of any "quickRange".
Preset reporting windows are used for quickly generating report on commonly used windows. Can be overridden by using a custom "to" and "from" timestamp.
last24Hours
, last7Days
, last30Days
, thisWeek
, thisMonth
, lastWeek
, lastMonth
The time interval to use for aggregating metrics in minutes. For example, five minutes is 5, 24 hours is 1440.
1 <= x <= 43200
Filter based on whether a check result was either failing or passing
Determines how the series data is grouped. Note that grouped queries are a bit more expensive and might take longer.
runLocation
Available metrics for TCP Checks. You can pass multiple metrics as a comma separated string.
Limit the number of results
1 <= x <= 100
Page number