{"type":"object","contentType":"application/json","properties":{"model":{"type":"string","description":"Always \"clairic-flash\", whichever selector was sent."},"answers":{"type":"object","description":"One answer per field, keyed by field name. value is null when the input does not determine it. Generated answers (text, number, boolean, enum, object, source_only fields, lists) carry valid/complete/decoder metadata; typed answers (date, time, datetime, duration, compute) carry guess instead.","additionalProperties":{"type":"object","additionalProperties":true,"properties":{"type":{"type":"string"},"value":{},"guess":{"description":"Typed answers only: the best non-null candidate, returned even when value is null."},"valid":{"type":"boolean","description":"Generated answers: whether the output satisfied the field's schema. value is null when false."},"complete":{"type":"boolean","description":"Generated answers: whether generation terminated normally."},"decoder":{"type":"string","description":"Generated answers: decoder that produced the value, e.g. parallel-ar-json-scalar-v1, native_source_scalar_v1 or source_receipt_block_sum_v1."},"tokens":{"type":"integer","description":"Generated answers: completion tokens, including retries."},"raw":{"type":"string","description":"Generated answers: the raw generated JSON."},"p_null":{"type":"number"},"p_null_method":{"type":"string"},"p_nulls":{"type":"array","items":{"type":"number"},"description":"Lists: null probability per item."},"confidence":{"type":"number","description":"Generated answers: probability of the returned value (including a null value); 0 when invalid. Typed answers: probability of guess."},"confidences":{"type":"array","items":{"type":"number"},"description":"Lists: confidence per item."},"confidence_method":{"type":"string"},"log_probability":{"type":"number","description":"Generated answers: log probability of the generated sequence. Present only when valid."},"span":{"type":["array","null"],"items":{"type":"integer"},"minItems":2,"maxItems":2,"description":"[start, end] character offsets into state, or null when the value has no unique match in the input."},"spans":{"type":"array","items":{"type":["array","null"],"items":{"type":"integer"}},"description":"Lists: one span or null per item."},"property_spans":{"type":"array","items":{"type":"object"},"description":"Object lists read from tables: per row, a map of property name to span or null."},"span_method":{"type":"string"},"grounding_method":{"type":"string"},"printed_value":{"type":["string","null"],"description":"source_only fields: the text as printed in the input."},"normalization_method":{"type":"string"},"failure_reason":{"type":"string","description":"Why an answer is invalid, e.g. not_in_source."},"null_recovered":{"type":"boolean"},"retry_input_tokens":{"type":"integer","description":"Input tokens spent on retries for this field."},"source":{"type":"string","enum":["input","image","readout"]},"unit":{"type":"string","description":"Duration only."},"mean":{},"median":{},"p10":{},"p90":{},"p_below":{"type":"number"},"p_above":{"type":"number"},"quantiles":{"type":"array"},"steps":{"type":"array","description":"Forecast only: one estimate per step."}},"required":["type","value"]}},"truncated":{"type":"boolean","description":"True when any generated answer or list is invalid or incomplete. Input is never truncated."},"state_text":{"type":"string"},"usage":{"type":"object","properties":{"state_tokens":{"type":"integer"},"image_tokens":{"type":"integer"},"schema_tokens":{"type":"integer"},"input_tokens":{"type":"integer","description":"All prompt tokens, including retries."},"output_tokens":{"type":"integer","description":"All generated tokens."},"passes":{"type":"integer","description":"Sequential decode steps."}},"required":["input_tokens","output_tokens"]}},"required":["model","answers","truncated","usage"]}