GET /v1/models
Returns all models known by the runtime.
Parameters:
format
: The response payload format'json'
or'csv'
. Default'json'
.
Response:
Returns the list of models and their properties. Example:
[
{
"name": "rf_forecast",
"from": "file://usr/me/model.onnx",
"datasets": ["input_times"]
},
{
"name": "my_language_model",
"from": "openai:gpt-3.5-turbo",
"datasets": []
}
]