Skip to main content

ping

Agent Runtimes


Agent Runtimes / api/spacer/healthz / ping

Function: ping()

ping(baseUrl?): Promise<HealthzPingResponse>

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

Health check ping endpoint for Spacer service

Parameters

baseUrl?

string = DEFAULT_SERVICE_URLS.SPACER

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

Returns

Promise<HealthzPingResponse>

Health check response

Throws

If the health check fails

Remarks

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

Expected status codes:

  • 200: Service is healthy