Frontline AI Models API
Discover available AI models for agent configuration
Discover available AI models for agent configuration
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/frontline:frontline-ai-models-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Frontline AI Models API
version: 1.0.0
license:
name: Proprietary
url: https://www.getfrontline.ai/terms-and-conditions
description: 'Operations tagged AI Models across 2 of this provider''s published API definitions: frontline-openapi-original.yml, frontline-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://prod-api.getfrontline.ai
tags:
- name: AI Models
description: Discover available AI models for agent configuration
paths:
/public/v1/ai-models:
get:
summary: List AI models
operationId: listAiModels
description: Returns available AI models. Use these IDs when configuring an agent setting.
security:
- accountApiKey: []
- userApiKey: []
tags:
- AI Models
parameters:
- schema:
type: string
enum:
- TEXT
- TRANSCRIPTION
- FILE_ANALYSIS
example: TEXT
required: false
name: type
in: query
responses:
'200':
description: A list of AI models
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
$ref: '#/components/schemas/AiModel'
required:
- results
description: Standard list response
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
servers:
- url: https://prod-api.getfrontline.ai
/public/v1/ai-models/default:
get:
summary: Get default AI model
operationId: getDefaultAiModel
description: Returns the default AI model for the requested model type.
security:
- accountApiKey: []
- userApiKey: []
tags:
- AI Models
parameters:
- schema:
type: string
enum:
- TEXT
- TRANSCRIPTION
- FILE_ANALYSIS
example: TEXT
required: false
name: type
in: query
responses:
'200':
description: Default AI model
content:
application/json:
schema:
$ref: '#/components/schemas/AiModel'
'404':
description: Default AI model not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
servers:
- url: https://prod-api.getfrontline.ai
/public/v1/ai-models/{aiModelId}:
get:
summary: Get AI model
operationId: getAiModel
description: Returns one AI model by ID.
security:
- accountApiKey: []
- userApiKey: []
tags:
- AI Models
parameters:
- schema:
type:
- number
- 'null'
example: 1
required: false
name: aiModelId
in: path
responses:
'200':
description: AI model
content:
application/json:
schema:
$ref: '#/components/schemas/AiModel'
'404':
description: AI model not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
servers:
- url: https://prod-api.getfrontline.ai
components:
schemas:
Error:
type: object
properties:
ok:
type: boolean
enum:
- false
example: false
error:
$ref: '#/components/schemas/ErrorBody'
required:
- ok
- error
ErrorBody:
type: object
properties:
code:
type: string
enum:
- bad_request
- unauthorized
- forbidden
- not_found
- conflict
- internal_error
- cli_outdated
example: unauthorized
message:
type: string
example: Detailed error message
details:
type: object
description: 'Optional structured details. Validation errors include `{ issues: [...] }`.'
example:
issues:
- path:
- name
message: String must contain at least 1 character(s)
code: too_small
required:
- code
- message
AiModel:
type: object
properties:
id:
type: number
name:
type: string
description:
type:
- string
- 'null'
creditsPerMessage:
type: number
isDefault:
type: boolean
order:
type: number
analyticsColor:
type:
- string
- 'null'
externalId:
type:
- string
- 'null'
aiVendor:
type: string
reasoningModel:
type: boolean
type:
type: string
enum:
- TEXT
- TRANSCRIPTION
- FILE_ANALYSIS
required:
- id
- name
ErrorBody_2:
type: object
properties:
code:
type: string
enum:
- bad_request
- unauthorized
- forbidden
- not_found
- conflict
- internal_error
- cli_outdated
- upgrade_required
example: unauthorized
message:
type: string
example: Detailed error message
details:
type: object
description: 'Optional structured details. Validation errors include `{ issues: [...] }`.'
example:
issues:
- path:
- name
message: String must contain at least 1 character(s)
code: too_small
required:
- code
- message
AiModel_2:
type: object
properties:
id:
type: number
example: 1
name:
type: string
example: example
description:
type:
- string
- 'null'
example: example
creditsPerMessage:
type: number
example: 1
isDefault:
type: boolean
example: false
order:
type: number
example: 1
analyticsColor:
type:
- string
- 'null'
example: example
externalId:
type:
- string
- 'null'
example: example
aiVendor:
type: string
example: example
reasoningModel:
type: boolean
example: false
type:
type: string
enum:
- TEXT
- TRANSCRIPTION
- FILE_ANALYSIS
example: TEXT
required:
- id
- name
securitySchemes:
accountApiKey:
type: http
scheme: bearer
bearerFormat: Account API Key
description: Account-level API key (GENERAL). Authenticates on behalf of the entire account. Use for read-only and analytics endpoints marked as account-level in this documentation.
userApiKey:
type: http
scheme: bearer
bearerFormat: User API Key
description: User-level API key (USER). Authenticates on behalf of a specific user. Required for write operations and user-owned resources. Also accepted on all account-level endpoints.
x-refined-from:
- frontline-openapi-original.yml
- frontline-openapi.json
x-tagGroups:
- name: Agent Builder
tags:
- Agent Builder
- Flows
- Flow Variables
- Intents
- Agents
- Agent Playbooks
- name: Workflows
tags:
- Workflows
- Workflow Variables
- name: Objects
tags:
- Objects
- Object fields
- Object options
- Object record types
- Object views
- Object relations
- Object rows
- Object aggregations
- Object activities
- Object tasks
- Object files
- Object export
- name: Tables
tags:
- Tables
- Table fields
- Table options
- Table rows
- Table aggregations
- Table activities
- Table tasks
- Table files
- Table export
- name: Channels
tags:
- Channels
- name: Integrations
tags:
- Custom Tools
- Incoming Webhooks
- Account Integrations
- Agent Channels
- Integration Resources
- name: Knowledge
tags:
- Knowledge Bases
- name: Core
tags:
- Account
- AI Models
- Billing
- Users
- User Tasks
- Guidance