models

Get details for a specific model.

Args: model: Model name. http_request: FastAPI request object (for accessing app state).

Returns: Model info.

Raises: HTTPException: 404 if model not found.

get/v1/models/{model}

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

modelstring required

Response

Successful Response

namestring required
inputsstring[] required
outputsstring[] required
dimsobject required
loadedboolean required
state'available' | 'loading' | 'loaded' | 'unloading' | 'failed'
max_sequence_lengthinteger nullable
profilesobject
lora_adaptersstring[]
revisionstring nullable
descriptionstring
release_datestring

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status