Stream AI job results
Retrieve the full result of a completed AI job, including all actions taken by the AI (queries generated, data retrieved) and the final summarized answer.
Results are only available for jobs in COMPLETE state and are retained for 14 days after completion. The response is streamed directly from storage.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Response
Job results retrieved successfully
Present on every completed job submitted with executionProfile: data. Describes the query the job ran, without row data. Use Run query to re-run query and retrieve rows.
The AI's final response message in Markdown format. This is the complete answer to the original prompt, incorporating data from all executed queries.
When the AI publishes a dashboard, the message discloses that the publish occurred. If the published draft contained changes made by someone other than the caller (drafts are per-dashboard, not per-user), the message also discloses that fact with attribution and timestamp.
"### Top 5 Products by Revenue\n\n1. **Sunglasses** - $678,994\n2. **Jeans** - $475,072"
Summary of the job result. Typically matches the final message content.
When the AI publishes a dashboard, the summary discloses that the publish occurred. If the published draft contained changes made by someone other than the caller, the summary also discloses that fact.
"### Top 5 Products by Revenue\n\n1. **Sunglasses** - $678,994\n2. **Jeans** - $475,072"

