from sarj_platform_sdk import SDK
with SDK(timeout_ms=10_000) as sdk:
print(sdk.system.get_health().data.status) # "ok"{
"data": {
"status": "ok"
},
"meta": {
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"message": "<string>",
"type": "validation_error",
"field_violations": [
{
"field": "phone_number.country_code",
"message": "Must start with +"
}
]
},
"meta": {
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}System
Health Check
Returns the operational status of the API. Does not require authentication.
GET
/
health
from sarj_platform_sdk import SDK
with SDK(timeout_ms=10_000) as sdk:
print(sdk.system.get_health().data.status) # "ok"{
"data": {
"status": "ok"
},
"meta": {
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"message": "<string>",
"type": "validation_error",
"field_violations": [
{
"field": "phone_number.country_code",
"message": "Must start with +"
}
]
},
"meta": {
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}
