Retrieve a model
Retrieve Model
Returns a specific model by its ID. Use the extended query parameter
to get additional metadata about the model’s capabilities and supported features.
GET
Retrieve a model
Documentation Index
Fetch the complete documentation index at: https://docs.perceptron.inc/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Retrieve Model API returns a specific model by its ID. This endpoint is compatible with OpenAI’s model retrieval specification. Use the optionalextended query parameter to retrieve detailed metadata about the model, including capabilities, supported input/output modalities, and token limits.
Examples
Retrieve a Model
Get basic information about a specific model:Get Extended Model Metadata
Retrieve detailed information about a model’s capabilities and limits:Rate Limits
This endpoint is limited to 30 requests/min.Use Cases
- Model Validation: Verify a specific model exists and is available before making inference requests
- Capability Checking: Check if a model supports specific features (structured outputs, video input, etc.)
- Dynamic Configuration: Fetch model details to adapt UI or request parameters
- Token Limit Validation: Check context and output limits before sending requests
Authorizations
Bearer token authentication using your Perceptron API key
Path Parameters
The ID of the model to retrieve.
Query Parameters
If true, returns extended model metadata including capabilities, modalities, and limits.
Response
The model with the given ID. Returns Model when extended=false (default), or ModelExtended when extended=true.
- Option 1
- Option 2
Response union for GET /v1/models/{model_id} endpoint. Returns Model when extended=false (default), or ModelExtended when extended=true.