Lists the available models
Agents API
Models for Agent API
Retrieve all available models for use with the Agent API.
GET
Lists the available models
Retrieve the list of models and their ids, available for use with the Agent API. This endpoint is useful when you want to see which models you can use when creating a temporary agent.
You can use any of these model IDs when creating a temporary agent through the Agent API. Simply specify the model ID in the
Before You Start
- Legacy Assistants API: This is the new Agents API with native Vercel AI SDK compatibility. If you’re using the legacy Assistants API, see the migration guide.
Base URL
Example Request
Response Format
The API returns a list of available models in the following format:Response Fields
string
Always ‘list’, indicating the top-level JSON object type.
array<Model>
Array containing available model objects.
Model object fields
Model object fields
string
Model ID to use when creating or updating agents (e.g., “gpt-5”).
string
Always ‘model’, indicating the object type.
integer
Unix timestamp (ms) when the model was created.
string
Region where the model is available (e.g., “eu”, “us”, “global”).
boolean
Whether this model supports extended thinking mode.
Example response
Error Handling
model field of your agent configuration:
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.