Skip to main content
PUT
Update an existing annotation

Authorizations

Authorization
string
header
required

Enter your API key (e.g. dai_sk_test_key_001)

Headers

Authorization
string

Path Parameters

annotation_id
string
required

Cookies

decimal_session
string | null

Body

application/json
label
string | null
rating
integer | null
Required range: 1 <= x <= 5
correctness
string | null
error_categories
string[] | null
corrected_output
string | null
tags
string[] | null
notes
string | null
score
number | null
Required range: 0 <= x <= 1
flagged_for_review
boolean | null
add_to_dataset
boolean | null

Response

Successful Response