Skip to main content
POST
Create harness compare

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
policy
object
required
candidate
object
required
baseline
object
required
qualityMetric
string

Response

Successful response

automaticApply
boolean
required
decision
required
Available options:
candidate_better
policy
object
required
quality
object
required
efficiency
object
required
confidence
object
required
reasonCodes
string[]
required