AI Models
List AI models
Changed onReturns available AI models. Use these IDs when configuring an agent setting.
get/public/v1/ai-models
Request
- Base URLhttps://prod-api.getfrontline.ai
- Auth
- HTTP bearer
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
type'TEXT' | 'TRANSCRIPTION' | 'FILE_ANALYSIS'
Example:TEXT
Response
A list of AI models
Example response
{
"results": [
{
"id": 1,
"name": "example",
"description": "example",
"creditsPerMessage": 1,
"order": 1,
"analyticsColor": "example",
"externalId": "example",
"aiVendor": "example",
"type": "TEXT"
}
]
}Changes
- warning
added the new
upgrade_requiredenum value to the/response property for the response status
- warning