Create order
create_orderBuy a bounded model question or review. Consult get_offers for current models, limits and payment rails. Requires scope 'orders:write'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | general | |
| rail | No | stripe_test | |
| offer | No | An offer id from GET /v1/offers (second opinions) or model_offers (quick_answer_v2, structured_review_v2, compare_2_v2, compare_3_v2). | second_opinion_1 |
| models | No | Model offers only: the exact model(s) to run, from the offer's list. Defaults to the offer's default models. Never substituted. | |
| context | No | Supporting material: logs, code, error text. Max 48 KiB. | |
| question | Yes | What to review. Max 16 KiB. | |
| idempotency_key | No | Optional. Same key + same arguments within 24 h returns the original result. | |
| proposed_answer | No | The agent's current answer or plan, if any. Max 32 KiB. | |
| authorization_id | No | Defaults to the newest matching authorization. | |
| client_order_key | Yes | Your unique key for this purchase. Retrying with the same key and body returns the same order and never charges twice. |