All functions
getNotifications
List notifications (credits, budget, errors, etc.) for the authenticated organization. Supports pagination with limit and offset.
Free
Use cases
Notification center
Build a notification center in your app to show credits alerts, budget warnings, and errors.
Parameters
| Name | Type | Description | |
|---|---|---|---|
| organizationId | string | optional | The organization ID (required when using session auth; optional with API key) |
| limit | number | optional | Max items to return (default 50, max 100) |
| offset | number | optional | Number of items to skip (for pagination) |
Response
| Name | Type | Description |
|---|---|---|
| items | array | List of notification objects |
| total | number | Total count of notifications |