Skip to main content
GET
/
api
/
v3
/
models
/
aligned
List Aligned Models
curl --request GET \
  --url https://api.nugen.in/api/v3/models/aligned \
  --header 'Authorization: Bearer <token>'
{
  "domain_aligned_models": [
    {
      "id": "<string>",
      "name": "<string>",
      "base_model": "<string>",
      "alignment_project": "<string>",
      "created_date": "<string>",
      "status": "<string>",
      "deployment_status": "DEPLOYED",
      "endpoint": "<string>",
      "creator": "<string>",
      "usage_count": 123,
      "performance_metrics": {
        "accuracy": 0,
        "uncertainty": 0,
        "domain_violations": 0,
        "average_response_time": 0
      },
      "downloadable": true,
      "alignment_id": "alignment-xyz789",
      "last_used": "2024-01-20T14:30:00Z",
      "evaluation_data": {
        "completed_at": "2024-01-16T08:00:00Z",
        "evaluation_id": "eval-abc123",
        "metrics": {
          "accuracy": 0.92,
          "uncertainty": 0.15
        },
        "raw_answers_count": 50,
        "status": "completed"
      },
      "conversation_saving_enabled": false
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Returns a list of all domain-aligned models created by the authenticated user.

domain_aligned_models
DomainAlignedModel · object[]
required

List of domain-aligned models with their deployment status, performance metrics, and evaluation data