POST
/
evaluation
/
{id}
/
update
Update evaluation job status
curl --request POST \
  --url https://api.together.xyz/v1/evaluation/{id}/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "completed",
  "results": {
    "generation_fail_count": 0,
    "judge_fail_count": 0,
    "invalid_label_count": 0,
    "result_file_id": "file-1234-aefd",
    "pass_percentage": 10,
    "label_counts": "{\"yes\": 10, \"no\": 0}"
  },
  "error": "<string>"
}'
{
  "workflow_id": "<string>",
  "status": "<string>"
}

Authorizations

Authorization
string
header
default:default
required

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

Path Parameters

id
string
required

The evaluation job ID

Body

application/json
status
enum<string>
required

The new status for the job

Available options:
completed,
error,
running,
queued,
user_error,
inference_error
results
object
error
string

Error message

Response

Successful response

workflow_id
string
status
string