Models

List available models for standard inference

Changed on

Get a list of models available for standard (OpenAI-compatible) inference

get/openai/models

Request

  • Base URL
    https://gateway.prem.io
  • Auth
    • HTTP bearer
    • or API key in header Authorization

Query parameters

type'CHAT' | 'DECISIONS' | 'AUDIO_TRANSCRIPTION' | 'AUDIO_SPEECH' | 'IMAGE'

Filter models by type

Response

OpenAI-compatible models list retrieved successfully

objectstring required

Example response

{
  "data": [
    {
      "metadata": {
        "attestation_version": "v2"
      }
    }
  ]
}

Changes

    • breaking

      the response property const value list was removed for the status

    • breaking

      the // response's property type changed from integer to string for status

    • warning

      added the new 405.00 enum value to the / response property for the response status

    • warning

      added the new 405.00 enum value to the / response property for the response status

    • warning

      added the new 409.00 enum value to the / response property for the response status

    • warning

      added the new 409.00 enum value to the / response property for the response status

    • warning

      added the new 500.00 enum value to the / response property for the response status

    • warning

      added the new 500.00 enum value to the / response property for the response status

    • info

      the endpoint scheme security ApiKeyAuth was added to the API

    • info

      the endpoint scheme security BearerAuth was added to the API

    • info

      the endpoint scheme security BearerAuth AND ApiKeyAuth was removed from the API

    • info

      added the new enum value DECISIONS to the query request parameter type

    • info

      added the required property // to the response with the status

    • info

      endpoint added