IntegrationsPagerdutyActions
List PagerDuty incidents
List incidents for the bound PagerDuty account. Requires read. Returns one bounded page.
incidents.list · PagerDuty · v1
Details
Scopes
read
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
page_size | integer | No | minimum 1; maximum 100 |
cursor | string | No | minLength 1; maxLength 512 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
incidents | array<object> | Yes | maxItems 100 |
incidents[] | object | Yes | additionalProperties false |
incidents[].id | string | Yes | minLength 1; maxLength 100 |
incidents[].incident_number | integer | Yes | minimum 1 |
incidents[].title | string | Yes | minLength 1; maxLength 1024 |
incidents[].status | string | Yes | minLength 1; maxLength 64 |
incidents[].urgency | string | Yes | enum high | low |
incidents[].html_url | string | Yes | maxLength 2048 |
incidents[].service | object | Yes | additionalProperties false |
incidents[].service.id | string | Yes | minLength 1; maxLength 100 |
incidents[].service.summary | string | Yes | minLength 1; maxLength 200 |
incidents[].service.html_url | string | No | maxLength 2048 |
incidents[].service.type | string | No | maxLength 64 |
incidents[].assignments | array<object> | Yes | maxItems 25 |
incidents[].assignments[] | object | Yes | additionalProperties false |
incidents[].assignments[].assignee | object | Yes | additionalProperties false |
incidents[].assignments[].assignee.id | string | Yes | minLength 1; maxLength 100 |
incidents[].assignments[].assignee.summary | string | Yes | minLength 1; maxLength 200 |
incidents[].assignments[].assignee.html_url | string | No | maxLength 2048 |
incidents[].assignments[].assignee.type | string | No | maxLength 64 |
incidents[].assignments[].at | string | No | minLength 1; maxLength 64 |
incidents[].escalation_policy | object | No | additionalProperties false |
incidents[].escalation_policy.id | string | Yes | minLength 1; maxLength 100 |
incidents[].escalation_policy.summary | string | Yes | minLength 1; maxLength 200 |
incidents[].escalation_policy.html_url | string | No | maxLength 2048 |
incidents[].escalation_policy.type | string | No | maxLength 64 |
incidents[].created_at | string | Yes | minLength 1; maxLength 64 |
incidents[].updated_at | string | No | minLength 1; maxLength 64 |
incidents[].resolved_at | string | No | minLength 1; maxLength 64 |
next_cursor | string | No | minLength 1; maxLength 512 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 512
}
}
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"incidents": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"incident_number": {
"type": "integer",
"minimum": 1
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"status": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"urgency": {
"type": "string",
"enum": [
"high",
"low"
]
},
"html_url": {
"type": "string",
"maxLength": 2048
},
"service": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"summary": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"html_url": {
"type": "string",
"maxLength": 2048
},
"type": {
"type": "string",
"maxLength": 64
}
},
"required": [
"id",
"summary"
]
},
"assignments": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"assignee": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"summary": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"html_url": {
"type": "string",
"maxLength": 2048
},
"type": {
"type": "string",
"maxLength": 64
}
},
"required": [
"id",
"summary"
]
},
"at": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"assignee"
]
},
"maxItems": 25
},
"escalation_policy": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"summary": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"html_url": {
"type": "string",
"maxLength": 2048
},
"type": {
"type": "string",
"maxLength": 64
}
},
"required": [
"id",
"summary"
]
},
"created_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"updated_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"resolved_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"id",
"incident_number",
"title",
"status",
"urgency",
"html_url",
"service",
"assignments",
"created_at"
]
},
"maxItems": 100
},
"next_cursor": {
"type": "string",
"minLength": 1,
"maxLength": 512
}
},
"required": [
"incidents"
]
}