Get Single Model
API Documentation: Retrieve Model by Name
Endpoint
Description
This endpoint retrieves detailed information for a single AI model specified by the modelName
path parameter.
Request
cURL Example:
Replace {API_KEY}
with your actual API key, and {modelName}
with the desired model name.
Response
The response will be a single model object with the same structure as in the list endpoint. Example responses:
For a Text Model:
For an Image Model:
Notes
Use this endpoint when you want to query metadata and pricing for a specific model.
Ensure the model name passed in the URL exactly matches a known
modelName
value.
Last updated