List All Model Aliases
Changed onRetrieves paginated list of all configured model aliases including user-defined aliases, model aliases, and API provider aliases with server-side facet filtering (type, api_format, size range, capability) and sorting. Requires any authenticated user (User level permissions or higher).
Request
- Base URL: http://localhost:1135
- URL: http://localhost:1135/bodhi/v1/models
- Auth: one of:
- HTTP bearer
- HTTP bearer
- OAuth 2 (authorization code, authorization URL /bodhi/v1/auth/initiate, token URL /bodhi/v1/auth/callback, scopes: resource_user)
Query parameters
Page number (1-based indexing)
Number of items to return per page (maximum 100)
Field to sort by. Common values: repo, filename, size, updated_at, snapshot, created_at
Sort order: 'asc' for ascending, 'desc' for descending
Alias type facet (comma-separated): local_file, model_alias, api_model, fallback.
API-format facet (comma-separated), API rows only: openai, responses, anthropic, gemini, liberty. anthropic matches both anthropic and anthropic_oauth aliases.
Minimum local-file size in bytes (inclusive). Applies to local rows with a known size; rows without a size (API/router) are not filtered out by size.
Maximum local-file size in bytes (inclusive). See size_min.
Capability facet (comma-separated), local rows only: vision, tool_use, reasoning. A row passes only if it has metadata with every requested capability set true.
Free-text search (case-insensitive substring) over a row's identifying fields — alias/name, repo, filename for local rows; id, name, base_url for API rows; alias for routers.
Response
Paginated list of model aliases retrieved successfully
Changes
- info
added
subschema #2to the///////response propertyallOflist for the response status - info
removed
subschema #1subschema #2subschema #3from the///////response propertyoneOflist for the response status - info
added the required property
//////to the response with the status - info
added the required property
//////to the response with the status - info
added the required property
//////to the response with the status
- info
- info
added the optional property
///////to the response with the status
- info