PATCH
/
runs
/
{run_id}
/
annotate
curl --request PATCH \
  --url https://platform.happyrobot.ai/api/v1/runs/{run_id}/annotate \
  --header 'Content-Type: application/json' \
  --header 'x-organization-id: <x-organization-id>' \
  --data '{
  "annotation": "correct"
}'
{
  "message": "<string>"
}

Headers

authorization
string

Your API key for authentication. Use Bearer format.

Example:

"Bearer API_KEY"

x-organization-id
string
required

The organization ID to use for the request. Required if your user is associated to more than one organization.

Path Parameters

run_id
string
required

Body

application/json
Body
annotation
enum<string>
required
Available options:
correct,
incorrect,
critical

Response

200
application/json
200
message
string
required

Was this page helpful?