GET
/
health
{
  "success": true,
  "requestId": "123e4567-e89b-12d3-a456-426655440000",
  "data": {
    "data": {
      "amadeus": {
        "healthy": true
      },
      "duffel": {
        "healthy": true
      },
      "status": "<string>"
    }
  }
}

Health Check

The Health Check endpoint allows you to monitor the operational status of the Travelese Engine API and its connected providers.

Request Format

This endpoint doesn’t require any parameters and can be called without authentication.

GET https://engine-api.travelese.ai/health

Response Format

The endpoint returns a JSON response with the following structure:

{
  "success": true,
  "requestId": "req_123",
  "data": {
    "data": {
      "amadeus": {
        "healthy": true
      },
      "duffel": {
        "healthy": true
      }
    },
    "status": "healthy"
  }
}

Status Values

The overall status field can be:

  • healthy: All providers are operational
  • degraded: One or more providers are experiencing issues

Provider Status

Each provider (amadeus, duffel) includes:

  • healthy: Boolean indicating if the provider is operational

Error Response

{
  "success": false,
  "requestId": "req_123",
  "error": {
    "code": "provider_error",
    "message": "Unable to connect to provider"
  }
}

Example Request

curl https://engine-api.travelese.ai/health

Usage

Use this endpoint to:

  • Monitor API availability
  • Check provider status before making requests
  • Implement health checks in your application

Response

200
application/json
Retrieve health
success
boolean
required

Indicates a successful response

requestId
string
required

Request identifier for tracing

Example:

"123e4567-e89b-12d3-a456-426655440000"

data
object
required