Run
Run the Labric data-analysis agent and return its final answer
alongside the tool calls it made. With stream=true the response is
instead a stream of server-sent AgentRunEvent events, closing after a
terminal result event that carries the same summary, or an error
event if the run fails; prefer streaming for long analyses. Pass chat_id
to continue a saved conversation, or save=true to save the run as a new
chat visible in the web UI; if saving fails, the answer is still returned
but its chat_id is null. Tools that change data are available to the run
only when the API key holds the write scope.
Requires an API key with the read scope.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Response
Final result of an agent run: the assistant’s answer, the tool calls it made, token usage, and the chat id when the run was persisted.