API Monitoring

Мониторинг API — Проверка ответов и задержек

Availability monitoring without compromise

Start Monitoring View Documentation

What We Check in Every API Response

СтатусПул validates every layer of your API's response — from HTTP status codes and response headers to JSON body content and end-to-end latency. You define the success criteria; we enforce them on every check cycle.

Status Codes

HTTP & HTTPS Response Validation

Expect a 200 OK from your health endpoint? Or does your GraphQL API return 200 with errors inside the body? Configure allowed status ranges (e.g., 2xx only) or pin exact codes. We alert the moment your API returns 500, 502, or 503 — before your users notice.

JSON Path

Deep Body Inspection

Go beyond status codes. Assert that $.data.user.role equals "active", that $.status is "healthy", or that a payment webhook contains $.transaction.amount > 0. We parse JSON payloads and run equality, regex, and numeric comparisons on any path — including nested arrays.

Headers

Response Header Checks

Verify that your CDN serves Cache-Control: max-age=3600, that your API returns the correct Content-Type: application/json; charset=utf-8, or that a custom header like X-RateLimit-Remaining stays above a threshold. Missing or malformed headers trigger alerts immediately.

Latency

Response Time Thresholds

Set per-check latency budgets — for example, <200 ms for your auth endpoint and <800 ms for a heavy reporting query. We measure DNS resolution, TCP handshake, TLS negotiation, and total time-to-first-byte separately, so you know exactly where the bottleneck lives.

Dashboard showing API response validation details including JSON body parsing, header inspection, and latency breakdown for a REST endpoint

Real-World Use Cases

Whether you run a public REST API, a private GraphQL gateway, or a webhook-driven integration pipeline, СтатусПул gives you the validation depth your operations team needs.

Payment Gateway Health

Monitor your Stripe or Adyen webhook receiver at POST https://api.yoursite.com/payments/notify. Assert that the response body contains $.acknowledged == true and that the round-trip stays under 300 ms. If the body ever returns $.error.code == "TIMEOUT", page your on-call engineer via PagerDuty.

GraphQL Schema Integrity

Send a weekly introspection query to https://graph.yoursite.com/v1 and verify that $.data.__schema.types still includes your Order and Customer types. Catch accidental schema deletions before they break mobile apps and partner integrations.

Third-Party Dependency Watch

Your app depends on the Mapbox Geocoding API at https://api.mapbox.com/geocoding/v5. Set up a check that validates the response contains $.features.length > 0 for a known test address. If Mapbox goes down or changes its response format, you get a 5-minute head start before your users file tickets.

Configuration Examples

Here's how you define API checks in the СтатусПул dashboard. Both REST and GraphQL are fully supported with the same validation engine.

REST

Health Endpoint — REST

URL: GET https://api.yoursite.com/v2/health
Expected status: 200
JSON assertion: $.status == "ok"
Header check: X-Server-Region contains "eu-west"
Latency budget: < 150 ms
Check interval: Every 60 seconds
Alert channels: Slack #ops-incidents, email ops@yoursite.com

GraphQL

User Query — GraphQL

URL: POST https://graph.yoursite.com/v1
Body: {"query": "{ user(id: \"usr_9f2k1m\") { email role } }"}
Expected status: 200
JSON assertion: $.data.user.role == "admin"
JSON assertion: $.errors is empty
Header check: Content-Type == "application/json"
Latency budget: < 400 ms
Check interval: Every 5 minutes
Alert channels: PagerDuty P1, Slack #platform

Create Your First API Check Browse All Validation Rules