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": [
        "alignment-xyz789-deployed",
        "alignment-abc456"
      ],
      "name": [
        "customer_support_model",
        "legal_document_assistant",
        "medical_qa_assistant"
      ],
      "base_model": [
        "nugen-flash-instruct",
        "model-20240229"
      ],
      "alignment_project": [
        "Customer Support Alignment",
        "Legal Domain Alignment"
      ],
      "created_date": [
        "2024-01-15T10:30:00Z"
      ],
      "status": [
        "DEPLOYED",
        "UNDEPLOYED",
        "DEPLOYING",
        "EVALUATED"
      ],
      "deployment_status": "DEPLOYED",
      "endpoint": [
        "https://api.nugen.in/api/v3/inference/completions/alignment-xyz789-deployed"
      ],
      "creator": [
        "user@example.com"
      ],
      "usage_count": [
        150
      ],
      "performance_metrics": {
        "accuracy": [
          0.92,
          0.88,
          0.75
        ],
        "uncertainty": [
          0.15,
          0.18,
          0.35
        ],
        "domain_violations": [
          2,
          3,
          12
        ],
        "average_response_time": [
          1.2,
          0.8,
          2.5
        ]
      },
      "downloadable": [
        true,
        false
      ],
      "alignment_id": [
        "alignment-xyz789",
        "alignment-abc456"
      ],
      "last_used": [
        "2024-01-20T14:30:00Z",
        null
      ],
      "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

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