Skip to content

activityChronicles

Query

Search for activities based on a set of filters.

Response

Returns ActivityChronicleConnection

Arguments

NameTypeDescription
filterFilterActivityChronicleInput

Filter activities 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[ActivityChronicleSort!]!

The field and direction by which to sort the results

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

Example

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