OptionalappOptionalattributionOptional workload attribution overriding this client's defaults.
OptionalbillingBilling mode for the run. 'subscription' bills against the active
subscription entitlement, 'tokens' forces token billing, 'auto'
(server default when omitted) lets the server decide. Serialized as
billing_mode to match the durable-run body's snake_case convention.
OptionalclientStable client message id for pairing with the assistant response.
OptionalconfirmSet true to confirm higher-cost work.
OptionalidempotencyIdempotency key (also accepted via Idempotency-Key header).
OptionalmaxCost ceiling for this run (capacity units).
OptionalmediaFull chat media context snapshot for generated + uploaded source indexing. Durable runs require uploaded HTTP(S) URLs, not inline data URIs.
OptionalmediaInbound media references attached to the run. Durable runs require uploaded HTTP(S) URLs, not inline data URIs.
OpenAI-style messages array. Required.
OptionalmodelModel id requested for the run.
OptionalruntimeHost-app runtime config (quality tier, NSFW filter) the cloud
executor should apply when tool calls omit the equivalent field —
e.g. resolve qualityTier: "fast" → model: "z-turbo" for
generate_image so cloud runs match client-mode defaults.
OptionaljobConfirmationThresholdUsd?: numberSkip the pause for jobs estimated at or below this USD figure.
OptionalpersonaNames?: string[]Registered persona names so the cloud executor can apply the same persona-resolution gate as the client.
OptionalqualityTier?: "fast" | "hq" | "pro"OptionalrequireJobConfirmation?: booleanWhen true, the cloud emits cost-approval pauses before paid media tools.
OptionalsafeContentFilter?: booleanOptionalsamplingSampling defaults captured with the run for reproducibility.
OptionalsessionStable session id for browser-side rehydration queries.
OptionaltokenToken type for billing.
OptionaltoolOpenAI-style tool choice (auto, none, or specific tool).
OptionaltoolsOpenAI-style tools array.
Optional source label for attribution. Defaults to the client appSource when configured.