v1

latestOpenAPI 3.1.02026-08-042453938.9 KB
Runs

Emit an event to a run (legacy)

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.

post/v1/run-events

Response

Event emitted

idstring
runIdstring
eventTypestring
quantitynumber
costUnitsnumber nullable
isDuplicateboolean
timestampstring date-time