Events

Retrieve an event

One event, with its data.object as the API returns it now, so its output links are fresh.

Needs an API key with the generations:read scope.

get/v1/events/{id}

Request

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

Path parameters

idstring required

The event's ID, evt_....

Response

The event.

idstring required

The event's ID, evt_..., also sent as the webhook-id header. Skip any you've handled.

object'event' required
type'generation.succeeded' | 'generation.failed' | 'generation.canceled' | 'batch.completed' | 'webhook.test' required

What happened.

api_versionstring required

The version of this payload's shape.

created_atstring date-time required

When it happened.

Changes

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