Skip to main content
GET
/
api
/
v3
/
alignment-project
/
{id}
Get Alignment By Id
curl --request GET \
  --url https://api.nugen.in/api/v3/alignment-project/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "baseModel": "<string>",
  "status": "pending",
  "createdDate": "<string>",
  "documents": [
    "<string>"
  ],
  "documentCount": 123,
  "creator": "<string>",
  "completedDate": "<string>",
  "performanceMetrics": {
    "accuracyBefore": 123,
    "accuracyAfter": 123,
    "uncertaintyBefore": 123,
    "uncertaintyAfter": 123,
    "domainViolationsBefore": 123,
    "domainViolationsAfter": 123
  },
  "progress": 123,
  "estimatedCompletion": "<string>",
  "error": "<string>",
  "evaluation_id": "<string>",
  "model_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

Successful Response

id
string
required
name
string
required
baseModel
string
required
status
enum<string>
required
Available options:
pending,
completed,
deploying,
evaluating,
undeployed,
evaluated,
failed
createdDate
string
required
documents
string[]
required
documentCount
integer
required
creator
string
required
completedDate
string | null
performanceMetrics
AlignmentProjectPerformanceMetrics · object
progress
integer | null
estimatedCompletion
string | null
error
string | null
evaluation_id
string | null

Auto-evaluation ID (if auto-eval is triggered)

model_id
string | null

Deployed model ID for evaluation