@agorio/sdk • Docs
Interface: AgorioCloudOptions
Properties
apiKey
apiKey:
string
API key issued from the dashboard, format: agorio_sk_
Defined in
src/cloud/index.ts:39
batchSize?
optionalbatchSize:number
Flush after this many buffered events (default: 25).
Defined in
src/cloud/index.ts:43
endpoint?
optionalendpoint:string
Override the ingestion endpoint (default: https://cloud.agorio.dev/api/ingest).
Defined in
src/cloud/index.ts:41
fetchImpl?
optionalfetchImpl:any
Inject a custom fetch implementation (for tests).
Defined in
src/cloud/index.ts:47
flushIntervalMs?
optionalflushIntervalMs:number
Periodic flush interval in ms (default: 1000).
Defined in
src/cloud/index.ts:45