---
title: "Batch ingestion of assertion results"
method: PUT
path: "/v1/private/assertion-results"
tags: ["Assertion Results"]
---

# Batch ingestion of assertion results

`PUT /v1/private/assertion-results`

Batch ingestion of assertion results for traces or spans

## Request body

- AssertionResultBatch
  - `entity_type` 'TRACE' | 'SPAN' | 'THREAD', required
  - `assertion_results` AssertionResultBatchItem[], required
    - `entity_id` string, uuid, required
    - `project_name` string — If null, the default project is used
    - `project_id` string, uuid
    - `name` string, required
    - `status` 'passed' | 'failed', required
    - `reason` string
    - `source` 'ui' | 'sdk' | 'online_scoring', required

## Response `204`

No Content

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
