Check API health
GET
/health
const url = 'https://api.braiv.co/v1/health';const options = {method: 'GET'};
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://api.braiv.co/v1/healthReturns the deployed API version. No API key is needed.
Responses
Section titled “ Responses ”The API is available.
Media type application/json
object
ok
required
Whether the HTTP service is running.
boolean
version
required
Deployed public API version.
string
Example
{ "ok": true, "version": "v1"}