List the models discovered from configured connections
GET/models
Lists the models Peen found on its configured connections at controller startup, sorted by name. It takes no X-Session-ID header, never makes a provider call, and never returns provider credentials.
Pass a model's name as data.model in a WebSocket message.send frame to run that one turn on it. The list is empty when the controller has no model catalog.
Responses
- 200
- 401
- 406
- 500
The discovered models.
Response Headers
The request's correlation ID. When the request carried an X-Request-ID header holding a UUID, Peen echoes it; otherwise Peen generates a new UUID. The controller log records the same value for this request.
PEEN_API_TOKEN is set and the request's bearer token is missing or wrong. code is UNAUTHORIZED. A deployment with no token never returns this.
The request's Accept header allows neither application/json nor */*, and every response is JSON. code is BAD_REQUEST and message is unsupported response representation. Omit Accept or send application/json.
An unexpected server failure. code is INTERNAL_SERVER_ERROR and message is internal server error. The controller log has the details under the response's X-Request-ID.