Retrieve all alignment projects for the authenticated user.
This endpoint returns a comprehensive list of all domain alignment projects created by the user, including project metadata, status, training progress, associated documents, and evaluation results.
Returns:
alignment_projects: List of alignment project objects, each containing:
id: Unique alignment project identifiername: Project namebase_model: Base model identifier used for alignmentstatus: Project status (pending, completed, failed, deploying, evaluating, evaluated)created_date: ISO timestamp when project was createdcompleted_date (optional): ISO timestamp when project completeddocuments: List of document IDs used for trainingdocument_count: Number of documents usedcreator: Username or ID of the project creatorperformance_metrics (optional): Training performance metrics (loss, accuracy, etc.)progress (optional): Training progress percentage (0-100)estimated_completion (optional): Estimated completion timeerror (optional): Error message if project failedevaluation_id (optional): Auto-evaluation ID if triggeredmodel_id (optional): Deployed model ID for evaluationExample Request:
GET /api/v3/alignment
Headers: {"Authorization": "Bearer <api_key>"}
Example Response:
{
"alignment_projects": [
{
"id": "alignment-xyz789",
"name": "Customer Support Domain Alignment",
"base_model": "nugen-flash-instruct",
"status": "completed",
"created_date": "2024-01-15T10:30:00Z",
"completed_date": "2024-01-15T14:45:00Z",
"documents": ["doc-abc123", "doc-xyz456", "doc-def789"],
"document_count": 3,
"creator": "user-123",
"performance_metrics": {
"final_loss": 0.15,
"accuracy": 0.92
},
"evaluation_id": "eval-def456",
"model_id": "alignment-xyz789-deployed"
},
{
"id": "alignment-abc456",
"name": "Technical Documentation Alignment",
"base_model": "nugen-flash-instruct",
"status": "pending",
"created_date": "2024-01-16T09:00:00Z",
"documents": ["doc-111", "doc-222"],
"document_count": 2,
"creator": "user-123",
"progress": 45,
"estimated_completion": "2024-01-16T11:30:00Z"
}
]
}
Notes:
/alignment/status/{id} to get real-time status for a specific projectmodel_id is only available for projects that have been deployed for evaluationevaluation_id is only present if auto-evaluation was triggeredperformance_metrics are populated after training completesprogress and estimated_completion are available during trainingBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Returns a list of all alignment projects for the authenticated user, including project metadata, status, training progress, associated documents, and evaluation results
Response schema for alignment projects listing - matches frontend DomainAlignmentProjects
List of alignment projects