Skip to main content
POST
Create a manual labeled case for an evaluation

Authorizations

Authorization
string
header
required

Organization-scoped EvalGate API key. Discover the supported agent scopes at /.well-known/oauth-protected-resource. Per-operation grants are listed in x-evalgate-required-scopes; OpenAPI bearer security requirement arrays remain empty as required for non-OAuth schemes.

Path Parameters

id
integer
required

Body

application/json
input
string
required
label
Available options:
pass
metadata
null | object
trajectory
null | object
expectedOutput
null | string
failureMode
null | string
promptId
null | string
actualOutput
null | string
sourceTraceId
null | string
sourceContentHash
null | string
clusterId
null | string
clusterFingerprint
null | string
riskLayer
Available options:
model
standardsRefs
null | string[]
synthesis
null | object
clusterLabel
null | string
sourceEvaluationRunId
null | number
sourceTestResultId
null | number
sourceTestCaseId
null | number
sourceAttemptId
null | string
recordedOutcome
null | string
sourceMode
Available options:
manual

Response

Successful response

id
string
required
createdAt
string<date-time>
required
organizationId
string<uuid>
required
evaluationId
number
required
label
null | string
required
source
string
required
metadata
object
required
trajectory
null | object
required
input
string
required
expectedOutput
null | string
required
failureMode
null | string
required
promptId
null | string
required
actualOutput
null | string
required
labeledByUserId
null | string
required
labeledAt
null | string<date-time>
required
externalRunId
null | string
required
sourceTraceId
null | string
required
sourceContentHash
null | string
required
clusterId
null | string
required
clusterFingerprint
null | string
required
riskLayer
null | string
required
standardsRefs
null | string[]
required
synthesis
null | object
required