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
source
required
Available options:
codex
occurredAt
string
required
outcome
required
Available options:
unknown
schemaVersion
enum<number>
Available options:
1
eventKey
string
qualityScore
number
inputTokens
number
outputTokens
number
totalTokens
number
costUsd
number
latencyMs
number
model
string
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