/health
GET
/health
const url = 'https://pki.example.com/api/v1/health';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://pki.example.com/api/v1/health \ --header 'Authorization: Bearer <token>'Health check endpoint for the REST API
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
status
required
API health status
string
version
required
API version
string
timestamp
required
Current server timestamp
string format: date-time
Example
{ "status": "ok"}