Returns one event with its payload, processing status, recorded rule results, and failure details. Rules whose conditions were false or that were never reached have no result row.A newly accepted event can briefly return 404 while it waits to become visible. Poll the same id until it resolves. An event rejected during processing appears as FAILED with an error_code.Every response includes a reversal summary. Send expand[]=reversals to include the newest 100 reversals with their award lines; the summary covers all reversals.
See Event processing for processing outcomes, failure recovery, and reversals.
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.
Query Parameters
include_skipped
boolean
default:false
Include skipped rule evaluations (SKIPPED_ERROR, SKIPPED_TIMEOUT)
expand[]
enum<string>[]
Sections to add: reversals, the reversals of the event's rewards, newest first.
Available options:
reversals
Response
Event details with rule executions
An event with its processing status and the rule evaluations it produced.
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:
{ "amount": 120 }
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"
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.
Show child attributes
reversals
object[]
Up to 100 most recent reversals of the event's rewards, newest first (returned with expand[]=reversals).
Show child attributes
rule_evaluations
object[]
Recorded rule evaluations for this event (SKIPPED_ERROR and SKIPPED_TIMEOUT are omitted unless include_skipped=true; false conditions and rules after stop_after_match are not recorded).
Show child attributes
source
enum<string>
Whether you sent the event or Scrip generated it.
Available options:
EXTERNAL,
SYSTEM,
OPERATIONAL
Example:
"EXTERNAL"
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"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Scrip Docs","description":"The operating system for rewards programs. Build and run card rewards, customer loyalty, referral programs, and marketplace incentives with Scrip's API, dashboard, and double-entry ledger.","colors":{"primary":"#FF4F0C","light":"#FF4F0C","dark":"#FF4F0C"},"logo":{"light":"https://mintcdn.com/scrip/T3s-FRIg6XhFktLB/logo/scrip-logo-light.svg?fit=max\u0026auto=format\u0026n=T3s-FRIg6XhFktLB\u0026q=85\u0026s=b63bc2ffbb52895c7ca415bc1c30e9c6","dark":"https://mintcdn.com/scrip/T3s-FRIg6XhFktLB/logo/scrip-logo-dark.svg?fit=max\u0026auto=format\u0026n=T3s-FRIg6XhFktLB\u0026q=85\u0026s=e28fa32a605d1b2150fa46387793366b"},"favicon":"https://mintcdn.com/scrip/3oFesJ41GdpKauvv/logo/scrip-favicon.svg?fit=max\u0026auto=format\u0026n=3oFesJ41GdpKauvv\u0026q=85\u0026s=20c277b33f9cf71c42c42c8549b18eb4","api":{"openapi":["openapi.json"],"examples":{"languages":["curl","python","javascript","go"]}},"navbar":{"links":[{"href":"mailto:hello@scrip.dev","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.scrip.dev"}},"footer":{},"fonts":{"heading":{"family":"Geist"},"body":{"family":"Geist"}},"contextual":{"options":["copy","view","claude","mcp","cursor","vscode"],"display":"header"},"interaction":{"drilldown":false},"markdown":{"instructions":["Start with https://docs.scrip.dev/agents.md and https://docs.scrip.dev/which-endpoints-you-need.md. Your application only needs a few API calls as users earn and spend (`POST /v1/events`, balance/history reads, and redemptions); program setup happens in the dashboard or setup scripts.","Use `https://api-sandbox.scrip.dev` with `sk_test_` keys for testing, and `https://api.scrip.dev` with `sk_live_` keys for production. Keep API keys on your server.","Pass your own user ID as `external_id` on events and prefix it with `ext:` in participant URL paths (e.g., `GET /v1/participants/ext:user_123/balances`). By default (`on_unknown_participant: CREATE`), the first event for a new `external_id` creates and enrolls the participant automatically.","Events process asynchronously: `POST /v1/events` returns `202 Accepted` when queued, and rules evaluate in the background. Pass an `idempotency_key` (such as an order ID) on every event, and wait for the `event.completed` webhook or poll `GET /v1/events/{event_id}` before reading updated balances.","Connect the hosted MCP server at https://mcp.scrip.dev/mcp (OAuth, defaults to Sandbox) to inspect programs, validate and simulate rules, and trace events. Append `.md` to any docs URL for Markdown, or fetch https://docs.scrip.dev/openapi.json for full endpoint schemas."]},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"scrip","hasAudioNarration":false,"actualSubdomain":"scrip","customDomains":["docs.scrip.dev"],"gitSource":{"type":"github","owner":"scrip-dev","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b03d4784ca26305da2ba9c6","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"Endpoints","count":157},{"language":"default","tag":"API Reference","count":153},{"language":"default","tag":"Guides","count":41},{"language":"default","tag":"Rules","count":24},{"language":"default","tag":"Groups","count":14},{"language":"default","tag":"Participants","count":12},{"language":"default","tag":"Programs","count":12},{"language":"default","tag":"Webhooks","count":12},{"language":"default","tag":"Gift cards","count":11},{"language":"default","tag":"Reporting","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":".sidebar-group button[aria-label^=\"Toggle\"]{justify-content:space-between}div:has(>.sidebar-group-header)+div:has(>.sidebar-group-header){border-top:1px solid var(--border-color, #e5e7eb);margin-top:1rem!important;padding-top:1rem}.dark div:has(>.sidebar-group-header)+div:has(>.sidebar-group-header){border-color:var(--border-color, #374151)}"}]}
{"page":{"pagePath":"api-reference/events/get-an-event","slug":"/api-reference/events/get-an-event","pageMetadata":{"title":"Get an event","openapi":"GET /v1/events/{event_id}","description":"Retrieve a single event by ID, including processing status and rule evaluation results.","href":"/api-reference/events/get-an-event"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve a single event by ID, including processing status and rule evaluation results.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Returns one event with its payload, processing status, recorded rule results, and failure details. Rules whose conditions were false or that were never reached have no result row.`}),`\n`,_jsxs(_components.p,{children:[`A newly accepted event can briefly return `,_jsx(_components.code,{children:`404`}),` while it waits to become visible. Poll the same id until it resolves. An event rejected during processing appears as `,_jsx(_components.code,{children:`FAILED`}),` with an `,_jsx(_components.code,{children:`error_code`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Every response includes a `,_jsx(_components.code,{children:`reversal`}),` summary. Send `,_jsx(_components.code,{children:`expand[]=reversals`}),` to include the newest 100 reversals with their award lines; the summary covers all reversals.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/guides/event-processing`,children:`Event processing`}),` for processing outcomes, failure recovery, and reversals.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get an event","openapi":"GET /v1/events/{event_id}","description":"Retrieve a single event by ID, including processing status and rule evaluation results.","href":"/api-reference/events/get-an-event"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Retrieve a single event by ID, including processing status and rule evaluation results.","operationId":"getEvent","parameters":["f8811706-40cf-417e-82e5-9c42027258e5","f4e82962-5dee-444a-b5bc-15103da4a35f","27fe7076-6149-4db1-be75-c58573c2a758"],"responses":{"200":"427da0e2-9b4b-4267-a716-6abaa7724c80","400":"a6e62a98-e212-4213-bdd6-a9002cf10fa6","401":"adf41184-5a7a-4b02-9286-b0ddc6d5b7ae","404":"8a0c7f03-f7e0-4d1b-a660-f310c9cc06b7","429":"f97c0266-9098-4ce6-844c-45e1004fed44","500":"fac5209b-0638-4b8f-be6c-814c88e8bcd8"},"security":["94a2d372-b188-4adf-8aed-cf2ead0d2f6b"],"summary":"Get an event","tags":["Events"],"x-scrip-idempotency":"none","method":"get","type":"path","servers":["121dbe0f-d156-4944-97e6-6130832ce07d","507f9d07-4c8d-4877-8525-1f10e203f59b"],"path":"/v1/events/{event_id}","baseUrlOptions":["https://api.scrip.dev","https://api-sandbox.scrip.dev"],"title":"Get an event","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"f8811706-40cf-417e-82e5-9c42027258e5":{"description":"The event's id.","example":"e5dc1b6a-7f3d-4e2a-8c1b-9a0f4d7e6c05","in":"path","name":"event_id","required":true,"schema":{"format":"uuid","type":"string","isRequired":true,"description":"The event's id.","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"f4e82962-5dee-444a-b5bc-15103da4a35f":{"description":"Include skipped rule evaluations (SKIPPED_ERROR, SKIPPED_TIMEOUT)","in":"query","name":"include_skipped","schema":{"default":false,"type":"boolean","description":"Include skipped rule evaluations (SKIPPED_ERROR, SKIPPED_TIMEOUT)","uniqueKey":"","typeLabel":"boolean"}},"27fe7076-6149-4db1-be75-c58573c2a758":{"description":"Sections to add: `reversals`, the reversals of the event's rewards, newest first.","in":"query","name":"expand[]","schema":{"items":{"enum":["reversals"],"type":"string","uniqueKey":"items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","description":"Sections to add: `reversals`, the reversals of the event's rewards, newest first.","uniqueKey":"","typeLabel":"enum\u003cstring>[]"}}},"responses":{"427da0e2-9b4b-4267-a716-6abaa7724c80":{"content":{"application/json":{"examples":{"default":{"title":"default","value":{"created_at":"2027-01-15T10:30:00Z","event_data":{"amount":120},"event_timestamp":"2027-01-15T10:30:00Z","external_id":"user_123","id":"e5dc1b6a-7f3d-4e2a-8c1b-9a0f4d7e6c05","idempotency_key":"order-1001-completed","participant_id":"f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b006","processed_at":"2027-01-15T10:30:00Z","program_id":"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01","received_at":"2027-01-15T10:30:00Z","recipient_id":"f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b007","reversal":{"status":"PARTIAL"},"reversals":[{"created_at":"2027-01-15T10:30:00Z","event_id":"e5dc1b6a-7f3d-4e2a-8c1b-9a0f4d7e6c05","id":"9e3c5b71-6d28-4a94-8f1e-0c7b2a4d6e12","idempotency_key":"refund-order-456-1","lines":[{"asset_id":"a3bb189e-8bf9-4c8b-9be0-6b5d2f4e7a02","ledger_entity_id":"5e7a9c13-2d4f-4b68-9a0c-e1b3d5f7a920","original_amount":"54.25","original_journal_entry_id":"657a0312-1aaa-4ba7-842b-edfbb39edf14","recovered_amount":"27.13","requested_amount":"27.13","shortfall_amount":"0"}],"reason":"partial refund","shortfall_policy":"report","status":"COMPLETED"}],"source":"EXTERNAL","status":"COMPLETED","updated_at":"2027-01-15T10:30:00Z"}}},"schema":{"description":"An event with its processing status and the rule evaluations it produced.","properties":{"created_at":{"description":"When this event was created","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"error_code":{"description":"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.","examples":["program_not_found"],"type":"string","uniqueKey":"error_code","typeLabel":"string"},"error_message":{"description":"Error details if the event failed during processing","examples":["rule condition evaluation failed"],"type":"string","uniqueKey":"error_message","typeLabel":"string"},"event_data":{"description":"Original event data payload","examples":[{"amount":120}],"type":"object","uniqueKey":"event_data","typeLabel":"object"},"event_timestamp":{"description":"When the event occurred (from the ingestion request)","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"event_timestamp","typeLabel":"string\u003cdate-time>"},"event_type":{"description":"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.","examples":["purchase"],"type":"string","uniqueKey":"event_type","typeLabel":"string"},"external_id":{"description":"Your system's identifier for the participant (the value provided at ingestion)","examples":["user_123"],"type":"string","uniqueKey":"external_id","typeLabel":"string"},"first_error_code":{"description":"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.","examples":["participant_inactive"],"type":"string","uniqueKey":"first_error_code","typeLabel":"string"},"first_failed_at":{"description":"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.","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"first_failed_at","typeLabel":"string\u003cdate-time>"},"id":{"description":"Unique identifier for this event","examples":["e5dc1b6a-7f3d-4e2a-8c1b-9a0f4d7e6c05"],"format":"uuid","type":"string","uniqueKey":"id","typeLabel":"string\u003cuuid>"},"idempotency_key":{"description":"Client-provided unique key for deduplication","examples":["order-1001-completed"],"type":"string","uniqueKey":"idempotency_key","typeLabel":"string"},"participant_id":{"description":"Participant UUID, resolved from external_id if one was provided at ingestion","examples":["f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b006"],"format":"uuid","type":"string","uniqueKey":"participant_id","typeLabel":"string\u003cuuid>"},"processed_at":{"description":"When the event finished processing (null while pending or processing)","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"processed_at","typeLabel":"string\u003cdate-time>"},"program_id":{"description":"Program this event belongs to","examples":["8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"],"format":"uuid","type":"string","uniqueKey":"program_id","typeLabel":"string\u003cuuid>"},"received_at":{"description":"When Scrip received the event","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"received_at","typeLabel":"string\u003cdate-time>"},"recipient_id":{"description":"Recipient participant UUID sent as recipient_id or recipient_external_id; rules read it as recipient.id","examples":["f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b007"],"format":"uuid","type":"string","uniqueKey":"recipient_id","typeLabel":"string\u003cuuid>"},"reversal":{"description":"Whether the rewards this event issued were later reversed.","properties":{"last_reversed_at":{"description":"When the latest reversal was made (RFC 3339). Absent when status is NONE.","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"reversal.last_reversed_at","typeLabel":"string\u003cdate-time>"},"status":{"description":"Reversal state: `NONE` (not reversed), `PARTIAL` (partially reversed), or `FULL` (all reversible awards recovered).","enum":["NONE","PARTIAL","FULL"],"examples":["PARTIAL"],"type":"string","uniqueKey":"reversal.status","typeLabel":"enum\u003cstring>"}},"type":"object","uniqueKey":"reversal","typeLabel":"object"},"reversals":{"description":"Up to 100 most recent reversals of the event's rewards, newest first (returned with `expand[]=reversals`).","items":{"description":"One reversal of an event's rewards: when and why it was made, who made it, and what each original award gave back.","properties":{"actor":{"description":"Who made the reversal. Absent only on some older reversals that recovered nothing.","properties":{"actor_source":{"description":"How the change was made.","enum":["DIRECT_USER","DIRECT_API_KEY","RULE","SYSTEM","ASSERTED"],"examples":["DIRECT_API_KEY"],"type":"string","uniqueKey":"reversals.items.[INDEX].actor.actor_source","typeLabel":"enum\u003cstring>"},"api_key_id":{"description":"API key that made the change; present for DIRECT_API_KEY.","format":"uuid","type":"string","uniqueKey":"reversals.items.[INDEX].actor.api_key_id","typeLabel":"string\u003cuuid>"},"external_subject":{"description":"Subject identifier the integration asserted; present for ASSERTED.","examples":["auth0|5f1c2b"],"type":"string","uniqueKey":"reversals.items.[INDEX].actor.external_subject","typeLabel":"string"},"external_subject_type":{"description":"What kind of identifier `external_subject` is; present for ASSERTED.","enum":["OAUTH_SUBJECT","EMAIL"],"examples":["OAUTH_SUBJECT"],"type":"string","uniqueKey":"reversals.items.[INDEX].actor.external_subject_type","typeLabel":"enum\u003cstring>"},"rule_id":{"description":"Rule whose action made the change; present for RULE.","examples":["c9f0f895-fb98-4b39-9f86-1e5a0d3e2b03"],"format":"uuid","type":"string","uniqueKey":"reversals.items.[INDEX].actor.rule_id","typeLabel":"string\u003cuuid>"},"user_id":{"description":"Dashboard user who made the change; present for DIRECT_USER.","format":"uuid","type":"string","uniqueKey":"reversals.items.[INDEX].actor.user_id","typeLabel":"string\u003cuuid>"},"via_api_key_id":{"description":"API key the asserting integration used; present for ASSERTED.","format":"uuid","type":"string","uniqueKey":"reversals.items.[INDEX].actor.via_api_key_id","typeLabel":"string\u003cuuid>"}},"type":"object","uniqueKey":"reversals.items.[INDEX].actor","typeLabel":"object"},"created_at":{"description":"When the reversal was made (RFC 3339).","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"reversals.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"event_id":{"description":"The event whose rewards were reversed.","examples":["e5dc1b6a-7f3d-4e2a-8c1b-9a0f4d7e6c05"],"format":"uuid","type":"string","uniqueKey":"reversals.items.[INDEX].event_id","typeLabel":"string\u003cuuid>"},"fraction":{"description":"The fraction of each award the request reversed, such as `0.5`. Absent when the request reversed all remaining value.","examples":["0.5"],"type":"string","uniqueKey":"reversals.items.[INDEX].fraction","typeLabel":"string"},"id":{"description":"Unique identifier for this reversal.","examples":["9e3c5b71-6d28-4a94-8f1e-0c7b2a4d6e12"],"format":"uuid","type":"string","uniqueKey":"reversals.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"idempotency_key":{"description":"The key sent with the reversal request.","examples":["refund-order-456-1"],"type":"string","uniqueKey":"reversals.items.[INDEX].idempotency_key","typeLabel":"string"},"lines":{"description":"For each original award, the amount requested, recovered and not recovered.","items":{"description":"How much of one original award a reversal asked for, recovered and could not recover.","properties":{"asset_id":{"description":"Asset of the award","examples":["a3bb189e-8bf9-4c8b-9be0-6b5d2f4e7a02"],"format":"uuid","type":"string","uniqueKey":"reversals.items.[INDEX].lines.items.[INDEX].asset_id","typeLabel":"string\u003cuuid>"},"ledger_entity_id":{"description":"Ledger entity that was originally credited","examples":["5e7a9c13-2d4f-4b68-9a0c-e1b3d5f7a920"],"format":"uuid","type":"string","uniqueKey":"reversals.items.[INDEX].lines.items.[INDEX].ledger_entity_id","typeLabel":"string\u003cuuid>"},"original_amount":{"description":"Amount the original award credited","examples":["54.25"],"type":"string","uniqueKey":"reversals.items.[INDEX].lines.items.[INDEX].original_amount","typeLabel":"string"},"original_journal_entry_id":{"description":"Journal entry of the original award","examples":["657a0312-1aaa-4ba7-842b-edfbb39edf14"],"format":"uuid","type":"string","uniqueKey":"reversals.items.[INDEX].lines.items.[INDEX].original_journal_entry_id","typeLabel":"string\u003cuuid>"},"recovered_amount":{"description":"Amount actually recovered from value still traceable to the original award","examples":["27.13"],"type":"string","uniqueKey":"reversals.items.[INDEX].lines.items.[INDEX].recovered_amount","typeLabel":"string"},"requested_amount":{"description":"Amount this reversal asked to claw back from this line","examples":["27.13"],"type":"string","uniqueKey":"reversals.items.[INDEX].lines.items.[INDEX].requested_amount","typeLabel":"string"},"reversal_journal_entry_id":{"description":"REVERSAL journal entry that debited the recovered value; absent when nothing was recovered","examples":["657a0312-1aaa-4ba7-842b-edfbb39edf14"],"format":"uuid","type":"string","uniqueKey":"reversals.items.[INDEX].lines.items.[INDEX].reversal_journal_entry_id","typeLabel":"string\u003cuuid>"},"shortfall_amount":{"description":"Requested value that could not be recovered (spent, expired, transferred, or held)","examples":["0"],"type":"string","uniqueKey":"reversals.items.[INDEX].lines.items.[INDEX].shortfall_amount","typeLabel":"string"}},"type":"object","uniqueKey":"reversals.items.[INDEX].lines.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"reversals.items.[INDEX].lines","typeLabel":"object[]"},"reason":{"description":"Why the event was reversed, as sent with the request.","examples":["partial refund"],"type":"string","uniqueKey":"reversals.items.[INDEX].reason","typeLabel":"string"},"shortfall_policy":{"description":"What Scrip did with value it could not recover.","enum":["report"],"examples":["report"],"type":"string","uniqueKey":"reversals.items.[INDEX].shortfall_policy","typeLabel":"enum\u003cstring>"},"status":{"description":"The outcome of the reversal.","enum":["COMPLETED"],"examples":["COMPLETED"],"type":"string","uniqueKey":"reversals.items.[INDEX].status","typeLabel":"enum\u003cstring>"}},"type":"object","uniqueKey":"reversals.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"reversals","typeLabel":"object[]"},"rule_evaluations":{"description":"Recorded rule evaluations for this event (`SKIPPED_ERROR` and `SKIPPED_TIMEOUT` are omitted unless `include_skipped=true`; false conditions and rules after `stop_after_match` are not recorded).","items":{"description":"The outcome of one rule for one event, and why.","properties":{"created_at":{"description":"When the evaluation occurred","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"rule_evaluations.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"error_message":{"description":"Details of a failure or skip (e.g. budget usage and reset time for `PARTICIPANT_BUDGET_EXCEEDED`, or the conflicting key for `SHARED_STATE_CHANGED`).","examples":["condition evaluation failed"],"type":"string","uniqueKey":"rule_evaluations.items.[INDEX].error_message","typeLabel":"string"},"id":{"description":"Unique identifier for this evaluation record","examples":["b8d4f6a0-2c1e-4a73-9e5b-d7f9a1c3e517"],"format":"uuid","type":"string","uniqueKey":"rule_evaluations.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"reason":{"description":"Skip classification for `SKIPPED` evaluations (`OUTSIDE_TIME_WINDOW`, `BUDGET_EXCEEDED`, `PARTICIPANT_BUDGET_EXCEEDED`, or `SHARED_STATE_CHANGED`), or `REFERENCE_ALREADY_SETTLED` on a `SUCCESS` evaluation. Absent otherwise.","examples":["OUTSIDE_TIME_WINDOW"],"type":"string","uniqueKey":"rule_evaluations.items.[INDEX].reason","typeLabel":"string"},"rule_history_id":{"description":"Snapshot of the rule version that was active when this evaluation occurred","examples":["c2e6a8b4-4d70-4f19-8a3c-e5b7d9f1a318"],"format":"uuid","type":"string","uniqueKey":"rule_evaluations.items.[INDEX].rule_history_id","typeLabel":"string\u003cuuid>"},"rule_id":{"description":"Rule that was evaluated","examples":["c9f0f895-fb98-4b39-9f86-1e5a0d3e2b03"],"format":"uuid","type":"string","uniqueKey":"rule_evaluations.items.[INDEX].rule_id","typeLabel":"string\u003cuuid>"},"rule_name":{"description":"The name of the rule when it was evaluated.","examples":["Welcome Bonus"],"type":"string","uniqueKey":"rule_evaluations.items.[INDEX].rule_name","typeLabel":"string"},"rule_set_id":{"description":"Rule set that contained the rule when this evaluation occurred","examples":["d4735e3a-265e-4f16-b1a5-4c8e9d6f0a04"],"format":"uuid","type":"string","uniqueKey":"rule_evaluations.items.[INDEX].rule_set_id","typeLabel":"string\u003cuuid>"},"status":{"description":"The recorded result of the evaluation.","enum":["SUCCESS","FAILED","SKIPPED","SKIPPED_ERROR","SKIPPED_TIMEOUT"],"examples":["SUCCESS"],"type":"string","uniqueKey":"rule_evaluations.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"stopped_by_rule_id":{"description":"Earlier rule whose `stop_after_match` skipped this rule (present only in rule configuration simulations).","examples":["c9f0f895-fb98-4b39-9f86-1e5a0d3e2b03"],"format":"uuid","type":"string","uniqueKey":"rule_evaluations.items.[INDEX].stopped_by_rule_id","typeLabel":"string\u003cuuid>"}},"type":"object","uniqueKey":"rule_evaluations.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"rule_evaluations","typeLabel":"object[]"},"source":{"description":"Whether you sent the event or Scrip generated it.","enum":["EXTERNAL","SYSTEM","OPERATIONAL"],"examples":["EXTERNAL"],"type":"string","uniqueKey":"source","typeLabel":"enum\u003cstring>"},"status":{"description":"Where the event is in processing.","enum":["PENDING","PROCESSING","COMPLETED","FAILED"],"examples":["COMPLETED"],"type":"string","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"updated_at":{"description":"When this event was last updated","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Event details with rule executions","headers":{"X-RateLimit-Limit":{"description":"Request ceiling enforced by the API instance that served your request.","schema":{"examples":[1000],"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left before the instance that served your request returns 429.","schema":{"examples":[0],"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time in seconds when the instance that served your request has its full allowance again.","schema":{"examples":[1790000000],"type":"integer"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"},"a6e62a98-e212-4213-bdd6-a9002cf10fa6":{"content":{"application/json":{"examples":{"validation_error":{"title":"validation_error","summary":"One or more request fields are missing, malformed or not allowed; `fields` lists each one.","value":{"code":"validation_error","doc_url":"https://docs.scrip.dev/errors#validation_error","fields":[{"field":"event_id","message":"event_id is not valid.","reason":"invalid_format"}],"message":"event_id is not valid.","param":"event_id","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"invalid_request"}}},"schema":{"additionalProperties":false,"description":"The error body for a 400 response: the request itself is wrong.","properties":{"code":{"description":"The specific reason for the error. Branch on this value, not on message","examples":["validation_error"],"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"additionalProperties":true,"description":"Extra context for this code, documented per code on the errors page","type":"object","uniqueKey":"details","typeLabel":"object"},"doc_url":{"description":"A link to this code on the errors page","examples":["https://docs.scrip.dev/errors#validation_error"],"type":"string","uniqueKey":"doc_url","typeLabel":"string"},"fields":{"description":"Every failing field on a validation_error, reported in one pass","items":{"description":"One failing field: its JSON name, why it failed, and what to change.","properties":{"field":{"description":"The JSON name of the failing field, with dots for nested fields","type":"string","uniqueKey":"fields.items.[INDEX].field","typeLabel":"string"},"message":{"description":"What to change in this field","type":"string","uniqueKey":"fields.items.[INDEX].message","typeLabel":"string"},"reason":{"description":"Why the field failed: required, invalid_format, out_of_range, unknown_field, not_allowed or too_long","examples":["required"],"type":"string","uniqueKey":"fields.items.[INDEX].reason","typeLabel":"string"}},"type":"object","uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fields","typeLabel":"object[]"},"message":{"description":"What happened and what to do next, in one or two sentences","examples":["The request failed validation. Fix every field listed in fields."],"type":"string","uniqueKey":"message","typeLabel":"string"},"param":{"description":"The one request field at fault, when there is one","type":"string","uniqueKey":"param","typeLabel":"string"},"request_id":{"description":"The id of this request, the same req_ value as the X-Request-ID response header. Quote it when you contact support","examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string","uniqueKey":"request_id","typeLabel":"string"},"type":{"description":"The error family. It is one value per HTTP status","examples":["invalid_request"],"type":"string","uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Invalid ID format (code: validation_error)","headers":{"X-RateLimit-Limit":{"description":"Request ceiling enforced by the API instance that served your request.","schema":{"examples":[1000],"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left before the instance that served your request returns 429.","schema":{"examples":[0],"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time in seconds when the instance that served your request has its full allowance again.","schema":{"examples":[1790000000],"type":"integer"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"},"adf41184-5a7a-4b02-9286-b0ddc6d5b7ae":{"content":{"application/json":{"examples":{"authentication_required":{"title":"authentication_required","summary":"The request carried no API key or session token.","value":{"code":"authentication_required","doc_url":"https://docs.scrip.dev/errors#authentication_required","message":"The request carried no API key or session token.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"authentication"}},"invalid_api_key":{"title":"invalid_api_key","summary":"The API key in the `Authorization` header is unknown, revoked or needs rotation.","value":{"code":"invalid_api_key","doc_url":"https://docs.scrip.dev/errors#invalid_api_key","message":"The API key in the Authorization header is unknown, revoked or needs rotation.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"authentication"}}},"schema":{"description":"The error body for a 401 response: the API key is missing or not valid.","properties":{"code":{"description":"The specific reason for the error. Branch on this value, not on message","examples":["invalid_api_key"],"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"additionalProperties":true,"description":"Extra context for this code, documented per code on the errors page","type":"object","uniqueKey":"details","typeLabel":"object"},"doc_url":{"description":"A link to this code on the errors page","examples":["https://docs.scrip.dev/errors#invalid_api_key"],"type":"string","uniqueKey":"doc_url","typeLabel":"string"},"fields":{"description":"Every failing field on a validation_error, reported in one pass","items":{"description":"One failing field: its JSON name, why it failed, and what to change.","properties":{"field":{"description":"The JSON name of the failing field, with dots for nested fields","type":"string","uniqueKey":"fields.items.[INDEX].field","typeLabel":"string"},"message":{"description":"What to change in this field","type":"string","uniqueKey":"fields.items.[INDEX].message","typeLabel":"string"},"reason":{"description":"Why the field failed: required, invalid_format, out_of_range, unknown_field, not_allowed or too_long","examples":["required"],"type":"string","uniqueKey":"fields.items.[INDEX].reason","typeLabel":"string"}},"type":"object","uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fields","typeLabel":"object[]"},"message":{"description":"What happened and what to do next, in one or two sentences","examples":["The API key in the Authorization header is unknown, revoked or needs rotation."],"type":"string","uniqueKey":"message","typeLabel":"string"},"param":{"description":"The one request field at fault, when there is one","type":"string","uniqueKey":"param","typeLabel":"string"},"request_id":{"description":"The id of this request, the same req_ value as the X-Request-ID response header. Quote it when you contact support","examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string","uniqueKey":"request_id","typeLabel":"string"},"type":{"description":"The error family. It is one value per HTTP status","examples":["authentication"],"type":"string","uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"The API key is missing or not valid. See [Authentication](https://docs.scrip.dev/authentication).","headers":{"WWW-Authenticate":{"description":"The authentication challenge: `Bearer realm=\"scrip\"`. Send your API key as a bearer token.","schema":{"examples":["Bearer realm=\"scrip\""],"type":"string"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"},"8a0c7f03-f7e0-4d1b-a660-f310c9cc06b7":{"content":{"application/json":{"examples":{"event_not_found":{"title":"event_not_found","summary":"No event with that id exists in your organization.","value":{"code":"event_not_found","doc_url":"https://docs.scrip.dev/errors#event_not_found","message":"No event with that id exists in your organization.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"not_found"}}},"schema":{"description":"The error body for a 404 response: the resource does not exist in your organization.","properties":{"code":{"description":"The specific reason for the error. Branch on this value, not on message","examples":["participant_not_found"],"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"additionalProperties":true,"description":"Extra context for this code, documented per code on the errors page","type":"object","uniqueKey":"details","typeLabel":"object"},"doc_url":{"description":"A link to this code on the errors page","examples":["https://docs.scrip.dev/errors#participant_not_found"],"type":"string","uniqueKey":"doc_url","typeLabel":"string"},"fields":{"description":"Every failing field on a validation_error, reported in one pass","items":{"description":"One failing field: its JSON name, why it failed, and what to change.","properties":{"field":{"description":"The JSON name of the failing field, with dots for nested fields","type":"string","uniqueKey":"fields.items.[INDEX].field","typeLabel":"string"},"message":{"description":"What to change in this field","type":"string","uniqueKey":"fields.items.[INDEX].message","typeLabel":"string"},"reason":{"description":"Why the field failed: required, invalid_format, out_of_range, unknown_field, not_allowed or too_long","examples":["required"],"type":"string","uniqueKey":"fields.items.[INDEX].reason","typeLabel":"string"}},"type":"object","uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fields","typeLabel":"object[]"},"message":{"description":"What happened and what to do next, in one or two sentences","examples":["The participant was not found."],"type":"string","uniqueKey":"message","typeLabel":"string"},"param":{"description":"The one request field at fault, when there is one","type":"string","uniqueKey":"param","typeLabel":"string"},"request_id":{"description":"The id of this request, the same req_ value as the X-Request-ID response header. Quote it when you contact support","examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string","uniqueKey":"request_id","typeLabel":"string"},"type":{"description":"The error family. It is one value per HTTP status","examples":["not_found"],"type":"string","uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Resource not found (code: event_not_found)","headers":{"X-RateLimit-Limit":{"description":"Request ceiling enforced by the API instance that served your request.","schema":{"examples":[1000],"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left before the instance that served your request returns 429.","schema":{"examples":[0],"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time in seconds when the instance that served your request has its full allowance again.","schema":{"examples":[1790000000],"type":"integer"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"},"f97c0266-9098-4ce6-844c-45e1004fed44":{"content":{"application/json":{"examples":{"rate_limit_exceeded":{"title":"rate_limit_exceeded","summary":"Your organization sent more requests than the rate limit allows.","value":{"code":"rate_limit_exceeded","doc_url":"https://docs.scrip.dev/errors#rate_limit_exceeded","message":"Your organization sent more requests than the rate limit allows.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"rate_limited"}}},"schema":{"additionalProperties":false,"description":"The error body for a 429 response: you sent more requests than the rate limit allows.","properties":{"code":{"description":"The specific reason for the error. Branch on this value, not on message","examples":["rate_limit_exceeded"],"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"additionalProperties":true,"description":"Extra context for this code, documented per code on the errors page","type":"object","uniqueKey":"details","typeLabel":"object"},"doc_url":{"description":"A link to this code on the errors page","examples":["https://docs.scrip.dev/errors#rate_limit_exceeded"],"type":"string","uniqueKey":"doc_url","typeLabel":"string"},"fields":{"description":"Every failing field on a validation_error, reported in one pass","items":{"description":"One failing field: its JSON name, why it failed, and what to change.","properties":{"field":{"description":"The JSON name of the failing field, with dots for nested fields","type":"string","uniqueKey":"fields.items.[INDEX].field","typeLabel":"string"},"message":{"description":"What to change in this field","type":"string","uniqueKey":"fields.items.[INDEX].message","typeLabel":"string"},"reason":{"description":"Why the field failed: required, invalid_format, out_of_range, unknown_field, not_allowed or too_long","examples":["required"],"type":"string","uniqueKey":"fields.items.[INDEX].reason","typeLabel":"string"}},"type":"object","uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fields","typeLabel":"object[]"},"message":{"description":"What happened and what to do next, in one or two sentences","examples":["Rate limit exceeded. Wait for the Retry-After delay, then retry."],"type":"string","uniqueKey":"message","typeLabel":"string"},"param":{"description":"The one request field at fault, when there is one","type":"string","uniqueKey":"param","typeLabel":"string"},"request_id":{"description":"The id of this request, the same req_ value as the X-Request-ID response header. Quote it when you contact support","examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string","uniqueKey":"request_id","typeLabel":"string"},"type":{"description":"The error family. It is one value per HTTP status","examples":["rate_limited"],"type":"string","uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Too many requests. Wait the number of seconds in the `Retry-After` header, then retry. See [Limits and durations](https://docs.scrip.dev/limits#rate-limits).","headers":{"Retry-After":{"description":"Seconds to wait before you retry, rounded up to a whole second.","schema":{"examples":[1],"type":"integer"}},"X-RateLimit-Limit":{"description":"Request ceiling enforced by the API instance that served your request.","schema":{"examples":[1000],"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left before the instance that served your request returns 429.","schema":{"examples":[0],"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time in seconds when the instance that served your request has its full allowance again.","schema":{"examples":[1790000000],"type":"integer"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"},"fac5209b-0638-4b8f-be6c-814c88e8bcd8":{"content":{"application/json":{"examples":{"internal_error":{"title":"internal_error","summary":"Scrip hit an unexpected error while handling the request.","value":{"code":"internal_error","doc_url":"https://docs.scrip.dev/errors#internal_error","message":"Scrip hit an unexpected error while handling the request.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"internal"}}},"schema":{"description":"The error body for a 500 response: something failed on Scrip's side. Quote the `request_id` when you contact support.","properties":{"code":{"description":"The specific reason for the error. Branch on this value, not on message","examples":["internal_error"],"type":"string","uniqueKey":"code","typeLabel":"string"},"doc_url":{"description":"A link to this code on the errors page","examples":["https://docs.scrip.dev/errors#internal_error"],"type":"string","uniqueKey":"doc_url","typeLabel":"string"},"message":{"description":"What happened and what to do next, in one or two sentences","examples":["An internal error occurred. Retry the request; if it keeps failing, contact support with the request_id."],"type":"string","uniqueKey":"message","typeLabel":"string"},"request_id":{"description":"The id of this request, the same req_ value as the X-Request-ID response header. Quote it when you contact support","examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string","uniqueKey":"request_id","typeLabel":"string"},"type":{"description":"The error family. It is one value per HTTP status","examples":["internal"],"type":"string","uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Something failed on Scrip's side. Retry the request, and quote `request_id` if it keeps failing. [Errors](https://docs.scrip.dev/errors) lists every code, and the [API introduction](https://docs.scrip.dev/api-reference/introduction) describes the error format.","headers":{"X-RateLimit-Limit":{"description":"Request ceiling enforced by the API instance that served your request.","schema":{"examples":[1000],"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left before the instance that served your request returns 429.","schema":{"examples":[0],"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time in seconds when the instance that served your request has its full allowance again.","schema":{"examples":[1790000000],"type":"integer"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"}},"security":{"94a2d372-b188-4adf-8aed-cf2ead0d2f6b":{"BearerAuth":{"description":"Send your API key as `Authorization: Bearer \u003ckey>`.","scheme":"bearer","type":"http","x-default":"sk_...","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"121dbe0f-d156-4944-97e6-6130832ce07d":{"description":"Production","url":"https://api.scrip.dev"},"507f9d07-4c8d-4877-8525-1f10e203f59b":{"description":"Sandbox","url":"https://api-sandbox.scrip.dev"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"Send your API key as `Authorization: Bearer \u003ckey>`.","scheme":"bearer","type":"http","x-default":"sk_...","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Send your API key as `Authorization: Bearer \u003ckey>`.","format":"bearer","default":"sk_...","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"scrip","siteName":"Scrip Docs","title":"Get an event - Scrip Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-29T03:50:19.270Z","originalFileLocation":"api-reference/events/get-an-event.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve a single event by ID, including processing status and rule evaluation results.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Scrip Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get an event - Scrip Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve a single event by ID, including processing status and rule evaluation results.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Scrip Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.scrip.dev/api-reference/events/get-an-event\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://scrip.mintlify.site/_mintlify/api/og/v2?division=Events\u0026amp;title=Get+an+event\u0026amp;description=Retrieve+a+single+event+by+ID%2C+including+processing+status+and+rule+evaluation+results.\u0026amp;theme=e6fcc7a0ae01d31eb0ec9668\u0026amp;signature=4f72e3ec1c72ef63dd6171aebc94ac93bdae7bf6047599c0a2ebd4ac75e86086\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get an event - Scrip Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve a single event by ID, including processing status and rule evaluation results.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://scrip.mintlify.site/_mintlify/api/og/v2?division=Events\u0026amp;title=Get+an+event\u0026amp;description=Retrieve+a+single+event+by+ID%2C+including+processing+status+and+rule+evaluation+results.\u0026amp;theme=e6fcc7a0ae01d31eb0ec9668\u0026amp;signature=4f72e3ec1c72ef63dd6171aebc94ac93bdae7bf6047599c0a2ebd4ac75e86086\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Scrip Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF4F0C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.scrip.dev/api-reference/events/get-an-event\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/events/get-an-event.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.scrip.dev/#organization\",\"name\":\"Scrip Docs\",\"url\":\"https://docs.scrip.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/scrip/T3s-FRIg6XhFktLB/logo/scrip-logo-light.svg?fit=max\u0026auto=format\u0026n=T3s-FRIg6XhFktLB\u0026q=85\u0026s=b63bc2ffbb52895c7ca415bc1c30e9c6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.scrip.dev#website\",\"name\":\"Scrip Docs\",\"url\":\"https://docs.scrip.dev\",\"publisher\":{\"@id\":\"https://docs.scrip.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.scrip.dev/api-reference/events/get-an-event#webpage\",\"url\":\"https://docs.scrip.dev/api-reference/events/get-an-event\",\"name\":\"Get an event\",\"description\":\"Retrieve a single event by ID, including processing status and rule evaluation results.\",\"dateModified\":\"2026-10-29T03:50:19.270Z\",\"isPartOf\":{\"@id\":\"https://docs.scrip.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.scrip.dev/api-reference/events/get-an-event#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.scrip.dev/api-reference/events/get-an-event#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.scrip.dev/api-reference/programs/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Events\",\"item\":\"https://docs.scrip.dev/api-reference/events/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get an event\",\"item\":\"https://docs.scrip.dev/api-reference/events/get-an-event\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.scrip.dev/api-reference/events/get-an-event#apireference\",\"headline\":\"Get an event\",\"name\":\"Get an event\",\"description\":\"Retrieve a single event by ID, including processing status and rule evaluation results.\",\"url\":\"https://docs.scrip.dev/api-reference/events/get-an-event\",\"mainEntityOfPage\":{\"@id\":\"https://docs.scrip.dev/api-reference/events/get-an-event#webpage\"},\"dateModified\":\"2026-10-29T03:50:19.270Z\",\"publisher\":{\"@id\":\"https://docs.scrip.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.scrip.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Scrip Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Scrip Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/events/get-an-event.md","siteName":"Scrip Docs","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/examples/common-patterns"}]},{"tab":"API Reference","groups":[{"group":"Scrip API","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Data model","href":"/api-reference/data-model"}]},{"group":"Endpoints","pages":[{"group":"Programs","expanded":false,"pages":[{"title":"Programs","sidebarTitle":"Overview","href":"/api-reference/programs/overview"},{"title":"List programs","openapi":"GET /v1/programs","href":"/api-reference/programs/list-programs"},{"title":"Create a program","openapi":"POST /v1/programs","href":"/api-reference/programs/create-a-program"},{"title":"Get a program","openapi":"GET /v1/programs/{program_id}","href":"/api-reference/programs/get-a-program"},{"title":"Update a program","openapi":"PATCH /v1/programs/{program_id}","href":"/api-reference/programs/update-a-program"},{"group":"Linked assets","expanded":false,"pages":[{"title":"List program assets","openapi":"GET /v1/programs/{program_id}/assets","href":"/api-reference/programs/list-program-assets"},{"title":"Link asset to program","openapi":"POST /v1/programs/{program_id}/assets","href":"/api-reference/programs/link-asset-to-program"}]},{"group":"Wallet","expanded":false,"pages":[{"title":"Get program balances","openapi":"GET /v1/programs/{program_id}/balances","href":"/api-reference/programs/get-program-balance"},{"title":"Fund a program","openapi":"POST /v1/programs/{program_id}/balances/fund","href":"/api-reference/programs/fund-a-program"},{"title":"Burn program balance","openapi":"POST /v1/programs/{program_id}/assets/{asset_id}/burn","href":"/api-reference/programs/burn-program-balance"},{"title":"Get program wallet transaction history","openapi":"GET /v1/programs/{program_id}/history","href":"/api-reference/programs/get-program-wallet-transaction-history"},{"title":"Get program statement","openapi":"GET /v1/programs/{program_id}/statement","href":"/api-reference/programs/get-program-statement"}]}]},{"group":"Folders","expanded":false,"pages":[{"title":"Folders","sidebarTitle":"Overview","href":"/api-reference/folders/overview"},{"title":"List folders","openapi":"GET /v1/folders","href":"/api-reference/folders/list-folders"},{"title":"Create a folder","openapi":"POST /v1/folders","href":"/api-reference/folders/create-a-folder"},{"title":"Get a folder","openapi":"GET /v1/folders/{folder_id}","href":"/api-reference/folders/get-a-folder"},{"title":"Update a folder","openapi":"PATCH /v1/folders/{folder_id}","href":"/api-reference/folders/update-a-folder"}]},{"group":"Assets","expanded":false,"pages":[{"title":"Assets","sidebarTitle":"Overview","href":"/api-reference/assets/overview"},{"title":"List assets","openapi":"GET /v1/assets","href":"/api-reference/assets/list-assets"},{"title":"Create an asset","openapi":"POST /v1/assets","href":"/api-reference/assets/create-an-asset"},{"title":"Get an asset","openapi":"GET /v1/assets/{asset_id}","href":"/api-reference/assets/get-an-asset"},{"title":"Update an asset","openapi":"PATCH /v1/assets/{asset_id}","href":"/api-reference/assets/update-an-asset"}]},{"group":"Participants","expanded":false,"pages":[{"title":"Participants","sidebarTitle":"Overview","href":"/api-reference/participants/overview"},{"title":"List participants","openapi":"GET /v1/participants","href":"/api-reference/participants/list-or-get-participants"},{"title":"Create a participant","openapi":"POST /v1/participants","href":"/api-reference/participants/create-a-participant"},{"title":"Get a participant","openapi":"GET /v1/participants/{participant_id}","href":"/api-reference/participants/get-a-participant-by-internal-id"},{"title":"Update a participant","openapi":"PATCH /v1/participants/{participant_id}","href":"/api-reference/participants/update-a-participant"},{"group":"Balances","expanded":false,"pages":[{"title":"Get participant balances","openapi":"GET /v1/participants/{participant_id}/balances","href":"/api-reference/participants/get-participant-balances"},{"title":"Apply a balance operation","openapi":"POST /v1/participants/{participant_id}/balances/operations","href":"/api-reference/participants/apply-a-balance-operation-to-a-participant"},{"title":"List participant lots","openapi":"GET /v1/participants/{participant_id}/balances/lots","href":"/api-reference/participants/list-participant-lots"}]},{"group":"Activity","expanded":false,"pages":[{"title":"Get participant transaction history","openapi":"GET /v1/participants/{participant_id}/activity/history","href":"/api-reference/participants/get-participant-transaction-history"},{"title":"Get participant statement","openapi":"GET /v1/participants/{participant_id}/statement","href":"/api-reference/participants/get-participant-statement"},{"title":"List participant events","openapi":"GET /v1/participants/{participant_id}/activity/events","href":"/api-reference/participants/list-participant-events"},{"title":"Get participant state history","openapi":"GET /v1/participants/{participant_id}/activity/state-history","href":"/api-reference/participants/get-participant-state-history"}]}]},{"group":"Groups","expanded":false,"pages":[{"title":"Groups","sidebarTitle":"Overview","href":"/api-reference/groups/overview"},{"title":"List groups","openapi":"GET /v1/groups","href":"/api-reference/groups/list-groups"},{"title":"Create a group","openapi":"POST /v1/groups","href":"/api-reference/groups/create-a-group"},{"title":"Get a group","openapi":"GET /v1/groups/{group_id}","href":"/api-reference/groups/get-a-group"},{"title":"Update a group","openapi":"PATCH /v1/groups/{group_id}","href":"/api-reference/groups/update-a-group"},{"group":"Members","expanded":false,"pages":[{"title":"List group members","openapi":"GET /v1/groups/{group_id}/members","href":"/api-reference/groups/list-group-members"},{"title":"Add a member to a group","openapi":"POST /v1/groups/{group_id}/members","href":"/api-reference/groups/add-a-member-to-a-group"},{"title":"Remove a member from a group","openapi":"DELETE /v1/groups/{group_id}/members/{participant_id}","href":"/api-reference/groups/remove-a-member-from-a-group"},{"title":"Update group member role","openapi":"PATCH /v1/groups/{group_id}/members/{participant_id}","href":"/api-reference/groups/update-group-member-role"}]},{"group":"Balances","expanded":false,"pages":[{"title":"Get group balances","openapi":"GET /v1/groups/{group_id}/balances","href":"/api-reference/groups/get-group-balances"},{"title":"Apply a group balance operation","openapi":"POST /v1/groups/{group_id}/balances/operations","href":"/api-reference/groups/apply-a-balance-operation-to-a-group"},{"title":"List group lots","openapi":"GET /v1/groups/{group_id}/balances/lots","href":"/api-reference/groups/list-group-lots"}]},{"group":"Activity","expanded":false,"pages":[{"title":"Get group statement","openapi":"GET /v1/groups/{group_id}/statement","href":"/api-reference/groups/get-group-statement"},{"title":"Get group state history","openapi":"GET /v1/groups/{group_id}/activity/state-history","href":"/api-reference/groups/get-group-state-history"}]}]},{"group":"State definitions","expanded":false,"pages":[{"title":"State definitions","sidebarTitle":"Overview","href":"/api-reference/state-definitions/overview"},{"title":"List counter and tag definitions","openapi":"GET /v1/state-definitions","href":"/api-reference/rules/list-state-definitions"},{"title":"Set a counter or tag's display fields","openapi":"PUT /v1/state-definitions/{scope}/{kind}/{key}","href":"/api-reference/rules/set-state-definition-display-fields"}]},{"group":"Rules","expanded":false,"pages":[{"title":"Rules","sidebarTitle":"Overview","href":"/api-reference/rules/overview"},{"group":"Individual rules","expanded":false,"pages":[{"title":"List rules","openapi":"GET /v1/rules","href":"/api-reference/rules/list-rules"},{"title":"Create a rule","openapi":"POST /v1/rules","href":"/api-reference/rules/create-a-rule"},{"title":"Get a rule","openapi":"GET /v1/rules/{rule_id}","href":"/api-reference/rules/get-a-rule"},{"title":"Update a rule","openapi":"PATCH /v1/rules/{rule_id}","href":"/api-reference/rules/update-a-rule"},{"title":"Move a rule","openapi":"POST /v1/rules/{rule_id}/move","href":"/api-reference/rules/move-a-rule"},{"title":"Validate a CEL condition","openapi":"POST /v1/rules/validate","href":"/api-reference/rules/validate-a-cel-condition"},{"title":"Simulate a rule","openapi":"POST /v1/rules/{rule_id}/simulate","href":"/api-reference/rules/simulate-a-rule"},{"title":"Simulate a draft rule","openapi":"POST /v1/rules/simulate","href":"/api-reference/rules/simulate-a-draft-rule"}]},{"group":"Rule sets","expanded":false,"pages":[{"title":"Rule sets","sidebarTitle":"Overview","href":"/api-reference/rule-sets/overview"},{"title":"List rule sets","openapi":"GET /v1/programs/{program_id}/rule-sets","href":"/api-reference/rule-sets/list-rule-sets"},{"title":"Create a rule set","openapi":"POST /v1/programs/{program_id}/rule-sets","href":"/api-reference/rule-sets/create-a-rule-set"},{"title":"Get a rule set","openapi":"GET /v1/programs/{program_id}/rule-sets/{rule_set_id}","href":"/api-reference/rule-sets/get-a-rule-set"},{"title":"Update a rule set","openapi":"PATCH /v1/programs/{program_id}/rule-sets/{rule_set_id}","href":"/api-reference/rule-sets/update-a-rule-set"},{"title":"Reorder all rule sets","openapi":"PUT /v1/programs/{program_id}/rule-sets/order","href":"/api-reference/rules/reorder-rule-sets"},{"title":"Move a rule set","openapi":"POST /v1/programs/{program_id}/rule-sets/{rule_set_id}/move","href":"/api-reference/rules/move-a-rule-set"},{"title":"Reorder rules in a rule set","openapi":"PUT /v1/programs/{program_id}/rule-sets/{rule_set_id}/rules/order","href":"/api-reference/rules/reorder-rules-in-a-rule-set"}]},{"group":"Rule configuration","expanded":false,"pages":[{"title":"Get rule configuration","openapi":"GET /v1/programs/{program_id}/rule-configuration","href":"/api-reference/rules/get-rule-configuration"},{"title":"Analyze a rule configuration","openapi":"POST /v1/programs/{program_id}/rule-configuration/analysis","href":"/api-reference/rules/analyze-rule-configuration"},{"title":"Preview a rule-configuration change set","openapi":"POST /v1/programs/{program_id}/rule-configuration/preview","href":"/api-reference/rules/preview-rule-configuration"},{"title":"Apply a rule-configuration change set","openapi":"POST /v1/programs/{program_id}/rule-configuration/apply","href":"/api-reference/rules/apply-rule-configuration"},{"title":"List rule-configuration revisions","openapi":"GET /v1/programs/{program_id}/rule-configuration/revisions","href":"/api-reference/rules/list-rule-configuration-revisions"},{"title":"Get a rule-configuration revision","openapi":"GET /v1/programs/{program_id}/rule-configuration/revisions/{version}","href":"/api-reference/rules/get-rule-configuration-revision"},{"title":"Preview a rule-configuration rollback","openapi":"POST /v1/programs/{program_id}/rule-configuration/revisions/{version}/rollback/preview","href":"/api-reference/rules/preview-rule-configuration-rollback"}]}]},{"group":"Events","expanded":false,"pages":[{"title":"Events","sidebarTitle":"Overview","href":"/api-reference/events/overview"},{"title":"List events","openapi":"GET /v1/events","href":"/api-reference/events/list-events"},{"title":"Ingest an event","openapi":"POST /v1/events","href":"/api-reference/events/ingest-an-event"},{"title":"Ingest events in batch","openapi":"POST /v1/events/batch","description":"Submit up to 100 events in a single request for asynchronous rule evaluation.","href":"/api-reference/events/ingest-events-in-batch"},{"title":"Get an event","openapi":"GET /v1/events/{event_id}","href":"/api-reference/events/get-an-event"},{"title":"Get event impact","openapi":"GET /v1/events/{event_id}/impact","description":"Retrieve the rule evaluations, ledger entries, state changes, and balance impact for an event.","href":"/api-reference/events/get-event-impact"},{"title":"Retry failed events","openapi":"POST /v1/events/retry","href":"/api-reference/events/retry-failed-events"},{"title":"Reverse an event's awards","openapi":"POST /v1/events/{event_id}/reverse","href":"/api-reference/events/reverse-an-event"}]},{"group":"Tiers","expanded":false,"pages":[{"title":"Tiers","sidebarTitle":"Overview","href":"/api-reference/tiers/overview"},{"group":"Tier definitions","expanded":false,"pages":[{"title":"List tiers","openapi":"GET /v1/programs/{program_id}/tiers","href":"/api-reference/tiers/list-tiers"},{"title":"Create a tier","openapi":"POST /v1/programs/{program_id}/tiers","href":"/api-reference/tiers/create-a-tier"},{"title":"Get a tier","openapi":"GET /v1/programs/{program_id}/tiers/{tier_key}","href":"/api-reference/tiers/get-a-tier"},{"title":"Update a tier","openapi":"PATCH /v1/programs/{program_id}/tiers/{tier_key}","href":"/api-reference/tiers/update-a-tier"}]},{"group":"Participant tiers","expanded":false,"pages":[{"title":"List participant tiers","openapi":"GET /v1/participants/{participant_id}/state/tiers","href":"/api-reference/tiers/list-participant-tiers"},{"title":"Get participant tier","openapi":"GET /v1/participants/{participant_id}/state/tiers/{tier_key}","href":"/api-reference/tiers/get-participant-tier"},{"title":"Set participant tier","openapi":"PUT /v1/participants/{participant_id}/state/tiers/{tier_key}","href":"/api-reference/tiers/set-participant-tier"},{"title":"Remove participant tier","openapi":"DELETE /v1/participants/{participant_id}/state/tiers/{tier_key}","href":"/api-reference/tiers/remove-participant-tier"}]}]},{"group":"Rewards","expanded":false,"pages":[{"title":"Rewards","sidebarTitle":"Overview","href":"/api-reference/rewards/overview"},{"title":"List rewards","openapi":"GET /v1/programs/{program_id}/rewards","href":"/api-reference/rewards/list-rewards"},{"title":"Create a reward","openapi":"POST /v1/programs/{program_id}/rewards","href":"/api-reference/rewards/create-a-reward"},{"title":"Get a reward","openapi":"GET /v1/programs/{program_id}/rewards/{reward_id}","href":"/api-reference/rewards/get-reward"},{"title":"Update a reward","openapi":"PATCH /v1/programs/{program_id}/rewards/{reward_id}","href":"/api-reference/rewards/update-a-reward"},{"title":"List reward redemptions","openapi":"GET /v1/programs/{program_id}/rewards/{reward_id}/redemptions","href":"/api-reference/rewards/list-reward-redemptions"}]},{"group":"Redemptions","expanded":false,"pages":[{"title":"Redemptions","sidebarTitle":"Overview","href":"/api-reference/redemptions/overview"},{"title":"Redeem an amount","openapi":"POST /v1/participants/{participant_id}/redemptions","href":"/api-reference/redemptions/redeem-points-assets"},{"title":"Redeem a catalog item","openapi":"POST /v1/participants/{participant_id}/redemptions/items","href":"/api-reference/redemptions/redeem-a-catalog-item"},{"title":"List participant redemptions","openapi":"GET /v1/participants/{participant_id}/redemptions","href":"/api-reference/redemptions/list-participant-redemptions"},{"title":"Get a redemption","openapi":"GET /v1/redemptions/{redemption_id}","href":"/api-reference/redemptions/get-redemption"},{"title":"Create a claim link","openapi":"POST /v1/redemptions/{redemption_id}/claim-link","href":"/api-reference/redemptions/create-a-claim-link"},{"title":"Complete a pending redemption","openapi":"POST /v1/redemptions/{redemption_id}/complete","href":"/api-reference/redemptions/complete-a-pending-redemption"},{"title":"Fail a pending redemption","openapi":"POST /v1/redemptions/{redemption_id}/fail","href":"/api-reference/redemptions/fail-a-pending-redemption"},{"title":"Cancel a pending redemption","openapi":"POST /v1/redemptions/{redemption_id}/cancel","href":"/api-reference/redemptions/cancel-a-redemption"},{"title":"Reverse a redemption","openapi":"POST /v1/redemptions/{redemption_id}/reverse","href":"/api-reference/redemptions/reverse-a-redemption"}]},{"group":"Gift cards","expanded":false,"pages":[{"title":"Gift cards","sidebarTitle":"Overview","href":"/api-reference/gift-cards/overview"},{"group":"Fulfillment accounts","expanded":false,"pages":[{"title":"List fulfillment accounts","openapi":"GET /v1/fulfillment-accounts","href":"/api-reference/gift-cards/list-fulfillment-accounts"},{"title":"Get a fulfillment account","openapi":"GET /v1/fulfillment-accounts/{fulfillment_account_id}","href":"/api-reference/gift-cards/get-a-fulfillment-account"},{"title":"List fulfillment products","openapi":"GET /v1/fulfillment-accounts/{fulfillment_account_id}/products","href":"/api-reference/gift-cards/list-products"}]},{"group":"Reward sources","expanded":false,"pages":[{"title":"List reward sources","openapi":"GET /v1/programs/{program_id}/reward-sources","href":"/api-reference/gift-cards/list-reward-sources"},{"title":"Create a reward source","openapi":"POST /v1/programs/{program_id}/reward-sources","href":"/api-reference/gift-cards/create-a-reward-source"},{"title":"Get a reward source","openapi":"GET /v1/programs/{program_id}/reward-sources/{reward_source_id}","href":"/api-reference/gift-cards/get-a-reward-source"},{"title":"Update a reward source","openapi":"PATCH /v1/programs/{program_id}/reward-sources/{reward_source_id}","href":"/api-reference/gift-cards/update-a-reward-source"}]},{"group":"Product settings","expanded":false,"pages":[{"title":"List product settings","openapi":"GET /v1/programs/{program_id}/reward-sources/{reward_source_id}/product-settings","href":"/api-reference/gift-cards/list-product-settings"},{"title":"Set product settings","openapi":"PUT /v1/programs/{program_id}/reward-sources/{reward_source_id}/product-settings/{product_id}","href":"/api-reference/gift-cards/set-product-settings"},{"title":"Clear product settings","openapi":"DELETE /v1/programs/{program_id}/reward-sources/{reward_source_id}/product-settings/{product_id}","href":"/api-reference/gift-cards/clear-product-settings"}]}]},{"group":"Transfers","expanded":false,"pages":[{"title":"Transfers","sidebarTitle":"Overview","href":"/api-reference/transfers/overview"},{"title":"Create a transfer","openapi":"POST /v1/transfers","href":"/api-reference/transfers/create-a-transfer"}]},{"group":"Automations","expanded":false,"pages":[{"title":"Automations","sidebarTitle":"Overview","href":"/api-reference/automations/overview"},{"title":"List automations","openapi":"GET /v1/programs/{program_id}/automations","href":"/api-reference/automations/list-automations"},{"title":"Create an automation","openapi":"POST /v1/programs/{program_id}/automations","href":"/api-reference/automations/create-an-automation"},{"title":"Get an automation","openapi":"GET /v1/programs/{program_id}/automations/{automation_id}","href":"/api-reference/automations/get-an-automation"},{"title":"Update an automation","openapi":"PATCH /v1/programs/{program_id}/automations/{automation_id}","href":"/api-reference/automations/update-an-automation"},{"title":"Cancel an automation","openapi":"POST /v1/programs/{program_id}/automations/{automation_id}/cancel","href":"/api-reference/automations/cancel-an-automation"},{"title":"List automation subscriptions","openapi":"GET /v1/programs/{program_id}/automations/{automation_id}/subscriptions","href":"/api-reference/automations/list-automation-subscriptions"}]},{"group":"Reporting","expanded":false,"pages":[{"title":"Reporting","sidebarTitle":"Overview","href":"/api-reference/reporting/overview"},{"title":"Get liability report","openapi":"GET /v1/reports/liability","href":"/api-reference/reporting/get-liability-report"},{"title":"Get liability rollforward","openapi":"GET /v1/reports/liability-rollforward","href":"/api-reference/reporting/get-liability-rollforward"},{"title":"Get redemption attribution","openapi":"GET /v1/reports/redemption-attribution","href":"/api-reference/reporting/get-redemption-attribution"},{"title":"Get expiration schedule","openapi":"GET /v1/reports/expiration-schedule","href":"/api-reference/reporting/get-expiration-schedule"},{"title":"Get ledger summary","openapi":"GET /v1/reports/ledger-summary","href":"/api-reference/reporting/get-ledger-summary"},{"title":"Get program activity","openapi":"GET /v1/reports/program-activity","href":"/api-reference/reporting/get-program-activity"},{"title":"Get fulfillment cost report","openapi":"GET /v1/reports/fulfillment-cost","href":"/api-reference/reporting/get-fulfillment-cost-report"},{"title":"List failure causes","openapi":"GET /v1/reports/failure-causes","href":"/api-reference/reporting/list-failure-causes"},{"group":"Journal entries","expanded":false,"pages":[{"title":"List journal entries","openapi":"GET /v1/journal-entries","href":"/api-reference/reporting/list-journal-entries"},{"title":"Get a journal entry","openapi":"GET /v1/journal-entries/{journal_entry_id}","href":"/api-reference/reporting/get-a-journal-entry"}]}]},{"group":"Webhooks","expanded":false,"pages":[{"title":"Webhooks","sidebarTitle":"Overview","href":"/api-reference/webhooks/overview"},{"title":"Event payloads","sidebarTitle":"Event payloads","href":"/api-reference/webhooks/event-payloads"},{"title":"List webhook event types","openapi":"GET /v1/webhook-event-types","href":"/api-reference/webhooks/list-webhook-event-types"},{"group":"Endpoints","expanded":false,"pages":[{"title":"List webhook endpoints","openapi":"GET /v1/webhook-endpoints","href":"/api-reference/webhooks/list-webhook-endpoints"},{"title":"Create a webhook endpoint","openapi":"POST /v1/webhook-endpoints","href":"/api-reference/webhooks/create-a-webhook-endpoint"},{"title":"Get a webhook endpoint","openapi":"GET /v1/webhook-endpoints/{webhook_endpoint_id}","href":"/api-reference/webhooks/get-a-webhook-endpoint"},{"title":"Update a webhook endpoint","openapi":"PATCH /v1/webhook-endpoints/{webhook_endpoint_id}","href":"/api-reference/webhooks/update-a-webhook-endpoint"},{"title":"Rotate endpoint secret","openapi":"POST /v1/webhook-endpoints/{webhook_endpoint_id}/rotate-secret","href":"/api-reference/webhooks/rotate-webhook-endpoint-secret"},{"title":"Send a test webhook","openapi":"POST /v1/webhook-endpoints/{webhook_endpoint_id}/test","href":"/api-reference/webhooks/send-a-test-webhook"}]},{"group":"Deliveries","expanded":false,"pages":[{"title":"List deliveries","openapi":"GET /v1/webhook-endpoints/{webhook_endpoint_id}/deliveries","href":"/api-reference/webhooks/list-webhook-deliveries"},{"title":"Get a delivery","openapi":"GET /v1/webhook-deliveries/{delivery_id}","href":"/api-reference/webhooks/get-a-webhook-delivery"},{"title":"Resend a delivery","openapi":"POST /v1/webhook-deliveries/{delivery_id}/resend","href":"/api-reference/webhooks/resend-a-webhook-delivery"}]}]}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]}]},"basePath":"","title":"Get an event - Scrip Docs","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-x4vGgoST.js","snippetPresets-BGlsYH49.js","utils-D225GpYB.js","style-to-object-BY3JEAdk.js","utils-fb7dxv-3.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-D0sNzoEe.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C4iMfrOs.js","_Uint8Array-DDor1j2p.js","isObject-FP1Yky1u.js","ApiExamples-Bw_TWYoP.js","usePlaygroundInputsStore-DLRpNM_Z.js","shallow-DCZ_mvT2.js","isEqual-BZMHHGz2.js","CodeSnippets-CqYNT6UN.js","CodeSnippet-AsYrl7_f.js","getApiPlaygroundDisplay-B1HdZsAn.js","Page-COAeG2by.js","DynamicMarkdown-Bg54PExR.js","SectionHeading-BVOfbSTS.js","icon-Bwg0LftJ.js","MethodPill-ETXe5J4U.js","getPastedJson-6m1DH7UM.js","Check2Icon-Bz4v4IkN.js","axios-CsQoIw0U.js","Markdown-CYkmN8yk.js","AssistantPageLink-BZUrxqjy.js","dist-C-58LlaB.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}