The Usage page's credit alert rules. A charge that crosses a rule emails the people it names (minus anyone who muted it) and sends credits.alert to webhooks; rules watching the same thing fire once per charge, the most severe. Owner and admin keys only.
Authorization
bearerAuth usage:readIn: header
Scope: usage:read
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/credit-alerts"{ "data": [ { "id": "string", "watch": "balance", "subjects": [ "string" ], "level": 1, "recipients": "admins", "notifySubject": true, "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "links": { "self": "string" } } ]}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}List workspace Stripe receipts GET
Owner or admin API keys only. Supports billing history after cancellation. Amounts are in the currency's minor unit. A short page can still have a nextCursor.
List elements GET
The workspace's elements, newest first. Filter by category, by a session (project) the element was made or used in, or search by @ID, name or description. A session-scoped search returns one page.