English
API Reference
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": "Self-Hosted", "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 token authentication
Successful response
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