Last active
August 28, 2025 04:51
-
-
Save shairyar/824fd3e82890ca676270885738326c7f to your computer and use it in GitHub Desktop.
GraphQL query to fetch incidents logged in AppSignal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| query PaginatedExceptionIncidentsQuery($appId: String!, $namespaces: [String], $markerId: String, $limit: Int, $offset: Int, $state: IncidentStateEnum, $order: IncidentOrderEnum, $exceptionQuery: ExceptionIncidentQueryEnum, $timeframe: TimeframeEnum, $start: DateTime, $end: DateTime) { | |
| app(id: $appId) { | |
| id | |
| paginatedExceptionIncidents( | |
| namespaces: $namespaces | |
| marker: $markerId | |
| limit: $limit | |
| state: $state | |
| offset: $offset | |
| order: $order | |
| exceptionQuery: $exceptionQuery | |
| timeframe: $timeframe | |
| start: $start | |
| end: $end | |
| ) { | |
| total | |
| rows { | |
| ...ExceptionIncidentRow | |
| __typename | |
| } | |
| __typename | |
| } | |
| __typename | |
| } | |
| } | |
| fragment ExceptionIncidentRow on ExceptionIncident { | |
| id | |
| number | |
| count | |
| scopedCount | |
| lastOccurredAt | |
| actionNames | |
| exceptionName | |
| state | |
| namespace | |
| firstBacktraceLine | |
| errorGroupingStrategy | |
| source | |
| severity | |
| ...ExceptionIntegrationsFragment | |
| __typename | |
| } | |
| fragment ExceptionIntegrationsFragment on ExceptionIncident { | |
| integrations { | |
| ... on Jira { | |
| name | |
| issues { | |
| ...JiraIssue | |
| __typename | |
| } | |
| __typename | |
| } | |
| __typename | |
| } | |
| __typename | |
| } | |
| fragment JiraIssue on JiraIssue { | |
| id | |
| title | |
| description | |
| url | |
| remoteId | |
| __typename | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
query params
Here is the query to fetch deployments.