---
title: "Send sample event data to a Destination"
method: POST
path: "/system/outputs/{id}/test"
tags: ["destinations"]
---

# Send sample event data to a Destination

`POST /system/outputs/{id}/test`

Send sample event data to the specified Destination to validate the configuration or test connectivity.

## Path parameters

- `id` string, required

## Request body

- OutputTestRequest — Request body for testing a Destination by sending sample events.
  - `events` object[], required — Array of event objects to send to the Destination for testing.

## Response `200`

Destination test result.

- CountedOutputTestResponse
  - `count` integer, required — number of items present in the items array
  - `items` OutputTestResponse[], required — List of items in this response.
    - `details` object — Additional details about the Destination test, such as per-event results and transport-level information.
    - `error` string — Error message that describes a failed Destination test.
    - `outputId` string, required — The <code>id</code> of the Destination that was tested.
    - `success` boolean, required — If <code>true</code>, the Destination test succeeded. Otherwise, <code>false</code>.
    - `successDetail` string — Human-readable description for a successful Destination test result.

## Other responses

- `400` — Failed validation or malformed input — missing or invalid events.
- `401` — Authentication failed (missing or invalid credentials or Bearer token).
- `500` — Unexpected server error.

## Changes

- **2026-07-21** `e9bef570d106` — 6 info
  - added the media type `application/json` for the response with the status `401`
  - added the optional property `details` to the response with the `500` status
  - the response property `count` became required for the status `200`
  - the response property `items` became required for the status `200`
  - …2 more
- **2026-05-14** `484cda0ad459` — 1 info
  - added the non-success response with the status `400`
- **2026-01-24** `84748faee3ef` — 1 warning
  - removed the request property `events/items/_raw`
  - …this revision’s changelog is incomplete
- **2026-01-19** `62472462b0c0` — 1 breaking
  - added the new required request property `events/items/_raw`
  - …this revision’s changelog is incomplete
- **2026-01-19** `78a6165ee901` — 1 warning
  - removed the request property `events/items/_raw`
  - …this revision’s changelog is incomplete

[Change history](https://skmtc.dev/criblio/apis/cribl-api-reference/changes/system/outputs/:id/test/post.md)

---

[API](https://skmtc.dev/criblio/apis/cribl-api-reference.md) · [All operations](https://skmtc.dev/criblio/apis/cribl-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/criblio/cribl-api-reference/revisions/56cb25079271/schema)
