Skip to main content
GET
/
metrics
/
{id}
/
human-annotation-count
Get human annotation count and optimization eligibility
curl --request GET \
  --url https://api.galtea.ai/metrics/{id}/human-annotation-count \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "disagreementCount": 123,
  "minAnnotations": 123,
  "minDisagreements": 123
}

Authorizations

Authorization
string
header
required

API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....

Path Parameters

id
string
required

Metric ID

Response

Annotation/disagreement counts and thresholds retrieved successfully

count
integer
required

Evaluations with both an AI score and a human score.

disagreementCount
integer
required

Subset of count where the human verdict flips the AI's (AI and human on opposite sides of 0.5).

minAnnotations
integer
required

Minimum annotations required to optimize this metric.

minDisagreements
integer
required

Minimum disagreements required to optimize this metric.