Status
GET/status
Status
Returns all information about the app and its current status.
The /status
endpoint gives information about currently active models, and the config the app
is running with. A 200 response indicates that the server is running. To check if the server is
ready to receive requests, see the /healthz
endpoint.
Request​
Responses​
- 200
- 503
Server is running, backend configuration is returned in body
- application/json
- Schema
- Example (from schema)
Schema
config
object
required
The app configuration
Default value: 100
Default value: true
Default value: 1
Default value: true
Default value: true
Default value: true
Default value: 3001
Default value: 8
Default value: 3000
Default value: 3002
status
object
nullable
dead_readers
object
required
property name*
ReaderInfo
input_model_paths
object
required
last_heartbeat
object
required
property name*
LastHeartbeat
live_readers
object
required
property name*
ReaderInfo
loading_readers
object
required
property name*
ReaderInfo
{
"config": {
"batch_duration_millis": 100,
"echo": false,
"enable_metrics": true,
"heartbeat_check_interval": 1,
"launch_management_server": true,
"launch_sagemaker_server": true,
"launch_vertex_server": true,
"management_port": 3001,
"max_batch_size": 8,
"port": 3000,
"vertex_port": 3002
},
"status": {
"dead_readers": {},
"input_model_paths": {},
"last_heartbeat": {},
"live_readers": {},
"loading_readers": {}
}
}
Server is not available