Skip to main content

Module models

Module models 

Source
Expand description

Model metadata structures for /v1/models discovery. ModelInfo and ModelsResponse — match the wire shape on docs.typesafe.ai/models#listing-models.

GET /v1/models returns the names your account can send in the model field, with a description and release date for each. It currently lists the aliases.

Response shape: { "models": [ { "name", "description", "release_date" } ] }

Structs§

ModelInfo
One entry in the models array. Fields are required and order-stable.
ModelsResponse
Top-level GET /v1/models response.