# Foundation Event Replay API

**Canonical:** https://apis.io/apis/acres-manufacturing/foundation-event-replay-api/  
**Provider:** Acres Manufacturing — https://apis.io/providers/acres-manufacturing/  
**Base URL:** wss://{property}.kailabor.com/nex7/sas-reader/ws  
**Documentation:** https://github.com/acres4/foundation-documentation/blob/master/apis/event/1.4/usage.md

Foundation Event Replay API is one of 2 APIs that [Acres Manufacturing](https://apis.io/providers/acres-manufacturing/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include Casino Gaming, Event Streaming, WebSocket, Real-Time Data, and Slot Machines. The published artifact set on APIs.io includes API documentation, an API reference, authentication docs, and rate-limit docs.

WebSocket streaming API onto the Foundation event bus. Two channels are documented: a real-time event streamer that pushes every event as it is collected from the floor (backed by a rolling cache of up to 10,000 events or 10 minutes, whichever is smaller, reachable with the start_idx filter), and a historical event streamer that replays a bounded window by nanosecond Unix timestamp or by global index. Both accept the same filter set as query parameters — sas_codes (SAS 6.02 Appendix A Table A-1 exception codes, decimal), asset_number, sas_serial_number, start_idx and limit — and both emit flattened JSON packets carrying a type, the EGM serial and asset number, the player card number and host player id, event and cache timestamps, a global idx ordering field, and per-packet data and meters maps. The host is per-property: <property> is the subdomain of the casino running Foundation, so the base URL is templated rather than a single vendor-operated endpoint. Requests that are not upgraded to a WebSocket are rejected with HTTP 400.

## Machine-readable artifacts (10)

- **Documentation** — https://github.com/acres4/foundation-documentation
- **APIReference** — https://github.com/acres4/foundation-documentation/blob/master/apis/event/1.4/usage.md
- **Webhooks** — https://raw.githubusercontent.com/api-evangelist/acres-manufacturing/refs/heads/main/asyncapi/acres-manufacturing-foundation-events.yml
- **Authentication** — https://raw.githubusercontent.com/api-evangelist/acres-manufacturing/refs/heads/main/authentication/acres-manufacturing-authentication.yml
- **Conventions** — https://raw.githubusercontent.com/api-evangelist/acres-manufacturing/refs/heads/main/conventions/acres-manufacturing-conventions.yml
- **RateLimits** — https://raw.githubusercontent.com/api-evangelist/acres-manufacturing/refs/heads/main/rate-limits/acres-manufacturing-rate-limits.yml
- **Lifecycle** — https://raw.githubusercontent.com/api-evangelist/acres-manufacturing/refs/heads/main/lifecycle/acres-manufacturing-lifecycle.yml
- **Conformance** — https://raw.githubusercontent.com/api-evangelist/acres-manufacturing/refs/heads/main/conformance/acres-manufacturing-conformance.yml
- **Examples** — https://github.com/acres4/foundation-documentation/blob/master/apis/event/1.4/example_1.4.3.json
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/acres-manufacturing/refs/heads/main/apis.yml

## Other Acres Manufacturing APIs (1)

- [AcresBLE SDK (Bluetooth Low Energy)](https://apis.io/apis/acres-manufacturing/acresble-sdk-bluetooth-low-energy/)

## Tags

Casino Gaming, Event Streaming, WebSocket, Real-Time Data, Slot Machines

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/acres-manufacturing/foundation-event-replay-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/acres-manufacturing/.
