List Events
Returns a paginated, filterable list of events for a workspace.Path Parameters
string
required
The workspace ID to query events for.
Query Parameters
string
Filter by event type, e.g.
pull_request, message, issue.string
Filter by integration source, e.g.
github, slack, jira.string
ISO 8601 timestamp. Only return events created after this time.
integer
default:"20"
Maximum number of events to return. Maximum is 100.
string
Cursor from a previous response to fetch the next page.
Response
array
Array of event objects.
string
Unique event identifier, e.g.
evt_mno345.string
Event type, e.g.
pull_request, message, issue.string
Integration source that fired the event.
object
Provider-specific event payload.
string
ISO 8601 timestamp of when the event was received.
object
Cursor pagination metadata.
Get an Event
Retrieves a single event by its ID.Path Parameters
string
required
The workspace ID.
string
required
The event ID to retrieve.
Response
Event Object Shape
Every event shares the following fields:string
Unique identifier for the event.
string
Category of the event. Common values:
pull_request, push, message, issue, commit.string
Name of the integration that produced the event.
object
Raw data from the provider. The structure varies by
type and source.string
ISO 8601 timestamp when Moonshadow received the event.
Filter Examples
Filter by event type only
Filter by event type only
Filter by source and time range
Filter by source and time range
Fetch a large batch with pagination
Fetch a large batch with pagination
next_cursor from the response on subsequent requests: