API ReferenceHealth
Health check
Liveness probe. Returns 200 if the service is running and can reach both PostgreSQL and ClickHouse.
Response Body
application/json
application/json
curl -X GET "https://ingest.yavio.ai/health"{
"status": "ok",
"postgres": "up",
"clickhouse": "up"
}{
"status": "ok",
"postgres": "up",
"clickhouse": "up"
}Ingest event batch POST
Receives a batch of analytics events from the server SDK or widget SDK. Events are validated, PII-stripped, and written to ClickHouse.
Mint widget JWT POST
Mints a short-lived JWT for widget-side event ingestion. The JWT is scoped to a single trace and session, and expires after 15 minutes. Requires a valid project API key.