Skip to main content
POST
apply sync metered event to a run

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

runId
string
required

The run ID

Minimum string length: 1
Example:

"brun_123"

Body

application/json

The sync event payload

featureSlug
string
required
Minimum string length: 1
idempotencyKey
string
required
Minimum string length: 1
id
string
Minimum string length: 1
eventSlug
string
Minimum string length: 1
timestamp
integer
Required range: x > 0
properties
object

Response

The sync event decision

accepted
boolean
required
reason
enum<string>
required
Available options:
accepted,
duplicate,
insufficient_budget,
expired,
not_running,
entitlement_denied
run
object
required