health

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-health"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/580138dd-e034-45bc-9b98-d62842cc2850/social-card.svg?v=3e7ae33eec8b" alt="health" width="600" height="315"></a>
GEThttps://lucidace.com/healthz

Liveness: the process is up.

Code samples

cURL
curl -X GET "https://lucidace.com/healthz"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 alive
"string"
GEThttps://lucidace.com/readyz

Readiness: the database answers.

Code samples

cURL
curl -X GET "https://lucidace.com/readyz"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 ready
"string"
503 database unreachable
GEThttps://lucidace.com/v1/projects/{project_id}/healthScope settings:read

Parameters

project_idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/health"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Last run and open firing counts by severity
Example
{
  "critical": 0,
  "info": 0,
  "last_run_at": "2024-01-01T00:00:00Z",
  "warning": 0
}
Schema
criticalintegerrequired
infointegerrequired
last_run_atstring
When the checks last ran; null before the first run.
warningintegerrequired
404
GEThttps://lucidace.com/v1/projects/{project_id}/health/issuesScope settings:read

Parameters

project_idstringpathrequired
statusstringpathrequired
firing, dismissed or resolved; default: open issues (firing and dismissed).
limitintegerquery
cursorstringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/health/issues"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Most recently seen first
Example
{
  "data": [
    {
      "data": {},
      "detail": "string",
      "dismissed_at": "2024-01-01T00:00:00Z",
      "first_seen_at": "2024-01-01T00:00:00Z",
      "id": "string",
      "kind": "string",
      "last_seen_at": "2024-01-01T00:00:00Z",
      "resolved_at": "2024-01-01T00:00:00Z",
      "severity": "string",
      "status": "string",
      "title": "string"
    }
  ],
  "next_cursor": "string"
}
Schema
dataobject[]required
Show child parameters
datarequired
Check-specific numbers behind the finding.
detailstringrequired
dismissed_atstring
first_seen_atstringrequired
idstringrequired
kindstringrequired
Check id, e.g. no_live_events, no_pageleave, ingestion_warnings.
last_seen_atstringrequired
resolved_atstring
severitystringrequired
critical | warning | info
statusstringrequired
firing | dismissed | resolved
titlestringrequired
next_cursorstring
400
404
POSThttps://lucidace.com/v1/projects/{project_id}/health/issues/{id}/dismissScope settings:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/health/issues/{id}/dismiss"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Dismissed until it next resolves
Example
{
  "data": {},
  "detail": "string",
  "dismissed_at": "2024-01-01T00:00:00Z",
  "first_seen_at": "2024-01-01T00:00:00Z",
  "id": "string",
  "kind": "string",
  "last_seen_at": "2024-01-01T00:00:00Z",
  "resolved_at": "2024-01-01T00:00:00Z",
  "severity": "string",
  "status": "string",
  "title": "string"
}
Schema
datarequired
Check-specific numbers behind the finding.
detailstringrequired
dismissed_atstring
first_seen_atstringrequired
idstringrequired
kindstringrequired
Check id, e.g. no_live_events, no_pageleave, ingestion_warnings.
last_seen_atstringrequired
resolved_atstring
severitystringrequired
critical | warning | info
statusstringrequired
firing | dismissed | resolved
titlestringrequired
403
404
POSThttps://lucidace.com/v1/projects/{project_id}/health/runScope settings:write

Parameters

project_idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/health/run"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 What changed on this run
Example
{
  "ongoing": [
    "string"
  ],
  "opened": [
    "string"
  ],
  "ran_at": "2024-01-01T00:00:00Z",
  "resolved": [
    "string"
  ]
}
Schema
ongoingstring[]required
openedstring[]required
ran_atstring
resolvedstring[]required
403
404
503
GEThttps://lucidace.com/v1/version

Which build is deployed. Public, so a release check needs no key; `/healthz` stays a bare `ok`.

Code samples

cURL
curl -X GET "https://lucidace.com/v1/version"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 {commit, built_at}
"string"
Updated