Skip to content

eventChronicles

Query

Search for events based on a set of filters.

Response

Returns EventChronicleConnection

Arguments

NameTypeDescription
filterFilterEventChronicleInput

Filter events by unique identifier, type, time, etc.

firstInt!

Returns the first n elements from the list.

Default: 20

afterString

Returns the elements in the list that come after the specified cursor.

sort[EventChronicleSort!]!

The field and direction by which to sort the results

Default: [{ field: TIMESTAMP, direction: ASC }, { field: ID, direction: ASC }]

Example

query eventChronicles(
$filter: FilterEventChronicleInput,
$first: Int!,
$after: String,
$sort: [EventChronicleSort!]!
) {
eventChronicles(
filter: $filter,
first: $first,
after: $after,
sort: $sort
) {
edges {
node {
id
name
description
timestamp
timezone
metadata
priority
status
labels
locations
createdAt
updatedAt
}
cursor
}
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
totalCount
}
}