All functions

getNotifications

List notifications (credits, budget, errors, etc.) for the authenticated organization. Supports pagination with limit and offset.

GET/notificationsAPI docs

Free

Use cases

Notification center

Build a notification center in your app to show credits alerts, budget warnings, and errors.

Parameters

NameTypeDescription
organizationIdstringoptionalThe organization ID (required when using session auth; optional with API key)
limitnumberoptionalMax items to return (default 50, max 100)
offsetnumberoptionalNumber of items to skip (for pagination)

Response

NameTypeDescription
itemsarrayList of notification objects
totalnumberTotal count of notifications