Blog
Docs
Pricing
Sign Up
Log In
API Management Documentation
Adding a New API for Monitoring
API Name and Base URL
API Name
: Enter a descriptive name for your API.
Base URL
: Provide the base URL of the API (e.g.,
https://api.example.com
).
Routes to Monitor
Add the specific routes you want to monitor (e.g.,
/users
,
/posts
).
Use the "Add Route" button to add more routes.
Remove a route by clicking the trash icon next to it.
Notification Methods
Select the notification methods you want to use from the dropdown list.
Failure Conditions (Optional)
Click "Status Code Rules" to expand the section.
Status Code Comparison
: Specify a comparison rule (e.g.,
>= 400
).
Exact Status Codes
: List specific status codes to monitor (e.g.,
500, 503
).
Authentication Type (Optional)
Click "Authentication Options" to expand the section.
Select the authentication type from the dropdown (None, API Key, Bearer Token, Basic Authentication).
Fill in the required fields based on the selected authentication type.
Custom Headers
Add custom headers by specifying the key and value.
Use the "Add Header" button to add more headers.
Remove a header by clicking the trash icon next to it.
Cron Schedule
Enter a cron schedule to specify how often the API should be monitored (e.g.,
*/5 * * * *
for every 5 minutes).
Use the "Generate with natural language" button to create a cron expression from plain text.
Testing and Submitting
Click "Test API" to test the API routes.
Ensure the test is successful before submitting.
Click "Add API" to submit the form.
Editing an Existing API
API Name and Base URL
Modify the API name and base URL as needed.
Routes to Monitor
Update the routes you want to monitor.
Add or remove routes as necessary.
Notification Methods
Update the selected notification methods.
Failure Conditions (Optional)
Modify the status code comparison and exact status codes.
Authentication Type (Optional)
Update the authentication type and related fields.
Custom Headers
Add, update, or remove custom headers.
Cron Schedule
Update the cron schedule as needed.
Testing and Submitting
Click "Test API" to re-test the API routes if any changes were made.
Ensure the test is successful before submitting.
Click "Update API" to save the changes.
Additional Actions
Cancel
: Click the "Cancel" button to discard changes and return to the API management list.
Notes
Ensure all required fields are filled out.
Validate the cron schedule before submitting.
Test the API routes to ensure they are reachable.
Add New API
Back to API List