Skip to main content
Autrex
Cart (0 items)
GET/api/v1/health

Health Check

Check API health status and version information.

The same-origin /api/erp relay accepts only storefront allow-listed paths and methods; other routes return 404. Browser-supplied API keys are discarded. Direct public API endpoints remain available at their documented URLs.

healthstatus

Use Cases

  • Monitor API availability
  • Verify API version

Request Example

cURL
curl "https://autrex.ca/api/v1/health"
JavaScript
fetch("https://autrex.ca/api/v1/health")

Response

200API is healthy
{
  "status": "healthy",
  "version": "v1",
  "timestamp": "2024-01-19T12:00:00Z"
}

Caching

Max Age
60s