Skip to main content

Documentation Index

Fetch the complete documentation index at: https://trigger-v3-fix-additional-files.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Parameters

eventId
string
required
The event ID to get the details for. This is returned when calling either client.sendEvent() or io.sendEvent().

Returns

id
string | undefined
The event ID.
name
string | undefined
The event name.
createdAt
Date | undefined
When the event was created
updatedAt
Date | undefined
When the event was last updated
runs
Run[] | undefined
const event = await client.getEvent(anEventId);
if (event.runs.length === 0) {
  throw new Error("No runs");
}