Skip to main content
GET
/
api
/
v3
/
alignment-project
/
status
/
{id}
Get Alignment Status
curl --request GET \
  --url https://api.nugen.in/api/v3/alignment-project/status/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "pending",
  "data": {
    "base_model": "nugen-flash-instruct",
    "completed_date": "2024-01-15T12:45:00Z",
    "created_date": "2024-01-15T10:30:00Z",
    "creator": "user@example.com",
    "document_count": 3,
    "documents": [
      "doc-abc123",
      "doc-def456",
      "doc-ghi789"
    ],
    "evaluation_id": "eval-xyz789",
    "id": "alignment-abc123",
    "model_id": "alignment-abc123-deployed",
    "name": "Customer Support Model",
    "performance_metrics": {
      "accuracy_after": 0.92,
      "accuracy_before": 0.75,
      "domain_violations_after": 2,
      "domain_violations_before": 12,
      "uncertainty_after": 0.15,
      "uncertainty_before": 0.35
    },
    "progress": 100,
    "status": "COMPLETED"
  },
  "start_time": "2024-01-15T10:30:00Z",
  "end_time": "2024-01-15T12:30:00Z"
}

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

Returns the status of an alignment task that was created using create endpoint. This endpoint retrieves the current status and progress of a domain alignment workflow, allowing users to track the alignment process and retrieve results once completed.

status
enum<string>
required

Current status of the domain alignment project

Available options:
pending,
completed,
deploying,
evaluating,
undeployed,
evaluated,
failed
Example:

"pending"

data
AlignmentProject · object

Alignment project data if available

Example:
{
"base_model": "nugen-flash-instruct",
"completed_date": "2024-01-15T12:45:00Z",
"created_date": "2024-01-15T10:30:00Z",
"creator": "user@example.com",
"document_count": 3,
"documents": ["doc-abc123", "doc-def456", "doc-ghi789"],
"evaluation_id": "eval-xyz789",
"id": "alignment-abc123",
"model_id": "alignment-abc123-deployed",
"name": "Customer Support Model",
"performance_metrics": {
"accuracy_after": 0.92,
"accuracy_before": 0.75,
"domain_violations_after": 2,
"domain_violations_before": 12,
"uncertainty_after": 0.15,
"uncertainty_before": 0.35
},
"progress": 100,
"status": "COMPLETED"
}
start_time
string<date-time> | null

Timestamp when the project started

Example:

"2024-01-15T10:30:00Z"

end_time
string<date-time> | null

Timestamp when the project completed or failed

Example:

"2024-01-15T12:30:00Z"