Get AI model catalog item
GET/api/v2/AIModel/catalog/:id
Returns the details of an AIModel by its ID.
Request
Path Parameters
ID of the AIModel
Query Parameters
Use this param to override the culture of the response. Options: - en (default) - es
Responses
- 200
- 401
- 403
- 404
- 500
OK
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Unique identifier
Name
Caption
Description
Indicates if the model has a description
PhotoUrl of the model
ModelId
Vendor display name
Research lab that developed the model
Currency symbol
Input Price per 1M tokens
Output Price per 1M tokens
Discount Input Price per 1M tokens
Discount Output Price per 1M tokens
Input price per WebApp.Models.AIModelCatalogItemRes.InputUnitLabel for models not priced by tokens (e.g. per image, per second). Null for token-priced models.
Output price per WebApp.Models.AIModelCatalogItemRes.OutputUnitLabel for models not priced by tokens (e.g. per image, per second). Null for token-priced models.
Localized unit that WebApp.Models.AIModelCatalogItemRes.InputUnitPrice applies to, e.g. "per Image". Null for token-priced models.
Localized unit that WebApp.Models.AIModelCatalogItemRes.OutputUnitPrice applies to, e.g. "per Image". Null for token-priced models.
Discounted WebApp.Models.AIModelCatalogItemRes.InputUnitPrice
Discounted WebApp.Models.AIModelCatalogItemRes.OutputUnitPrice
Discount Percentage
Indicates eligible for use
PhotoId of the model
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"caption": "string",
"description": "string",
"hasDescription": true,
"photoUrl": "string",
"modelId": "string",
"vendorDisplay": "string",
"researchLab": "string",
"modeDisplay": "string",
"vectorSize": "string",
"symbol": "string",
"inputPrice": 0,
"outputPrice": 0,
"discountInputPrice": 0,
"discountOutputPrice": 0,
"inputUnitPrice": 0,
"outputUnitPrice": 0,
"inputUnitLabel": "string",
"outputUnitLabel": "string",
"discountInputUnitPrice": 0,
"discountOutputUnitPrice": 0,
"discountPercentage": 0,
"active": true,
"photoId": "string"
}
- Schema
- Example (from schema)
Schema
Unique identifier
Name
Caption
Description
Indicates if the model has a description
PhotoUrl of the model
ModelId
Vendor display name
Research lab that developed the model
Currency symbol
Input Price per 1M tokens
Output Price per 1M tokens
Discount Input Price per 1M tokens
Discount Output Price per 1M tokens
Input price per WebApp.Models.AIModelCatalogItemRes.InputUnitLabel for models not priced by tokens (e.g. per image, per second). Null for token-priced models.
Output price per WebApp.Models.AIModelCatalogItemRes.OutputUnitLabel for models not priced by tokens (e.g. per image, per second). Null for token-priced models.
Localized unit that WebApp.Models.AIModelCatalogItemRes.InputUnitPrice applies to, e.g. "per Image". Null for token-priced models.
Localized unit that WebApp.Models.AIModelCatalogItemRes.OutputUnitPrice applies to, e.g. "per Image". Null for token-priced models.
Discounted WebApp.Models.AIModelCatalogItemRes.InputUnitPrice
Discounted WebApp.Models.AIModelCatalogItemRes.OutputUnitPrice
Discount Percentage
Indicates eligible for use
PhotoId of the model
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"caption": "string",
"description": "string",
"hasDescription": true,
"photoUrl": "string",
"modelId": "string",
"vendorDisplay": "string",
"researchLab": "string",
"modeDisplay": "string",
"vectorSize": "string",
"symbol": "string",
"inputPrice": 0,
"outputPrice": 0,
"discountInputPrice": 0,
"discountOutputPrice": 0,
"inputUnitPrice": 0,
"outputUnitPrice": 0,
"inputUnitLabel": "string",
"outputUnitLabel": "string",
"discountInputUnitPrice": 0,
"discountOutputUnitPrice": 0,
"discountPercentage": 0,
"active": true,
"photoId": "string"
}
- Schema
- Example (from schema)
Schema
Unique identifier
Name
Caption
Description
Indicates if the model has a description
PhotoUrl of the model
ModelId
Vendor display name
Research lab that developed the model
Currency symbol
Input Price per 1M tokens
Output Price per 1M tokens
Discount Input Price per 1M tokens
Discount Output Price per 1M tokens
Input price per WebApp.Models.AIModelCatalogItemRes.InputUnitLabel for models not priced by tokens (e.g. per image, per second). Null for token-priced models.
Output price per WebApp.Models.AIModelCatalogItemRes.OutputUnitLabel for models not priced by tokens (e.g. per image, per second). Null for token-priced models.
Localized unit that WebApp.Models.AIModelCatalogItemRes.InputUnitPrice applies to, e.g. "per Image". Null for token-priced models.
Localized unit that WebApp.Models.AIModelCatalogItemRes.OutputUnitPrice applies to, e.g. "per Image". Null for token-priced models.
Discounted WebApp.Models.AIModelCatalogItemRes.InputUnitPrice
Discounted WebApp.Models.AIModelCatalogItemRes.OutputUnitPrice
Discount Percentage
Indicates eligible for use
PhotoId of the model
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"caption": "string",
"description": "string",
"hasDescription": true,
"photoUrl": "string",
"modelId": "string",
"vendorDisplay": "string",
"researchLab": "string",
"modeDisplay": "string",
"vectorSize": "string",
"symbol": "string",
"inputPrice": 0,
"outputPrice": 0,
"discountInputPrice": 0,
"discountOutputPrice": 0,
"inputUnitPrice": 0,
"outputUnitPrice": 0,
"inputUnitLabel": "string",
"outputUnitLabel": "string",
"discountInputUnitPrice": 0,
"discountOutputUnitPrice": 0,
"discountPercentage": 0,
"active": true,
"photoId": "string"
}
The user is unauthorized or the session expired
- application/json
- Schema
- Example (from schema)
Schema
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
{
"code": "string",
"message": "string",
"documentationUrl": "string"
}
The user does not have permission
- application/json
- Schema
- Example (from schema)
Schema
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
{
"code": "string",
"message": "string",
"documentationUrl": "string"
}
The entity was not found
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
Array [
]
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
errors
object
nullable
Map of keys (an invalid request field or the rule that failed) to messages. Only present when the error has specific detail to report. Values are strings, except on input_validation_error, where each value is an array of messages for that field.
property name*
object
nullable
oneOf
string
string
{
"code": "string",
"message": "string",
"documentationUrl": "string",
"errors": {}
}
There was an unexpected error
- application/json
- Schema
- Example (from schema)
Schema
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
{
"code": "string",
"message": "string",
"documentationUrl": "string"
}