Events

List events

Your workspace's events from the last 30 days, newest first, optionally only some types. Use it to catch up after your endpoint was down.

Needs an API key with the generations:read scope.

get/v1/events

Request

  • Base URL: https://api.tryleap.ai
  • URL: https://api.tryleap.ai/v1/events
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Query parameters

limitstring

Maximum number of rows to return: 1 to 100; default 50.

cursorstring

Send next_cursor as cursor; omit it for the first page.

typestring

Only events of these types, comma-separated, such as generation.succeeded,generation.failed.

Response

A page of events.

object'list' required

The list object discriminator.

urlstring required

The list's resource path, such as /v1/records.

has_moreboolean required

Whether another page is available using next_cursor.

next_cursorstring nullable required

Opaque next_cursor from the previous page. It works only for the list and filters it came from.

Changes

No recorded changes to this operation across all 1 revision of this API.