Skip to content

get_model_status

POST
/v1/models/status
curl --request POST \
--url https://example.com/v1/models/status \
--header 'Content-Type: application/json' \
--data '{ "model_id": "my-model" }'
Media type application/json

Request for model operations (unload, reload, status)

object
model_id
required
string
Example
my-model

Model status

Media type application/json

Response for model status operations

object
error

Error message when status indicates an error condition

string | null
model_id
required
string
status
required

Model status enum

string
Allowed values: loaded unloaded reloading not_found no_loader_config internal_error
Example
{
"model_id": "my-model",
"status": "loaded"
}

Model not found

Media type application/json

Response for model status operations

object
error

Error message when status indicates an error condition

string | null
model_id
required
string
status
required

Model status enum

string
Allowed values: loaded unloaded reloading not_found no_loader_config internal_error
Example
{
"model_id": "my-model",
"status": "loaded"
}