English
API Reference v2
cURL
curl --request GET \ --url https://paradigm.lighton.ai/api/v2/models \ --header 'Authorization: Bearer <token>'
{ "object": "list", "data": [ { "object": "model", "name": "<string>", "model_type": "Large Language Model", "deployment_type": "OpenAI", "enabled": true, "technical_name": "<string>", "start_messages_template": "<string>", "instructions": "<string>" } ] }
This endpoint can be used to get the list of available models for your API key.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Response serializer for listing available ML models.
Object type, always 'list' for model listings
Array of available ML models and their finetunes
Show child attributes