The events webhooks send, oldest first, with the same ids. Recorded while the workspace has an enabled webhook endpoint and kept 30 days. Pass the returned cursor as after on the next call; an empty page returns the same cursor. An event is listed once every write that started before it has finished, so paging forward never skips one.
Authorization
bearerAuth webhooks:readIn: header
Scope: webhooks:read
Query Parameters
The cursor from the previous response.
Without after: start at this time.
date-timeComma-separated event types to list.
1 <= value <= 100100Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/events"{ "data": [ { "id": "string", "type": "process.completed", "createdAt": "2019-08-24T14:15:22Z", "data": {} } ], "cursor": "string", "hasMore": true}{ "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 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.
List spend per API key GET
Each API key's spend this month and lifetime (what its credit limit counts, net of refunds) and its charges and refunds in the range. Owners and admins see every key; other members see the keys they made. truncated is true when the range had more than 20,000 credit log entries.