Skip to main content
POST
Create harness outcomes

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.

Body

application/json
outcome
required
Available options:
unknown
source
required
Available options:
codex
occurredAt
string
required
schemaVersion
enum<number>
Available options:
1
model
string
latencyMs
number
eventKey
string
qualityScore
number
inputTokens
number
outputTokens
number
totalTokens
number
costUsd
number
harnessKey
string
agent
string
baselineKey
string
taskKey
string
evalCount
number
passedEvalCount
number

Response

Successful response

privacy
object
required
accepted
boolean
required
eventKey
string
required
expiresAt
string
required