x402

API Health Check (x402)

Test an API endpoint: send request, validate response status and schema. Integration testing as a service.

get/x402/v2/api-health-check

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/api-health-check
  • Auth: none required

Query parameters

urlstring required

API endpoint URL

bodyunknown
methodstring
headersobject
expected_schemaobject
expected_statusinteger

Response

Success

is_healthyboolean
status_codeinteger
schema_validboolean
response_bodyunknown
response_time_msinteger

Example response

{
  "url": "https://strale-production.up.railway.app/v1/health",
  "method": "GET",
  "is_healthy": false,
  "status_code": 404,
  "content_type": "application/json",
  "schema_valid": null,
  "status_valid": false,
  "response_body": {
    "message": "No route matches GET /v1/health",
    "error_code": "not_found"
  },
  "expected_status": "2xx/3xx",
  "response_headers": {
    "date": "Fri, 03 Apr 2026 01:17:16 GMT",
    "link": "</.well-known/agent-card.json>; rel=\"agent-card\"",
    "vary": "Origin",
    "server": "railway-edge",
    "x-cache": "MISS",
    "connection": "keep-alive",
    "x-served-by": "cache-ewr-kewr1740046-EWR",
    "content-type": "application/json",
    "x-cache-hits": "0",
    "content-length": "70",
    "strale-version": "2026-02-26",
    "x-railway-edge": "railway/us-east4-eqdc4a",
    "referrer-policy": "strict-origin-when-cross-origin",
    "x-frame-options": "DENY",
    "x-xss-protection": "0",
    "permissions-policy": "camera=(), microphone=(), geolocation=()",
    "x-railway-cdn-edge": "fastly/cache-ewr-kewr1740046-EWR",
    "x-railway-request-id": "-1fsM4fBSN6e_MW4Cx5-qw",
    "x-content-type-options": "nosniff",
    "content-security-policy": "default-src 'none'; frame-ancestors 'none'",
    "strict-transport-security": "max-age=63072000; includeSubDomains",
    "access-control-allow-origin": "*"
  },
  "response_time_ms": 59
}

Changes

No recorded changes to this operation across all 1 revision of this API.