Skip to main content
GET
Get event impact
Returns the outcomes of a processed event: rule evaluations (in execution-time rule-set and rule order), journal entries with double-entry postings, state changes, and a per-entity balance_impact summary. While an event is still PENDING or PROCESSING, the response returns event metadata with empty arrays.
  • Sparse evaluation trace: Rules whose conditions evaluated to false, and rules skipped after an earlier stop_after_match in the same set, have no row (later rule sets still run). All recorded rows are returned, including SKIPPED_ERROR and SKIPPED_TIMEOUT. Each evaluation includes its rule_set_id, and each state change includes the rule_id that produced it.
  • Balance impact: balance_impact aggregates postings into net changes per entity, asset, and bucket, omitting zero-sum entries and listing system accounts (SYSTEM_ISSUANCE, SYSTEM_BREAKAGE, SYSTEM_REDEMPTION) as counterparties.
For usage patterns and examples, see the Event processing guide.

Authorizations

Authorization
string
header
default:sk_...
required

Send your API key as Authorization: Bearer <key>.

Path Parameters

event_id
string<uuid>
required

The event's id.

Response

Event impact details

An event with everything it caused: rule evaluations, journal entries, balance changes and state changes.

balance_impact
object[]

Net balance impact per entity/asset/bucket

created_at
string<date-time>

When this event was created

Example:

"2027-01-15T10:30:00Z"

error_code
string

Why a FAILED event failed, as a code from the Errors page, such as program_inactive, participant_inactive or unknown_participant. Absent when the event did not fail or the failure has no code.

Example:

"program_not_found"

error_message
string

Error details if the event failed during processing

Example:

"rule condition evaluation failed"

event_data
object

Original event data payload

Example:
event_timestamp
string<date-time>

When the event occurred (from the ingestion request)

Example:

"2027-01-15T10:30:00Z"

event_type
string

The name you gave the event, such as purchase. Rules read it as event.type. Absent for an event stored before events had a name.

Example:

"purchase"

external_id
string

Your system's identifier for the participant (the value provided at ingestion)

Example:

"user_123"

first_error_code
string

The event's cause: the first error_code it failed with. GET /v1/reports/failure-causes groups events by it, and GET /v1/events can filter by it. The event keeps it after a retry. Absent when the event never failed with a code.

Example:

"participant_inactive"

first_failed_at
string<date-time>

When the event first failed (RFC 3339). The event keeps it after a retry; its latest failure is processed_at. Absent when the event never failed.

Example:

"2027-01-15T10:30:00Z"

id
string<uuid>

Unique identifier for this event

Example:

"e5dc1b6a-7f3d-4e2a-8c1b-9a0f4d7e6c05"

idempotency_key
string

Client-provided unique key for deduplication

Example:

"order-1001-completed"

journal_entries
object[]

Journal entries created by this event with their double-entry postings

participant_id
string<uuid>

Participant UUID, resolved from external_id if one was provided at ingestion

Example:

"f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b006"

processed_at
string<date-time>

When the event finished processing (null while pending or processing)

Example:

"2027-01-15T10:30:00Z"

program_id
string<uuid>

Program this event belongs to

Example:

"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"

received_at
string<date-time>

When Scrip received the event

Example:

"2027-01-15T10:30:00Z"

recipient_id
string<uuid>

Recipient participant UUID sent as recipient_id or recipient_external_id; rules read it as recipient.id

Example:

"f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b007"

reversal
object

Whether the rewards this event issued were later reversed.

rule_evaluations
object[]

Recorded rule-evaluation rows for this event. Rules whose conditions cleanly evaluate to false are not recorded; later rules in the same set after a successful stop_after_match are not evaluated or recorded.

source
enum<string>

Whether you sent the event or Scrip generated it.

Available options:
EXTERNAL,
SYSTEM,
OPERATIONAL
Example:

"EXTERNAL"

state_changes
object[]

State changes (tags, counters, attributes, tiers) caused by this event

status
enum<string>

Where the event is in processing.

Available options:
PENDING,
PROCESSING,
COMPLETED,
FAILED
Example:

"COMPLETED"

updated_at
string<date-time>

When this event was last updated

Example:

"2027-01-15T10:30:00Z"