Run a specified Task against provided text and/or image input. The response is controlled by the output_format
of the Task. Note that a Task must be enabled
to be run.
The unique identifier of the organization.
The unique identifier of the project.
The specific Task to reference.
The data input to the Task. This should be relevant to the user_prompt
and provide values for the dynamic {...}
parameters that are referenced in the prompt. Not required if image_required
is set to true
and there are no dynamic parameters in the prompt. It should be send as a JSON string.
The unique identifier of the Task associated with this run.
The unique identifier of the Task Revision associated with this run.
The structured response from the Task execution.
Additional data about the Task such as the submitted text input.
The unique identifier of the Task Run.
The timestamp when the Task Run was created.
The number of tokens submit as input to the model.
The number of tokens generated and output by the model.
The total token usage for the TaskRun.