Overview
Private locations allow you to run checks from your own infrastructure, providing monitoring from behind firewalls, in specific geographic regions, or from custom network environments. This endpoint returns all private locations configured in your account.Response Example
Private Location Status
ACTIVE
ACTIVE
- Agent is connected and responding
- Recent heartbeat within expected interval
- Ready to execute checks
- All systems operational
INACTIVE
INACTIVE
- Agent may be disconnected
- No recent heartbeat received
- Checks will fail or be skipped
- Requires investigation
DEGRADED
DEGRADED
- Intermittent connectivity
- Performance issues detected
- Some checks may fail
- Monitoring recommended
MAINTENANCE
MAINTENANCE
- Manually disabled by user
- Checks are suspended
- Agent may be running but not accepting work
- Planned maintenance mode
Use Cases
Internal Network Monitoring
Geographic Coverage
Compliance Requirements
Performance Testing
Code Examples
Filtering and Monitoring
Query Parameters
Query Parameters
limit
(integer): Number of results per page (max 100)page
(integer): Page number (1-based)status
(string): Filter by status (ACTIVE, INACTIVE, DEGRADED, MAINTENANCE)region
(string): Filter by regiontag
(string): Filter by tag
Health Monitoring
Health Monitoring
Agent Version Tracking
Agent Version Tracking
Private Location Management
Agent Installation
Agent Installation
- Create the Private Location: Use the API or web interface
- Generate API Keys: Get authentication credentials
- Install the Agent: Deploy the Checkly Agent in your infrastructure
- Configure Connectivity: Ensure network access to Checkly services
- Verify Status: Check that the location shows as ACTIVE
Network Requirements
Network Requirements
- Outbound HTTPS (443): To Checkly’s API endpoints
- WebSocket Connection: For real-time communication
- DNS Resolution: Access to public DNS or custom resolvers
- Resource Requirements: Sufficient CPU and memory for check execution
Maintenance and Updates
Maintenance and Updates
- Agent Updates: Keep agents updated to latest versions
- Health Monitoring: Monitor heartbeat and status
- Performance Tracking: Monitor check execution times
- Log Review: Check agent logs for errors or warnings
Example Filtered Requests
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
Response
Successful
"0baf2a80-7266-44af-b56c-2af7086782ee"
The name assigned to the private location.
"New Private Location"
Valid slug name.
"new-private-location"
The private location icon.
"location"
The check this private location has assigned.
The group this private location has assigned.
A proxy for outgoing API check HTTP calls from your private location.
"https://user:password@164.92.149.127:3128"