> ## Documentation Index
> Fetch the complete documentation index at: https://docs.revyops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Batch Result

> Returns what happened to each event in a batch: stored, duplicate or unmatched.

Returns what happened to a batch sent with [Log Activities in Bulk](/api-reference/activities/log-activity-batch). Only batches sent with a key for the same workspace are visible.

```json theme={null}
{
  "batch_id": "4e7c9b1e-2f1a-4c8e-9a51-1b7d3c0e6f42",
  "state": "done",
  "received": 1000,
  "stored": 962,
  "duplicates": 20,
  "unmatched": 18,
  "unmatched_ids": ["u8821:opened_app:2026-10-08", "u9020:opened_app:2026-10-08"],
  "created_at": "2026-10-09T03:10:04+00:00",
  "finished_at": "2026-10-09T03:10:11+00:00",
  "error": ""
}
```

| Field | Meaning |
| - | - |
| `state` | `queued`, `running`, `done` or `failed`. |
| `stored` | Events saved and linked to a contact or company. |
| `duplicates` | Events whose id was already stored for that type and source. Nothing changed. |
| `unmatched` | Events whose phone, email, LinkedIn URL or domain matched no record. They are not stored. Once the record exists, send them again. |
| `unmatched_ids` | The ids of unmatched events. |

A `failed` batch keeps the events stored before the failure. Sending the same batch again completes it without duplicates.


## OpenAPI

````yaml GET /public/activities/batch/{batch_id}/
openapi: 3.0.3
info:
  title: RevyOps API
  version: 1.0.0
servers:
  - url: https://app.revyops.com/api
security:
  - ApiKeyAuth: []
paths:
  /public/activities/batch/{batch_id}/:
    get:
      tags:
        - public
      description: >-
        Returns what happened to each event in a batch: stored, duplicate or
        unmatched.
      operationId: public_activities_batch_retrieve
      parameters:
        - in: path
          name: batch_id
          schema:
            type: string
            pattern: ^[0-9a-f-]{36}$
          required: true
      responses:
        '200':
          description: No response body
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.