Get instruction optimization job
Get the current state of an instruction optimization job. Poll until status is
completed, failed, or cancelled.
/v1/alignments/{alignmentId}Authorization
Send a Modaic bearer token in the Authorization header.
Path Parameters
Instruction optimization job ID.
Response
A completed result contains status: "completed", improved,
bestCandidate, initialScore, bestScore, usage, optional metrics, and
nullable artifactPath.
stage is one of starting, optimizing, scoring, finishing,
committing, or done. metricCalls / maxMetricCalls is the useful progress
fraction when both values are present; the run may finish before reaching the
maximum.