Skip to main content

ProvisionedAIModel

AI model with decrypted credentials. Returned by GET /ai-models/provisioned.

idinteger
namestring
slugstring
descriptionstring
versionstring | nullnullable
schemaobject

JSON Schema for model parameters

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
apiKeystring | nullnullable

Decrypted API key

apiBearerTokenstring | nullnullable

Decrypted bearer token

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
ProvisionedAIModel
{
"id": 0,
"name": "string",
"slug": "string",
"description": "string",
"version": "string",
"schema": {},
"isVerified": true,
"accessType": "private",
"modelType": "llm",
"apiAuthType": "api-key",
"apiUrl": "string",
"apiKey": "string",
"apiBearerToken": "string",
"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"
}
}