Retrieves task runs in a TaskGroup and optionally their inputs and outputs.
All runs within a TaskGroup are returned as a stream. To get the inputs and/or
outputs back in the stream, set the corresponding include_input and
include_output parameters to true.
The stream is resumable using the event_id as the cursor. To resume a stream,
specify the last_event_id parameter with the event_id of the last event in the
stream. The stream will resume from the next event after the last_event_id.
queued, action_required, running, completed, failed, cancelling, cancelled Successful Response
Event when a task run transitions to a non-active status.
May indicate completion, cancellation, or failure.
Event type; always 'task_run.state'.
"task_run.state"Cursor to resume the event stream. Always empty for non Task Group runs.
Task run object.
Input to the run; included only if requested.
Output from a task that returns text.