Skip to main content
POST
Evaluate exposure
See the integration guide for the workflow and interpretation of this response.

Authorizations

Authorization
string
header
required

Proposed server-to-server API key. No client request HMAC signing scheme is specified.

Headers

X-Client-Request-Id
string

Caller correlation reference; not an idempotency guarantee.

Body

application/json

At least one position or candidate is required. Empty positions is valid for standalone candidate analysis. All supplied holdings and candidates use a common comparison scope; selected scenarios condition the result.

positions
object[]
required

Current client positions with HELD/OWED convention and positive exact quantities; may be empty for standalone candidates.

Minimum array length: 1
candidates
object[]

Optional independently evaluated alternatives; trades inside each candidate form one simultaneous package.

scenario_pins
object[]

Optional family/version pins for the supplied book plus all candidates; current compatible versions chosen once otherwise.

scenarios
object[]

Optional selected column references; conditions results on exactly that scenario domain.

Minimum array length: 1
include
enum<string>[]

Requested result detail; default SUMMARY. Full vectors must fit declared scope or fail explicitly.

Available options:
SUMMARY,
PAYOUTS,
CONTRIBUTIONS,
OFFSETS,
SCENARIOS
ranking
object

Metric, direction and positive result limit; ranks the whole stated domain before limiting returned results.

pricing
object

Rook price convention and optional maximum quote age; default mode NONE means payout-only.

require_complete_coverage
boolean
default:true

True rejects incomplete structural coverage; false preserves explicitly scoped partial results.

Response

200 - application/json

Success.

Trace ID does not imply a saved portfolio or GET-able evaluation. Full-scope extrema are not calculated from a truncated response page.

evaluation_id
string
required

Opaque text identifier. Preserve its exact value.

Minimum string length: 1
baseline
object
required
candidates
object[]
required
coverage
object
required
versions
object
required
pricing
object[]
required
warnings
string[]
required