Skip to main content
POST
/
evaluation
/
{id}
/
update
Update evaluation job status and results
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": {},
  "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

Body

application/json
status
enum<string>
Available options:
completed,
error,
user_error,
running,
queued,
pending
results
object

The results of the evaluation job. The concrete structure depends on the type of evaluation job

error
string

Error message when status is 'error' or 'user_error'

Response

Evaluation job status updated successfully

workflow_id
string
status
string