Skip to main content
POST
Create a configuration rule directly from a finding (mark-as-original)

Authorizations

Authorization
string
header
required

An Earnie API key, sent as Authorization: Bearer sk_earnie_.... Create one under Settings > API keys. The key's scopes decide which operations it may call.

Path Parameters

findingId
string<uuid>
required

Body

application/json
reason
string
required

Reason slug for the rule (e.g. "mark_original"). Validated downstream against the domain's registered reason registry.

scope
object

Optional explicit scope override.

Response

Rule created and finding updated

finding
object
required

Updated finding after the rule was applied.

rule_id
string<uuid>
required

ID of the newly created configuration rule.