Skip to main content

Get available AI models

GET 

/api/v2/aimodel

Returns the AI models the tenant can select for an agent, newest first. Only models that are configured, have a current price and are not deprecated within the next 30 days are listed.

Request​

Query Parameters

    page int32

    Default value: 1

    pageSize int32

    Default value: 20

    term string
    mode int32

    Possible values: [0, 1, 2, 3, 4, 5, 6, 7]

    Optional AIModelMode to filter by, as a name (e.g., "Chat", "Embedding", "Audio") or its numeric value

    featured boolean

    Optional filter: true returns only featured models, false only non-featured ones

    culture string

    Use this param to override the culture of the response. Options: - en (default) - es

Responses​

Success

Schema

    items

    object[]

    nullable

  • Array [

  • links

    object[]

    nullable

  • Array [

  • method stringnullable
    url stringnullable
    rel stringnullable
  • ]

  • id uuid
    name stringnullable
    modelId stringnullable
    vendor stringnullable
    mode stringnullable

    The model mode (e.g., "Chat", "Embedding", "Audio").

    featured boolean

    Whether the model is featured.

    deprecationDate date-timenullable

    The date the model is scheduled to be deprecated, if any.

    caption stringnullable
  • ]

  • total int64
    pageSize int32
    page int32

    links

    object[]

    nullable

  • Array [

  • method stringnullable
    url stringnullable
    rel stringnullable
  • ]

  • defaultModelId stringnullable
    getPageURL stringnullable
    createURL stringnullable
Loading...