@agorio/sdkDocs


Interface: AgorioCloudOptions

Properties

apiKey

apiKey: string

API key issued from the dashboard, format: agorio_sk__<32hex>.

Defined in

src/cloud/index.ts:39


batchSize?

optional batchSize: number

Flush after this many buffered events (default: 25).

Defined in

src/cloud/index.ts:43


endpoint?

optional endpoint: string

Override the ingestion endpoint (default: https://cloud.agorio.dev/api/ingest).

Defined in

src/cloud/index.ts:41


fetchImpl?

optional fetchImpl: any

Inject a custom fetch implementation (for tests).

Defined in

src/cloud/index.ts:47


flushIntervalMs?

optional flushIntervalMs: number

Periodic flush interval in ms (default: 1000).

Defined in

src/cloud/index.ts:45