Skip to content

API reference

Models

GET /v1/models. Lists the model aliases configured for your organization, in the OpenAI models list format.

GET https://YOUR-DOOR-ADDRESS/v1/models

The model field on every door takes an alias configured for your organization. Each alias names the model that answers and the provider key used to call it. This call lists your aliases.

for model in client.models.list():
print(model.id)
{
"object": "list",
"data": [
{
"id": "<alias>",
"object": "model",
"owned_by": "syderial",
"endpoint_family": "<the door family this alias serves>"
}
]
}

endpoint_family says which door an alias is meant for. Use id as the model value in your calls.