Referencia de la API
GET /health
Check if the API is operational.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Check if the API is operational.
GET /api/v1/health
curl https://www.pixcraft.es/api/v1/health
{
"status": "ok",
"version": "1.0",
"timestamp": "2025-03-01T08:00:00.000Z"
}
| Field | Type | Description |
|---|---|---|
status | string | "ok" when the API is operational |
version | string | Current API version |
timestamp | string | Server timestamp in ISO 8601 format |
// Simple uptime check
async function checkPixCraftApi() {
try {
const res = await fetch('https://www.pixcraft.es/api/v1/health');
const data = await res.json();
return data.status === 'ok';
} catch {
return false;
}
}
Was this page helpful?