GET
/
api
/
v3
/
models
/
List Models
curl --request GET \
  --url https://api.nugen.in/api/v3/models/ \
  --header 'Authorization: Bearer <token>'
{
  "availableModels": {
    "models": [
      {
        "id": "<string>",
        "name": "<string>",
        "type": "<string>",
        "parameters": "N/A",
        "description": "<string>",
        "capabilities": [
          "<string>"
        ],
        "trainingDataCutoff": "<string>",
        "contextWindow": -1,
        "implementationType": "N/A",
        "endpoint": "<string>",
        "alignment_ready": false
      }
    ]
  },
  "domainAlignmentProjects": {
    "alignmentProjects": [
      {
        "id": 123,
        "name": "<string>",
        "baseModel": "<string>",
        "status": "pending",
        "createdDate": "<string>",
        "completedDate": "<string>",
        "documents": [
          "<string>"
        ],
        "documentCount": 123,
        "creator": "<string>",
        "performanceMetrics": {
          "accuracyBefore": 123,
          "accuracyAfter": 123,
          "uncertaintyBefore": 123,
          "uncertaintyAfter": 123,
          "domainViolationsBefore": 123,
          "domainViolationsAfter": 123
        },
        "progress": 123,
        "estimatedCompletion": "<string>",
        "error": "<string>"
      }
    ]
  },
  "myModels": {
    "domainAlignedModels": [
      {
        "id": "<string>",
        "name": "<string>",
        "baseModel": "<string>",
        "alignmentProject": "<string>",
        "createdDate": "<string>",
        "status": "<string>",
        "endpoint": "<string>",
        "creator": "<string>",
        "usageCount": 123,
        "lastUsed": "<string>",
        "performanceMetrics": {
          "accuracy": 0,
          "uncertainty": 0,
          "domainViolations": 0,
          "averageResponseTime": 0
        },
        "downloadable": true
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Successful Response

The response is of type object.