cURL
curl --request GET \ --url https://api.nugen.in/api/v3/alignment-project/status/{id} \ --header 'Authorization: Bearer <token>'
{ "status": "pending", "data": { "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>" }, "start_time": "2023-11-07T05:31:56Z", "end_time": "2023-11-07T05:31:56Z" }
Get status of alignment project
Returns ‘pending’ while either is in progress, ‘completed’ only when alignment is fully done.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Current status of the domain alignment project
pending
completed
deploying
evaluating
undeployed
evaluated
failed
Alignment project data if available
Show child attributes
Was this page helpful?