Zenduty Incidents API
This object represents the incidents of the account. You can checkout the incident docs here https://docs.zenduty.com/docs/incidents
This object represents the incidents of the account. You can checkout the incident docs here https://docs.zenduty.com/docs/incidents
openapi: 3.0.0
info:
version: 1.1.0
title: Zenduty Account Custom Role Incidents API
termsOfService: https://zenduty.com
contact:
email: vishwa@zenduty.com
license:
name: Apache 2.0
x-logo:
url: data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9Ii05OC4zIDE3My43IDIwNi4zIDUzLjIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgLTk4LjMgMTczLjcgMjA2LjMgNTMuMjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6IzBGMTcyQTt9DQoJLnN0MXtmaWxsOiNGRDlBMDA7fQ0KPC9zdHlsZT4NCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0tMjksMjEwLjJoNi4zYzIuNywwLDQuOSwyLjIsNC45LDQuOWgtMTguMWMwLTUuMyw0LjEtOS40LDcuOS0xMy4xbDMuOC0zLjdoLTcuMWMtMi41LDAtNC42LTIuMS00LjYtNC42aDE4DQoJYzAsNS4zLTQuMSw5LjQtNy44LDEzLjJMLTI5LDIxMC4yeiIvPg0KPHBhdGggY2xhc3M9InN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yLjMsMi43LTMuMw0KCWMyLjEtMi4yLDQuNC00LjEsNi45LTUuOGwwLjEtMC4xYzAuOC0wLjYsMS42LTEuMSwyLjQtMS42bDExLjQtNy40bDE1LjktMTAuNGg3LjdDLTQ4LjgsMTkyLjktNDguNCwxOTMuNi00OC42LDE5NC4zeiIvPg0KPC9zdmc+DQo=
description: "# Introduction\n\nZenduty is a cutting edge platform for incident management. With high level automation, Zenduty enables faster and better incident resolution keeping developers first.\n\n\n Javascript Libraries: https://github.com/Zenduty/zenduty-js\n\n Ruby Libraries: https://github.com/Zenduty/zenduty-ruby\n\n Python Libraries: https://github.com/Zenduty/zenduty-python-sdk\n\n Postman Collection for Zenduty API: https://github.com/Zenduty/zenduty-api-postman.git\n\n Account-level roles and permissions: https://docs.zenduty.com/docs/users#account-level-roles-and-permissions\n\n Team-level roles and permissions: https://docs.zenduty.com/docs/users#team-level-roles-and-permissions\n"
servers:
- url: https://www.zenduty.com
security:
- bearerAuth: []
tags:
- name: Incidents
description: This object represents the incidents of the account. You can checkout the incident docs here https://docs.zenduty.com/docs/incidents
paths:
/api/incidents/filter/:
post:
parameters:
- in: query
name: page
description: pagination page number. example - `page=1`
schema:
type: integer
tags:
- Incidents
summary: List all Incident objects(filtered)
description: Returns a list of filtered Incident objects. The Incident objects are sorted by creation_date, with the most recent Incident object appearing last. for pagination please use 'next' and 'previous' links in the response.
requestBody:
description: Request body parameters to filter the Incident objects
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/IncidentFilterPayload'
example:
status: 1
team_ids:
- 4cce18ea-57c5-4beb-bca8-60dc7a68ae3a
- 91fd3cc0-ebd6-43b8-aab3-67a05762ba0c
all_teams: 1
service_ids:
- 32a7c77f-aa0a-49de-ab52-e52f0aa77888
user_ids:
- 7e26fed1-f11c-4e78-afc6-a
priority_name: ''
priority_ids:
- 7064efff-55f2-448b-92e5-a3a53179aa76
tag_ids:
- bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
sla_ids:
- f14a16aa-15d1-49a1-be27-0c266b15c7fa
from_date: []
to_date: []
postmortem_filter: -1
escalation_policy_ids:
- 52fe68d3-cead-40b3-b0ac-d616d38d8e32
application/xml:
schema:
$ref: '#/components/schemas/IncidentFilterPayload'
example:
status: 1
team_ids:
- 4cce18ea-57c5-4beb-bca8-60dc7a68ae3a
- 91fd3cc0-ebd6-43b8-aab3-67a05762ba0c
all_teams: 1
service_ids:
- 32a7c77f-aa0a-49de-ab52-e52f0aa77888
user_ids:
- 7e26fed1-f11c-4e78-afc6-a
priority_name: ''
priority_ids:
- 7064efff-55f2-448b-92e5-a3a53179aa76
tag_ids:
- bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
sla_ids:
- f14a16aa-15d1-49a1-be27-0c266b15c7fa
from_date: []
to_date: []
postmortem_filter: -1
escalation_policy_ids:
- 52fe68d3-cead-40b3-b0ac-d616d38d8e32
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/IncidentFilter'
example:
next: https://www.zenduty.com/api/incidents/filter/?page=4&page_size=10
previous: https://www.zenduty.com/api/incidents/filter/?page=2&page_size=10
results:
- incident_number: 255
creation_date: '2023-10-26T14:22:56.338690Z'
status: 1
unique_id: aYfQPqqEUGvoMPftRAMSaB
sla: f14a16aa-15d1-49a1-be27-0c266b15c7fa
service_object:
name: Main
unique_id: 32a7c77f-aa0a-49de-ab52-e52f0aa77888
team: 91fd3cc0-ebd6-43b8-aab3-67a05762ba0c
team_name: Backend
title: '[P-21041]Browser monitor global outage'
assigned_to_name: Michael Scott
tags:
- unique_id: 4b2634c6-2c7c-40ea-9a30-020dfddee187
incident: 255
creation_date: '2023-10-26T14:22:56.475799Z'
name: TAG
color: magenta
tag_id: bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
team_tag: bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
sla_object:
unique_id: f14a16aa-15d1-49a1-be27-0c266b15c7fa
name: SLA
is_active: true
acknowledge_time: 5
resolve_time: 30
creation_date: '2022-10-11T11:42:46.438776Z'
team_priority_object:
unique_id: 7064efff-55f2-448b-92e5-a3a53179aa76
name: P1
description: P1 - high priority incidents
color: magenta
is_child_incident: false
postmortems: []
is_parent_incident: false
assigned_to: 7e26fed1-f11c-4e78-afc6-a
acknowledged_date: null
resolved_date: null
snooze_time: null
snoozed_till: null
- incident_number: 254
creation_date: '2023-10-26T14:21:28.828936Z'
status: 1
unique_id: 7ze6Q9YAgvVTUAkQntrViC
sla: f14a16aa-15d1-49a1-be27-0c266b15c7fa
service_object:
name: Main
unique_id: 32a7c77f-aa0a-49de-ab52-e52f0aa77888
team: 91fd3cc0-ebd6-43b8-aab3-67a05762ba0c
team_name: Backend
title: '[P-21041]Browser monitor global outage'
assigned_to_name: Michael Scott
tags:
- unique_id: 93f008cf-f55d-4348-9091-f1e70e3a92a6
incident: 254
creation_date: '2023-10-26T14:21:29.017156Z'
name: TAG
color: magenta
tag_id: bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
team_tag: bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
sla_object:
unique_id: f14a16aa-15d1-49a1-be27-0c266b15c7fa
name: SLA
is_active: true
acknowledge_time: 5
resolve_time: 30
creation_date: '2022-10-11T11:42:46.438776Z'
team_priority_object:
unique_id: 7064efff-55f2-448b-92e5-a3a53179aa76
name: P1
description: P1 - high priority incidents
color: magenta
is_child_incident: false
postmortems: []
is_parent_incident: false
assigned_to: 7e26fed1-f11c-4e78-afc6-a
acknowledged_date: null
resolved_date: null
snooze_time: null
snoozed_till: null
- incident_number: 253
creation_date: '2023-10-26T14:20:18.980264Z'
status: 1
unique_id: fAe5HrVSR8JfigxvB5p9eF
sla: f14a16aa-15d1-49a1-be27-0c266b15c7fa
service_object:
name: Main
unique_id: 32a7c77f-aa0a-49de-ab52-e52f0aa77888
team: 91fd3cc0-ebd6-43b8-aab3-67a05762ba0c
team_name: Backend
title: '[P-21041]Browser monitor global outage'
assigned_to_name: Michael Scott
tags:
- unique_id: 6d2dadec-69a7-45f7-a2fb-99cc32a38419
incident: 253
creation_date: '2023-10-26T14:20:19.168974Z'
name: TAG
color: magenta
tag_id: bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
team_tag: bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
sla_object:
unique_id: f14a16aa-15d1-49a1-be27-0c266b15c7fa
name: SLA
is_active: true
acknowledge_time: 5
resolve_time: 30
creation_date: '2022-10-11T11:42:46.438776Z'
team_priority_object:
unique_id: 7064efff-55f2-448b-92e5-a3a53179aa76
name: P1
description: P1 - high priority incidents
color: magenta
is_child_incident: false
postmortems: []
is_parent_incident: false
assigned_to: 7e26fed1-f11c-4e78-afc6-a
acknowledged_date: null
resolved_date: null
snooze_time: null
snoozed_till: null
application/xml:
schema:
$ref: '#/components/schemas/IncidentFilter'
example:
next: https://www.zenduty.com/api/incidents/filter/?page=4&page_size=10
previous: https://www.zenduty.com/api/incidents/filter/?page=2&page_size=10
results:
- incident_number: 255
creation_date: '2023-10-26T14:22:56.338690Z'
status: 1
unique_id: aYfQPqqEUGvoMPftRAMSaB
sla: f14a16aa-15d1-49a1-be27-0c266b15c7fa
service_object:
name: Main
unique_id: 32a7c77f-aa0a-49de-ab52-e52f0aa77888
team: 91fd3cc0-ebd6-43b8-aab3-67a05762ba0c
team_name: Backend
title: '[P-21041]Browser monitor global outage'
assigned_to_name: Michael Scott
tags:
- unique_id: 4b2634c6-2c7c-40ea-9a30-020dfddee187
incident: 255
creation_date: '2023-10-26T14:22:56.475799Z'
name: TAG
color: magenta
tag_id: bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
team_tag: bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
sla_object:
unique_id: f14a16aa-15d1-49a1-be27-0c266b15c7fa
name: SLA
is_active: true
acknowledge_time: 5
resolve_time: 30
creation_date: '2022-10-11T11:42:46.438776Z'
team_priority_object:
unique_id: 7064efff-55f2-448b-92e5-a3a53179aa76
name: P1
description: P1 - high priority incidents
color: magenta
is_child_incident: false
postmortems: []
is_parent_incident: false
assigned_to: 7e26fed1-f11c-4e78-afc6-a
acknowledged_date: null
resolved_date: null
snooze_time: null
snoozed_till: null
- incident_number: 254
creation_date: '2023-10-26T14:21:28.828936Z'
status: 1
unique_id: 7ze6Q9YAgvVTUAkQntrViC
sla: f14a16aa-15d1-49a1-be27-0c266b15c7fa
service_object:
name: Main
unique_id: 32a7c77f-aa0a-49de-ab52-e52f0aa77888
team: 91fd3cc0-ebd6-43b8-aab3-67a05762ba0c
team_name: Backend
title: '[P-21041]Browser monitor global outage'
assigned_to_name: Michael Scott
tags:
- unique_id: 93f008cf-f55d-4348-9091-f1e70e3a92a6
incident: 254
creation_date: '2023-10-26T14:21:29.017156Z'
name: TAG
color: magenta
tag_id: bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
team_tag: bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
sla_object:
unique_id: f14a16aa-15d1-49a1-be27-0c266b15c7fa
name: SLA
is_active: true
acknowledge_time: 5
resolve_time: 30
creation_date: '2022-10-11T11:42:46.438776Z'
team_priority_object:
unique_id: 7064efff-55f2-448b-92e5-a3a53179aa76
name: P1
description: P1 - high priority incidents
color: magenta
is_child_incident: false
postmortems: []
is_parent_incident: false
assigned_to: 7e26fed1-f11c-4e78-afc6-a
acknowledged_date: null
resolved_date: null
snooze_time: null
snoozed_till: null
- incident_number: 253
creation_date: '2023-10-26T14:20:18.980264Z'
status: 1
unique_id: fAe5HrVSR8JfigxvB5p9eF
sla: f14a16aa-15d1-49a1-be27-0c266b15c7fa
service_object:
name: Main
unique_id: 32a7c77f-aa0a-49de-ab52-e52f0aa77888
team: 91fd3cc0-ebd6-43b8-aab3-67a05762ba0c
team_name: Backend
title: '[P-21041]Browser monitor global outage'
assigned_to_name: Michael Scott
tags:
- unique_id: 6d2dadec-69a7-45f7-a2fb-99cc32a38419
incident: 253
creation_date: '2023-10-26T14:20:19.168974Z'
name: TAG
color: magenta
tag_id: bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
team_tag: bc56a5d1-3ec3-4802-9f6a-3f93519ec2a4
sla_object:
unique_id: f14a16aa-15d1-49a1-be27-0c266b15c7fa
name: SLA
is_active: true
acknowledge_time: 5
resolve_time: 30
creation_date: '2022-10-11T11:42:46.438776Z'
team_priority_object:
unique_id: 7064efff-55f2-448b-92e5-a3a53179aa76
name: P1
description: P1 - high priority incidents
color: magenta
is_child_incident: false
postmortems: []
is_parent_incident: false
assigned_to: 7e26fed1-f11c-4e78-afc6-a
acknowledged_date: null
resolved_date: null
snooze_time: null
snoozed_till: null
'400':
description: Bad Request
content:
application/json:
example:
detail: This request can not be processed.
application/xml:
example:
detail: This request can not be processed.
'403':
description: Forbidden
content:
application/json:
example:
detail: You do not have permission to perform this action.
application/xml:
example:
detail: You do not have permission to perform this action.
'404':
description: Not Found
content:
application/json:
example:
detail: Not Found.
application/xml:
example:
detail: Not Found.
/api/incidents/:
post:
tags:
- Incidents
summary: Create the Incident object
description: Create the Incident object by setting the values of all the required parameters passed in the request body.
requestBody:
description: Request body parameters to create the Incident object
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/IncidentPayload'
example:
title: Production Incident
service: 191f5e2c-515e-4ee0-b501-3a292f8dae2f
application/xml:
schema:
$ref: '#/components/schemas/IncidentPayload'
example:
title: Production Incident
service: 191f5e2c-515e-4ee0-b501-3a292f8dae2f
responses:
'201':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Incident'
example:
summary: ''
incident_number: 3
creation_date: '2022-07-08T13:21:25.846623Z'
status: 1
unique_id: uJVWfdAeoPDm3pk2gG2URn
service_object:
name: Infra Service
creation_date: '2022-07-08T12:31:37.429973Z'
summary: ''
description: This is the description for Infra Service
unique_id: 191f5e2c-515e-4ee0-b501-3a292f8dae2f
auto_resolve_timeout: 0
created_by: 216bba3d-7268-4a8e-89e9-6
team_priority: 6d100d52-998b-41c8-8928-a7e3aa68e329
task_template: 8d2640ca-c6ef-45f0-be5f-61dedcf85032
acknowledgement_timeout: 0
status: 1
escalation_policy: 9ea1f98d-b5a3-4d72-8057-2f5f3d743a44
team: 61010821-08aa-4098-94f8-f88f1990b54a
sla: b3c6af23-2b9e-414e-9706-bbf3af76828c
collation_time: 2
collation: 1
under_maintenance: false
title: Production Incident
incident_key: Q5NmEbsgc4ZjLknsw97VZJ
service: 191f5e2c-515e-4ee0-b501-3a292f8dae2f
urgency: 1
merged_with: null
assigned_to: null
escalation_policy: 9ea1f98d-b5a3-4d72-8057-2f5f3d743a44
escalation_policy_object:
unique_id: 9ea1f98d-b5a3-4d72-8057-2f5f3d743a44
name: Infra Escalation Policy
assigned_to_name: ''
resolved_date: null
acknowledged_date: null
context_window_start: null
context_window_end: null
tags: []
sla: b3c6af23-2b9e-414e-9706-bbf3af76828c
sla_object:
unique_id: b3c6af23-2b9e-414e-9706-bbf3af76828c
name: Infra SLA
is_active: true
acknowledge_time: 30
resolve_time: 60
creation_date: '2022-07-08T12:29:08.545605Z'
team_priority: 6d100d52-998b-41c8-8928-a7e3aa68e329
team_priority_object:
unique_id: 6d100d52-998b-41c8-8928-a7e3aa68e329
name: Infra Priority
description: This is the description for Infra Priority
color: orange
application/xml:
schema:
$ref: '#/components/schemas/Incident'
example:
summary: ''
incident_number: 3
creation_date: '2022-07-08T13:21:25.846623Z'
status: 1
unique_id: uJVWfdAeoPDm3pk2gG2URn
service_object:
name: Infra Service
creation_date: '2022-07-08T12:31:37.429973Z'
summary: ''
description: This is the description for Infra Service
unique_id: 191f5e2c-515e-4ee0-b501-3a292f8dae2f
auto_resolve_timeout: 0
created_by: 216bba3d-7268-4a8e-89e9-6
team_priority: 6d100d52-998b-41c8-8928-a7e3aa68e329
task_template: 8d2640ca-c6ef-45f0-be5f-61dedcf85032
acknowledgement_timeout: 0
status: 1
escalation_policy: 9ea1f98d-b5a3-4d72-8057-2f5f3d743a44
team: 61010821-08aa-4098-94f8-f88f1990b54a
sla: b3c6af23-2b9e-414e-9706-bbf3af76828c
collation_time: 2
collation: 1
under_maintenance: false
title: Production Incident
incident_key: Q5NmEbsgc4ZjLknsw97VZJ
service: 191f5e2c-515e-4ee0-b501-3a292f8dae2f
urgency: 1
merged_with: null
assigned_to: null
escalation_policy: 9ea1f98d-b5a3-4d72-8057-2f5f3d743a44
escalation_policy_object:
unique_id: 9ea1f98d-b5a3-4d72-8057-2f5f3d743a44
name: Infra Escalation Policy
assigned_to_name: ''
resolved_date: null
acknowledged_date: null
context_window_start: null
context_window_end: null
tags: []
sla: b3c6af23-2b9e-414e-9706-bbf3af76828c
sla_object:
unique_id: b3c6af23-2b9e-414e-9706-bbf3af76828c
name: Infra SLA
is_active: true
acknowledge_time: 30
resolve_time: 60
creation_date: '2022-07-08T12:29:08.545605Z'
team_priority: 6d100d52-998b-41c8-8928-a7e3aa68e329
team_priority_object:
unique_id: 6d100d52-998b-41c8-8928-a7e3aa68e329
name: Infra Priority
description: This is the description for Infra Priority
color: orange
'400':
description: Bad Request
content:
application/json:
example:
detail: This request can not be processed.
application/xml:
example:
detail: This request can not be processed.
'403':
description: Forbidden
content:
application/json:
example:
detail: You do not have permission to perform this action.
application/xml:
example:
detail: You do not have permission to perform this action.
'404':
description: Not Found
content:
application/json:
example:
detail: Not Found.
application/xml:
example:
detail: Not Found.
/api/incidents/{unique_id}/:
patch:
parameters:
- name: unique_id
in: path
description: A system-generated string that represents the Incident object's unique ID
schema:
type: string
required: true
tags:
- Incidents
summary: Update the Incident object
description: Updates the specified Incident object by setting the values of the parameters passed in the request body. Any parameters not provided will be left unchanged.
requestBody:
description: Request body parameters to update the Incident object
required: false
content:
application/json:
schema:
$ref: '#/components/schemas/IncidentUpdatePayload'
example:
status: 2
application/xml:
schema:
$ref: '#/components/schemas/IncidentUpdatePayload'
example:
status: 2
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Incident'
example:
summary: ''
incident_number: 3
creation_date: '2022-07-08T13:21:25.846623Z'
status: 2
unique_id: uJVWfdAeoPDm3pk2gG2URn
service_object:
name: Infra Service
creation_date: '2022-07-08T12:31:37.429973Z'
summary: ''
description: This is the description for Infra Service
unique_id: 191f5e2c-515e-4ee0-b501-3a292f8dae2f
auto_resolve_timeout: 0
created_by: 216bba3d-7268-4a8e-89e9-6
team_priority: 6d100d52-998b-41c8-8928-a7e3aa68e329
task_template: 8d2640ca-c6ef-45f0-be5f-61dedcf85032
acknowledgement_timeout: 0
status: 1
escalation_policy: 9ea1f98d-b5a3-4d72-8057-2f5f3d743a44
team: 61010821-08aa-4098-94f8-f88f1990b54a
sla: b3c6af23-2b9e-414e-9706-bbf3af76828c
collation_time: 2
collation: 1
under_maintenance: false
title: Modified Production Incident
incident_key: Q5NmEbsgc4ZjLknsw97VZJ
service: 191f5e2c-515e-4ee0-b501-3a292f8dae2f
urgency: 1
merged_with: null
assigned_to: 507dfda0-a1fd-40e5-943a-e
escalation_policy: 9ea1f98d-b5a3-4d72-8057-2f5f3d743a44
escalation_policy_object:
unique_id: 9ea1f98d-b5a3-4d72-8057-2f5f3d743a44
name: Infra Escalation Policy
assigned_to_name: Mary Jane
resolved_date: null
acknowledged_date: null
context_window_start: null
context_window_end: null
tags: []
sla: b3c6af23-2b9e-414e-9706-bbf3af76828c
sla_object:
unique_id: b3c6af23-2b9e-414e-9706-bbf3af76828c
name: Infra SLA
is_active: true
acknowledge_time: 30
resolve_time: 60
creation_date: '2022-07-08T12:29:08.545605Z'
team_priority: 6d100d52-998b-41c8-8928-a7e3aa68e329
team_priority_object:
unique_id: 6d100d52-998b-41c8-8928-a7e3aa68e329
name: Infra Priority
description: This is the description for Infra Priority
color: orange
application/xml:
schema:
$ref: '#/components/schemas/Incident'
example:
summary: ''
incident_number: 3
creation_date: '2022-07-08T13:21:25.846623Z'
status: 2
unique_id: uJVWfdAeoPDm3pk2gG2URn
service_object:
name: Infra Service
creation_date: '2022-07-08T12:31:37.429973Z'
summary: ''
description: This is the description for Infra Service
unique_id: 191f5e2c-515e-4ee0-b501-3a292f8dae2f
auto_resolve_timeout: 0
created_by: 216bba3d-7268-4a8e-89e9-6
team_priority: 6d100d52-998b-41c8-8928-a7e3aa68e329
task_template: 8d2640ca-c6ef-45f0-be5f-61dedcf85032
acknowledgement_timeout: 0
status: 1
escalation_policy: 9ea1f98d-b5a3-4d72-8057-2f5f3d743a44
team: 61010821-08aa-4098-94f8-f88f1990b54a
sla: b3c6af23-2b9e-414e-9706-bbf3af76828c
collation_time: 2
collation: 1
under_maintenance: false
title: Modified Production Incident
incident_key: Q5NmEbsgc4ZjLknsw97VZJ
service: 191f5e2c-515e-4ee0-b501-3a
# --- truncated at 32 KB (61 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/zenduty/refs/heads/main/openapi/zenduty-incidents-api-openapi.yml