For AI agents: visit https://stockpit.readme.io/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
Notifications are the messages informing users of important events happening in their account.
Available queries
Notifications - Returns the list of notifications of the current user
query Notifications(
$orderBy: [QueryNotificationsOrderByOrderByClause!],
$first: Int = 10,
$page: Int
) {
Notifications(
orderBy: $orderBy
first: $first
page: $page
) {
paginatorInfo {
total
}
data {
id
created_at
read_at
data
type
}
}
}
You can sort data based on following fields : created_at
query Notifications(
$orderBy: [QueryNotificationsOrderByOrderByClause!],
$first: Int = 10,
$page: Int
) {
Notifications(
orderBy: $orderBy
first: $first
page: $page
) {
paginatorInfo {
total
}
data {
id
created_at
read_at
data
type
}
}
}