Passer au contenu principal
GET
/
health
État du service
import requests

url = "https://app.ubik-agent.com/api/v1/health"

headers = {"X-API-KEY": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};

fetch('https://app.ubik-agent.com/api/v1/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
curl --request GET \
--url https://app.ubik-agent.com/api/v1/health \
--header 'X-API-KEY: <api-key>'
{
  "status": "ok",
  "user": "testuser"
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}

Autorisations

X-API-KEY
string
header
requis

En-têtes

X-End-User-ID
string | null

Réponse

Successful Response