v51

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01979563.0 MB
Structured Outputs

Run Structured Output

post/structured-output/run

Request body

previewEnabledboolean

This is the preview flag for the re-run. If true, the re-run will be executed and the response will be returned immediately and the call artifact will NOT be updated. If false (default), the re-run will be executed and the response will be updated in the call artifact.

structuredOutputIdstring

This is the ID of the structured output that will be run. This must be provided unless a transient structured output is provided. When the re-run is executed, only the value of this structured output will be replaced with the new value, or added if not present.

callIdsstring[] required

This is the array of callIds that will be updated with the new structured output value. If preview is true, this array must be provided and contain exactly 1 callId. If preview is false, up to 100 callIds may be provided.

Response

OR