Saltar para o conteúdo principal
GET
/
public
/
api
/
v1
/
ai-models
List AI models
curl --request GET \
  --url https://api.gennia.ai/public/api/v1/ai-models \
  --header 'X-Api-Key: <api-key>'
[
  {
    "active": true,
    "contextWindow": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "displayProvider": "<string>",
    "iconUrl": "<string>",
    "inputCostPer1MTokens": 123,
    "maxTemperature": 123,
    "minTemperature": 123,
    "modelId": "gpt-4.1",
    "name": "GPT-4.1",
    "outputCostPer1MTokens": 123,
    "provider": "openai",
    "publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "supportsDocument": true,
    "supportsImage": true,
    "supportsTemperature": true,
    "supportsThinking": true,
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Autorizações

X-Api-Key
string
header
obrigatório

Parâmetros de consulta

activeOnly
boolean
padrão:true

Only models with isActive=true (default true).

provider
string

Filter by provider key (e.g. openai, anthropic).

supportsImage
boolean

Filter to models that ingest images.

supportsDocument
boolean

Filter to models that ingest documents.

scope
enum<string>

global or workspace. Omit to return both.

Opções disponíveis:
global,
workspace

Resposta

OK

active
boolean
contextWindow
integer<int32>

Maximum context window in tokens.

createdAt
string<date-time>
description
string

Free-form description.

displayProvider
string

Display label for the model creator/group.

iconUrl
string

Absolute URL to the model's icon.

inputCostPer1MTokens
number

Input price per 1M tokens, USD.

maxTemperature
number<float>

Maximum allowed temperature (when supported).

minTemperature
number<float>

Minimum allowed temperature (when supported).

modelId
string

Provider-specific model identifier.

Exemplo:

"gpt-4.1"

name
string

Display name.

Exemplo:

"GPT-4.1"

outputCostPer1MTokens
number

Output price per 1M tokens, USD.

provider
string

Inference provider key.

Exemplo:

"openai"

publicId
string<uuid>

Stable external UUID for the model.

scope
enum<string>

global for catalog models, workspace for custom ones.

Opções disponíveis:
global,
workspace
supportsDocument
boolean

Whether the model can ingest documents (PDF/DOCX/etc).

supportsImage
boolean

Whether the model can ingest images.

supportsTemperature
boolean

Whether the model accepts a temperature parameter.

supportsThinking
boolean

Whether the model supports thinking/reasoning mode.

updatedAt
string<date-time>