List Local Model Files
Changed onRetrieves paginated list of GGUF model files available in the local HuggingFace cache directory with metadata including repository, filename, snapshot ID, and file size. Requires any authenticated user (User level permissions or higher).
Request
- Base URL: http://localhost:1135
- URL: http://localhost:1135/bodhi/v1/models/files
- 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
Response
Local model files retrieved successfully from cache
Changes
- breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking