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.
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>"
}
]
}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
Object type, always 'model'
120Large Language Model - Large Language ModelEmbedding Model - Embedding ModelVision Language Model - Vision Language ModelLarge Language Model, Embedding Model, Vision Language Model Self-Hosted - Self HostedSelf-Hosted 120List of dictionary of messages to be used to start the conversation. Authorized labels in the template: ['date', 'company_instructions', 'user_first_name', 'user_last_name', 'user_instructions']
5000Instructions for the model to use, as a string template. Leave blank and save for default instructions.
5000