Skip to main content

ping

Agent Runtimes


Agent Runtimes / api/runtimes/healthz / ping

Function: ping()

ping(baseUrl?): Promise<HealthzPingResponse>

Defined in: src/api/runtimes/healthz.ts:34

Health check ping endpoint for Runtimes service

Parameters

baseUrl?

string = DEFAULT_SERVICE_URLS.RUNTIMES

Base URL for the API (defaults to production Runtimes URL)

Returns

Promise<HealthzPingResponse>

Health check response

Throws

If the health check fails

Remarks

This endpoint provides a basic health check for the Runtimes service. It returns the current status of the service.

Expected status codes:

  • 200: Service is healthy