---
title: "Emit an event to a run (legacy)"
method: POST
path: "/v1/run-events"
tags: ["Runs"]
---

# Emit an event to a run (legacy)

`POST /v1/run-events`

Emit a single usage event to a run. The event is stored idempotently using the idempotencyKey.

**Note:** This is the legacy endpoint. For the newer execution-first API with richer metadata,
use POST /v1/events instead.

This endpoint records the event for visibility/debugging. For events that should also create a charge,
use POST /v1/usage instead.

## Response `201`

Event emitted

- object — Event emitted
  - `id` string
  - `runId` string
  - `eventType` string
  - `quantity` number
  - `costUnits` number, nullable
  - `isDuplicate` boolean
  - `timestamp` string, date-time

## Other responses

- `400` — Validation error
- `401` — Unauthorized
- `404` — Run not found
- `429` — Rate limit exceeded
- `503` — Service temporarily unavailable — retry with backoff

---

[API](https://skmtc.net/usedrip/apis/drip-api.md) · [All operations](https://skmtc.net/usedrip/apis/drip-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usedrip/drip-api/revisions/2cb1567969ca/schema)
