Retrieve all domain-aligned models for the authenticated user.
This endpoint returns a list of custom models that have been created through domain alignment workflows, including their deployment status, evaluation results, and conversation settings.
Returns:
domain_aligned_models: List of aligned model objects, each containing:
id: Unique model identifier (or alignment-{id} for un-deployed models)alignment_id: Original alignment project IDname: Model namebase_model: Base model used for alignmentalignment_project: Name of the alignment projectcreated_date: Creation timestampstatus: Model status (e.g., DEPLOYED, UNDEPLOYED, Evaluated)deployment_status: Current deployment state (DEPLOYED or UNDEPLOYED)endpoint: Inference endpoint URL (only for deployed models)creator: Username/email of the model creatorusage_count: Number of times the model has been used for inferencelast_used: Timestamp of last usageperformance_metrics: Model performance statisticsdownloadable: Whether model can be downloadedevaluation_data: Benchmark evaluation results (if available)conversation_saving_enabled: Whether conversation saving is enabled for this modelExample Request:
GET /api/v3/models/aligned
Headers: {"Authorization": "Bearer <api_key>"}
Example Response:
{
"domain_aligned_models":
[
{
"id": "alignment-xyz789-deployed",
"alignment_id": "alignment-xyz789",
"name": "customer_support_model",
"base_model": "nugen-flash-instruct",
"alignment_project": "Customer Support Alignment",
"created_date": "2024-01-15T10:30:00Z",
"status": "DEPLOYED",
"deployment_status": "DEPLOYED",
"endpoint": "https://api.example.com/v1/models/alignment-xyz789",
"creator": "user@example.com",
"usage_count": 150,
"last_used": "2024-01-20T14:30:00Z",
"performance_metrics": {
"accuracy_before": 0.75,
"accuracy_after": 0.92,
"uncertainty_before": 0.35,
"uncertainty_after": 0.15,
"domain_violations_before": 12,
"domain_violations_after": 2
},
"downloadable": true,
"evaluation_data": {
"accuracy": 0.92,
"total_questions": 50
},
"conversation_saving_enabled": true
}
]
}
Notes:
evaluation_data is included if the model was evaluated against a benchmarkperformance_metrics show before/after alignment improvementsconversation_saving_enabled indicates whether chat history is saved for each model/models/base to see available base models for alignmentBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Returns a list of all domain-aligned models created by the authenticated user.
List of domain-aligned models with their deployment status, performance metrics, and evaluation data