GET
/
ai-model
curl --request GET \
  --url https://chat.muffinscorp.com/api/public/ai-model \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "valueId": "<string>",
    "name": "<string>",
    "type": "<string>",
    "costInCreditPerUse": 123,
    "isActive": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "totalUses": "<string>",
    "totalCreditsSpent": "<string>",
    "max_tokens": 123
  }
]

Authorizations

x-api-key
string
header
required

API key for authentication

Response

200
application/json

Lista de modelos retornada com sucesso.

The response is of type object[].

GET
/
ai-model
curl --request GET \
  --url https://chat.muffinscorp.com/api/public/ai-model \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "valueId": "<string>",
    "name": "<string>",
    "type": "<string>",
    "costInCreditPerUse": 123,
    "isActive": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "totalUses": "<string>",
    "totalCreditsSpent": "<string>",
    "max_tokens": 123
  }
]

Authorizations

x-api-key
string
header
required

API key for authentication

Response

200
application/json

Lista de modelos retornada com sucesso.

The response is of type object[].