Alerts API Queries
Examples
Find Alerts by Company ID:
query findAlerts($id: ID!) {
alerts(
where: {
# Will filter for both "company.id"
# and "relatedCompanies.id"
company: {
id: { eq: $id }
}
}
) {
id
title
text
company {
id
displayName
}
relatedCompanies {
id
displayName
}
}
}Find Alerts by dataset and class
Find Alerts for a particular date range
Find a single Alert by its id
Last updated
Was this helpful?