Skip to content
SupportLogin
List supported models

List supported models

models.list(ModelListParams**kwargs) -> ModelListResponse
GET/api/v1/models

Lists the models currently available to the caller through the responses endpoint: hosted models, harnesses and inference stacks. Pass type=hosted for the hosted models alone: what the caller’s key grants, minus the -direct ids, which are omitted rather than listed under the public name they serve. The catalogue only supplies the display_name when it carries the model. An approved inference provider key receives the provider catalog representation instead.

ParametersExpand Collapse
x_organization_id: Optional[str]
type: Optional[Literal["hosted"]]

Narrows the list to the hosted models the caller’s key grants, leaving out harnesses and stacks. A -direct id is omitted rather than listed under the public name it serves, and a granted model the catalogue does not carry is still listed, without a display_name.

ReturnsExpand Collapse
class ModelListResponse: …
object: Literal["list"]
data: List[Data]
id: str

Model identifier accepted by the responses endpoint.

created: int

Unix timestamp when the model was created.

object: Literal["model"]
owned_by: str

Organization that owns the model.

display_name: Optional[str]

Human-readable name, when the model is one the platform catalogues.

shutdown_date: Optional[str]

Date when the model will be shut down, if announced.

List supported models

import os
from adaption import Adaption

client = Adaption(
    api_key=os.environ.get("ADAPTION_API_KEY"),  # This is the default and can be omitted
)
models = client.models.list()
print(models.object)
{
  "object": "list",
  "data": [
    {
      "id": "qwen3.5-397b",
      "created": 1750000000,
      "object": "model",
      "owned_by": "platform",
      "display_name": "Qwen 3.5 397B",
      "shutdown_date": null
    }
  ]
}
Returns Examples
{
  "object": "list",
  "data": [
    {
      "id": "qwen3.5-397b",
      "created": 1750000000,
      "object": "model",
      "owned_by": "platform",
      "display_name": "Qwen 3.5 397B",
      "shutdown_date": null
    }
  ]
}