The ServiciosYa API exposes two health endpoints at the root level — outside theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/CodexaCP/SERVICIOS-BACK/llms.txt
Use this file to discover all available pages before exploring further.
/api/v1 prefix and without any authentication requirement. They are designed for use by container orchestrators, load balancers, and uptime monitors to determine whether the process is running and whether it is ready to serve traffic. Neither endpoint is gated by the EnableDiagnostics flag; they are always available regardless of configuration.
These endpoints do not require an
Authorization header. They are intentionally public so that infrastructure probes can reach them without credentials.GET /health/live — Liveness probe
The liveness endpoint is a minimal signal that the process is alive. It performs no I/O and always responds200 OK as long as the ASP.NET Core request pipeline is running. Use it to tell your orchestrator when a pod or container should be restarted.
Authentication: NoneMethod:
GETPath:
/health/live
Response — 200 OK
Always
"OK". This value never changes — the endpoint only returns when the process is responsive.The current UTC timestamp at the moment the response was generated.
Example
GET /health/ready — Readiness probe
The readiness endpoint performs two active checks before responding: it opens a SQL Server connection and executesSELECT 1 to verify database reachability, and it writes and deletes a small temporary file under wwwroot/uploads to confirm filesystem access. The overall status reflects the worst result across both components. Use this endpoint to tell your orchestrator when a pod should start receiving traffic.
Authentication: NoneMethod:
GETPath:
/health/ready
Response — 200 OK (all components healthy)
Response — 503 Service Unavailable (one or more components unhealthy)
Aggregate status of all components. Possible values:
| Value | Meaning |
|---|---|
OK | All components are healthy. |
Warning | At least one component degraded but none errored. |
Error | At least one component returned an error. |
UTC timestamp when the check was executed.
List of individual component check results.
Component identifier. Currently
"sqlserver" and "storage".Per-component status:
"OK" or "Error".Human-readable diagnostic message in Spanish describing the outcome.
Example
Kubernetes / Docker configuration
Unlike the
/api/v1/system/* diagnostics endpoints, the health endpoints are never disabled by the Diagnostics:EnableDiagnostics configuration flag. They are always reachable.