Skip to main content

Get available models

GET 

/ai/models

This endpoint returns a list of Open Source and OpenAI models that are available for use.

Note: Model id's will be in the form {source}/{model_name}. For example openai/gpt-4 or mistralai/Mistral-7B-Instruct-v0.1 consistent with HuggingFace naming conventions.

Request

Responses

200: Successful Response

Schema

    object Object

    Default value: list

    data

    object[]

    required

  • Array [

  • id Idrequired
    object Object

    Default value: model

    created Createdrequired
    owned_by Owned Byrequired
  • ]

422: Validation Error

Schema

    detail

    object[]

  • Array [

  • loc

    object[]

    required

  • Array [

  • anyOf

    string

  • ]

  • msg Messagerequired
    type Error Typerequired
  • ]

Loading...