Batch Evaluation
dcl_evaluate_batchAudit multiple AI outputs at once: submit a list of responses with optional policies, receive individual verdicts in one priced call.
Instructions
PRE-ACTION Bulk Processing ($0.10). Evaluates a list of items in one call; each item is a dict shaped {"response": str, "policy"?: str}, where policy defaults to "default" if omitted and may be any built-in policy name (default, strict, anti_jailbreak, safety, content_quality). Each item gets its own independent COMMIT/NO_COMMIT verdict via the same logic as the matching single-item evaluate_* tool; results are returned in input order under results, plus a shared batch_id. There is currently no enforced size limit on items in this tool. Use this instead of multiple single-item evaluate_* calls when checking several responses — optionally against different policies — in one priced call rather than paying per item separately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | List of items to evaluate, each shaped like {'response': str, 'policy'?: str}. | |
| agent_id | Yes | Identifier of the agent that produced the responses. | |
| payment_id | No | Optional payment identifier returned by a previous call when payment is required |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of items evaluated in this batch. | |
| results | Yes | Per-item evaluation results, in input order. | |
| agent_id | Yes | Identifier of the agent whose responses were evaluated. | |
| batch_id | Yes | Unique identifier for this batch run. |