Health Check

Health Status of the Service

GET /health

Response includes:

  • The status of the service

  • The number of active sessions

  • The current version

  • A description of the service

Request Example:

curl --location \
--request GET 'https://api.cros.one/health' \
--header 'Authorization: Bearer your-api-key'

Response:

{
  "status": "OK",
  "version": "1.2.3",
  "description": "Cros is an API that enables users to automate interactions with webpages, offering features for session management, navigation, and data retrieval.",
  "active_sessions": 123
}

Fields in the Response:

  • status: Current status of the service (e.g., "OK" or "Error")

  • version: The current version of the service

  • description: A brief description of the service

  • active_sessions: The number of active sessions currently running

Last updated