Understand how to access citations, reasoning, and confidence levels for your Task Run outputs
Field | Type | Description |
---|---|---|
run | object | Task Run object with status and id, detailed above. |
output | TaskRunOutput object or null | Output from the task conforming to the output schema. Present iff run.status == completed. |
Field | Type | Description |
---|---|---|
content | string | JSON or plain text according to the output schema. |
basis | array[FieldBasis] | Basis for each top-level output field. See FieldBasis object below. |
type | string | Always text |
basis
field contains an array of FieldBasis objects that correspond to each top-level field in your output. This allows you to trace exactly which sources on the web contributed to each specific piece of information in your result.
Field | Type | Description |
---|---|---|
field | string | Name of the corresponding output field |
citations | array[Citation] | List of web sources supporting the output field |
reasoning | string | Explanation of how the system processed the information |
confidence | string or null | Reliability rating (premium processors only) |
Field | Type | Description |
---|---|---|
url | string | The source URL |
excerpts | array[string] or null | Relevant text from the source (premium processors only) |