Skip to content

Check optional programs

GET
/api/health
Code sample: Shell / cURL
curl --request GET \
--url http://127.0.0.1:8004/api/health \
--header 'Authorization: Bearer <token>'

Which optional programs the server found and whether they run

Media typeapplication/json
object
groups
required
Array<object>
object
title
required
string
checks
required
Array<object>
object
name
required
string
status
required
string
Allowed values: ok missing warning error
value
required

A version, or a word such as “Not found”.

string
path
string | null
purpose
required
string
note

What is wrong, or what happens without it.

string | null
path
required

The server’s PATH, where programs are looked up.

Array<string>

Example

{
"groups": [
{
"checks": [
{
"status": "ok"
}
]
}
]
}

Missing or wrong access token

Media typetext/plain
string

The request’s Host or Origin isn’t allowed, or the caller can’t use this route (a guest token, or btmux connect)