Skip to main content
POST
Create a commit

Authorizations

Authorization
string
header
required

An API key: abacus_sk_test_... (sandbox, from POST /v1/keys) or abacus_sk_live_... (from https://app.abacuslabs.ai)

Headers

Idempotency-Key
string | null

Body

application/json
option_id
string
required
reference
string | null

your own id for this decision; unique per key

Maximum string length: 128
current_snapshot_id
string | null

the snapshot_id of the book as it is now; a commit on a changed book is refused (409 stale_snapshot)

on_stale
enum<string>
default:reject

reject (default): refuse a stale option and offer replacement_option_id; resolve: re-solve and commit the fresh option (recorded in the certificate)

Available options:
reject,
resolve
fills
Fills · object[] | null

executions already done at the broker: [{id, symbol, side, qty, price, date?, lots?}]; a saved account is updated (lots, cash, history)

Response

Successful Response