Skip to main content

SuccessResponse_AIModel

successboolean
Constant value: true
data object

AI model. The public list endpoint strips credentials (apiKey, apiBearerToken) and schema. The show-by-ID endpoint returns the full model including apiAuthType and apiUrl.

idinteger
namestring
slugstring
descriptionstring
versionstring | nullnullable
isVerifiedboolean
accessTypestring

Possible values: [private, public]

modelTypeAIModelType (string)

Possible values: [llm, embedding, reranker, tts, image-generation, video-generation]

apiAuthTypeAIModelApiAuthType (string)

Possible values: [api-key, bearer-token, none]

apiUrlstring,null<uri>nullable
schemaobject | nullnullable

JSON Schema for model parameters (stripped from public list)

modelCardstring | nullnullable
pricingTypeAIModelPricingType (string)

Possible values: [token-based, time-based, character-based, page-based]

pricePerInputTokennumber | nullnullable
pricePerOutputTokennumber | nullnullable
pricePerUnitnumber | nullnullable
repositoryUrlstring | nullnullable
documentationUrlstring | nullnullable
licenseIdinteger
organizationIdinteger
providerIdinteger
createdAtstring<date-time>
updatedAtstring<date-time>
lastUsedAtstring,null<date-time>nullable
provider object
idinteger
namestring
slugstring
tags object[]
  • Array [
  • idinteger
    namestring
    slugstring
    isVerifiedboolean
    parentIdinteger | nullnullable
  • ]
  • SuccessResponse_AIModel
    {
    "success": true,
    "data": {
    "id": 0,
    "name": "string",
    "slug": "string",
    "description": "string",
    "version": "string",
    "isVerified": true,
    "accessType": "private",
    "modelType": "llm",
    "apiAuthType": "api-key",
    "apiUrl": "string",
    "schema": "Unknown Type: object,null",
    "modelCard": "string",
    "pricingType": "token-based",
    "pricePerInputToken": 0,
    "pricePerOutputToken": 0,
    "pricePerUnit": 0,
    "repositoryUrl": "string",
    "documentationUrl": "string",
    "licenseId": 0,
    "organizationId": 0,
    "providerId": 0,
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z",
    "lastUsedAt": "2024-07-29T15:51:28.071Z",
    "provider": {
    "id": 0,
    "name": "string",
    "slug": "string"
    },
    "tags": [
    {
    "id": 0,
    "name": "string",
    "slug": "string",
    "isVerified": true,
    "parentId": 0
    }
    ]
    }
    }