Creates a new evaluation task. You must supply exactly one of project_id
or dataset_id as the data source.
Validation Rules
dataset_id is provided, experiment_ids must contain at least one entry.project_id is provided, experiment_ids must be omitted or empty.sampling_rate and is_continuous are only supported on project-based tasks.is_continuous = false.Most Arize AI endpoints require authentication. For those endpoints that require authentication, include your API key in the request header using the format
Body containing task creation parameters
Task name
Task type
template_evaluation, code_evaluation Evaluators to attach (at least one required).
1Project global ID (base64). Required if dataset_id is not provided. Mutually exclusive with dataset_id.
Dataset global ID (base64). Required if project_id is not provided. Mutually exclusive with project_id.
Experiment global IDs (base64). Required when dataset_id is provided (at least one). Must be omitted or empty for project-based tasks.
Sampling rate between 0 and 1. Only supported on project tasks.
0 <= x <= 1Whether the task runs continuously. Must be true or false for project-based tasks. Must be false or omitted for dataset-based tasks.
Task-level query filter applied to all data.
Returns the created task
A task is a typed, configurable unit of work that ties one or more evaluators to a data source (project or dataset).
The unique identifier for the task
The name of the task
The task type: template_evaluation or code_evaluation
template_evaluation, code_evaluation Whether the task runs continuously on incoming data.
Task-level query filter applied to all data.
The evaluators attached to this task.
Experiment global IDs (base64) for dataset-based tasks.
When the task was last run.
When the task was created.
When the task was last updated.
The unique identifier for the user who created the task.
The project global ID (base64). Present for project-based tasks.
The dataset global ID (base64). Present for dataset-based tasks.
Sampling rate between 0 and 1. Only applicable for project-based tasks.
0 <= x <= 1