GET
/
v2
/
annotation
curl --request GET \
  --url https://api.scale.com/v2/annotation \
  --header 'Authorization: Bearer <token>'
{
  "id": "an_abc123",
  "type": "integer",
  "key": "formatting",
  "value": 3,
  "title": "Response Formatting",
  "description": "Does the response contain issues with formatting?",
  "possible_values": [
    1,
    2,
    3
  ],
  "labels": [
    "Major Issues",
    "Minor Issues",
    "No Issues"
  ]
}

Authorizations

Authorization
string
header
required

Your API Key is the Bearer token. See the Authentication section to learn how to access your key.

Query Parameters

annotation_id
string
required

The unique identifier of the annotation.

Response

200
application/json
Completed annotation.

Represents a generic annotation.

id
string
required

Unique identifier for the annotation.

key
string
required

Key for the annotation.

type
string
required

The type of the value and the possible_values, if they exist.

title
string

Title of the annotation.

description
string

Further details about the question.

labels
string[]

String representation of the possible options.

A string representation of the annotation.

metadata
object
value
integer

Integer type annotation value.

possible_values
integer[]

The possible values for this annotation.

Integer type annotation value.