Incidents
Appends a root-cause theory, authored by the caller; calls authenticated as the project's Agent Account are recorded as AI-generated. Items the theory cites in relatedActivities are checked against the incident's project; any that can't be found are returned in notLinked and the theory is still added. Items may be cited by web URL, including PRs outside Harness Code; those with no activity in the incident's project are linked as cited and returned in unverified. If a theory with the same message already exists, no duplicate is created and the cited items are added to the existing theory.
API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.
Incident ID, e.g. INC-123
Harness account identifier.
Harness organization identifier.
Harness project identifier.
Request body for adding a root-cause theory
The root-cause theory text
Theory status: INVESTIGATING (default), CONFIRMED, or RULED_OUT
Confidence level (0-100); defaults based on status when omitted
A theory with this message already exists
Result of adding a root-cause theory to an incident
False when a theory with the same message already existed
Root-cause theory created
Invalid request
Incident not found
POST /gateway/ir/tp/api/v1/mc/incidents/{incidentId}/root-cause-theories?accountId=text&orgId=text&projectId=text HTTP/1.1
Host: app.harness.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 99
{
"message": "text",
"status": "text",
"confidence": 1,
"relatedActivities": [
{
"type": "text",
"id": "text"
}
]
}{
"theory": {
"id": "text",
"message": "text",
"status": "text",
"confidence": 1,
"aiGenerated": true,
"relatedActivities": [
{
"type": "text",
"displayId": "text",
"url": "text"
}
]
},
"created": true,
"notLinked": [
{
"reference": {
"type": "text",
"id": "text"
},
"reason": "text"
}
],
"unverified": [
{
"reference": {
"type": "text",
"id": "text"
},
"reason": "text"
}
]
}API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.
Incident ID, e.g. INC-123
Harness account identifier.
Harness organization identifier.
Harness project identifier.
Incident closed
Incident summary
Incident status
Harness service identifiers for impacted services
Environment labels (e.g. prod, qa)
Fingerprint of rootCauseTheories. Clients send this back when confirming, ruling out, or undoing a theory so a stale write is rejected.
Video conference link for the incident
Epoch timestamp when acknowledged (milliseconds)
Epoch timestamp when work started (milliseconds)
Epoch timestamp when resolved (milliseconds)
Epoch timestamp when closed (milliseconds)
Epoch timestamp when reported (milliseconds)
Epoch timestamp when mitigated (milliseconds)
Epoch timestamp when responder assigned (milliseconds)
Incident not found
POST /gateway/ir/tp/api/v1/mc/incidents/{incidentId}/close?accountId=text&orgId=text&projectId=text HTTP/1.1
Host: app.harness.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"prettyId": "text",
"projectId": "text",
"title": "text",
"summary": "text",
"status": "NEW",
"reporter": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"commander": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"impactedServices": [
"text"
],
"environments": [
"text"
],
"severity": {
"id": "text",
"label": "text"
},
"keyEvents": [
{
"timestamp": 1,
"status": "text",
"details": "text"
}
],
"relatedActivities": [
{
"name": "text",
"templateTypeName": "INCIDENT",
"prettyId": "text",
"globalId": "text",
"title": "text"
}
],
"relatedExternalEntities": [
{
"relationshipGlobalId": "text",
"name": "text",
"type": "DEPLOYMENT",
"provider": "HARNESS",
"externalId": "text",
"url": "text",
"displayName": "text"
}
],
"rootCauseTheories": [
{
"id": "text",
"message": "text",
"status": "text",
"confidence": 1,
"aiGenerated": true,
"relatedActivities": [
{
"type": "text",
"displayId": "text",
"url": "text"
}
]
}
],
"rootCauseTheoriesSha": "text",
"commsLinks": [
{
"url": "text",
"linkType": "WEB"
}
],
"videoConferenceLink": "text",
"acknowledgedAtTimestamp": 1,
"startedAtTimestamp": 1,
"resolvedAtTimestamp": 1,
"closedAtTimestamp": 1,
"reportedAtTimestamp": 1,
"mitigatedAtTimestamp": 1,
"responderAssignedAtTimestamp": 1,
"pagedResponders": [
{
"userId": "text",
"displayName": "text",
"email": "text"
}
]
}API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.
Incident ID, e.g. INC-123
Root-cause theory id
Harness account identifier.
Harness organization identifier.
Harness project identifier.
Request body for confirming, ruling out, or undoing a root-cause theory
Fingerprint from GET incident (rootCauseTheoriesSha). A blank value is rejected.
Theory confirmed
Incident summary
Incident status
Harness service identifiers for impacted services
Environment labels (e.g. prod, qa)
Fingerprint of rootCauseTheories. Clients send this back when confirming, ruling out, or undoing a theory so a stale write is rejected.
Video conference link for the incident
Epoch timestamp when acknowledged (milliseconds)
Epoch timestamp when work started (milliseconds)
Epoch timestamp when resolved (milliseconds)
Epoch timestamp when closed (milliseconds)
Epoch timestamp when reported (milliseconds)
Epoch timestamp when mitigated (milliseconds)
Epoch timestamp when responder assigned (milliseconds)
Invalid request, unknown theory, or root-cause data has changed
Incident not found
POST /gateway/ir/tp/api/v1/mc/incidents/{incidentId}/root-cause-theories/{theoryId}/confirm?accountId=text&orgId=text&projectId=text HTTP/1.1
Host: app.harness.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"expectedOldRcaSha": "text"
}{
"prettyId": "text",
"projectId": "text",
"title": "text",
"summary": "text",
"status": "NEW",
"reporter": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"commander": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"impactedServices": [
"text"
],
"environments": [
"text"
],
"severity": {
"id": "text",
"label": "text"
},
"keyEvents": [
{
"timestamp": 1,
"status": "text",
"details": "text"
}
],
"relatedActivities": [
{
"name": "text",
"templateTypeName": "INCIDENT",
"prettyId": "text",
"globalId": "text",
"title": "text"
}
],
"relatedExternalEntities": [
{
"relationshipGlobalId": "text",
"name": "text",
"type": "DEPLOYMENT",
"provider": "HARNESS",
"externalId": "text",
"url": "text",
"displayName": "text"
}
],
"rootCauseTheories": [
{
"id": "text",
"message": "text",
"status": "text",
"confidence": 1,
"aiGenerated": true,
"relatedActivities": [
{
"type": "text",
"displayId": "text",
"url": "text"
}
]
}
],
"rootCauseTheoriesSha": "text",
"commsLinks": [
{
"url": "text",
"linkType": "WEB"
}
],
"videoConferenceLink": "text",
"acknowledgedAtTimestamp": 1,
"startedAtTimestamp": 1,
"resolvedAtTimestamp": 1,
"closedAtTimestamp": 1,
"reportedAtTimestamp": 1,
"mitigatedAtTimestamp": 1,
"responderAssignedAtTimestamp": 1,
"pagedResponders": [
{
"userId": "text",
"displayName": "text",
"email": "text"
}
]
}API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.
Harness account identifier.
Harness organization identifier.
Harness project identifier.
Filter by status (multi-value, OR-combined). Allowed: new, investigating, fixing, monitoring, closed.
Filter by severity option id (multi-value, OR-combined)
Filter by service: Harness identifier, name, or ID (multi-value, OR-combined)
Filter by environment (multi-value, OR-combined), each a Harness environment identifier, name, or serialized HarnessEnvironmentId. Identifiers are matched before names. A reference shared by several scopes resolves to the closest: this project, then its org, then the account, then other projects in (org, project) order.
Filter by commander Harness user id
Free-text search across title and summary
ISO-8601 inclusive lower bound on reportedAt, e.g. 2026-05-01T00:00:00Z
ISO-8601 inclusive upper bound on reportedAt
Field to sort incidents by
Sort direction
Page size requested
0-based page number; defaults to 0 (the first page).
Page of incidents
GET /gateway/ir/tp/api/v1/mc/incidents?accountId=text&orgId=text&projectId=text HTTP/1.1
Host: app.harness.io
x-api-key: YOUR_API_KEY
Accept: */*
Page of incidents
{
"entities": [
{
"prettyId": "text",
"projectId": "text",
"title": "text",
"summary": "text",
"status": "NEW",
"reporter": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"commander": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"impactedServices": [
"text"
],
"environments": [
"text"
],
"severity": {
"id": "text",
"label": "text"
},
"keyEvents": [
{
"timestamp": 1,
"status": "text",
"details": "text"
}
],
"relatedActivities": [
{
"name": "text",
"templateTypeName": "INCIDENT",
"prettyId": "text",
"globalId": "text",
"title": "text"
}
],
"relatedExternalEntities": [
{
"relationshipGlobalId": "text",
"name": "text",
"type": "DEPLOYMENT",
"provider": "HARNESS",
"externalId": "text",
"url": "text",
"displayName": "text"
}
],
"rootCauseTheories": [
{
"id": "text",
"message": "text",
"status": "text",
"confidence": 1,
"aiGenerated": true,
"relatedActivities": [
{
"type": "text",
"displayId": "text",
"url": "text"
}
]
}
],
"rootCauseTheoriesSha": "text",
"commsLinks": [
{
"url": "text",
"linkType": "WEB"
}
],
"videoConferenceLink": "text",
"acknowledgedAtTimestamp": 1,
"startedAtTimestamp": 1,
"resolvedAtTimestamp": 1,
"closedAtTimestamp": 1,
"reportedAtTimestamp": 1,
"mitigatedAtTimestamp": 1,
"responderAssignedAtTimestamp": 1,
"pagedResponders": [
{
"userId": "text",
"displayName": "text",
"email": "text"
}
]
}
],
"totalCount": 1
}API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.
Harness account identifier.
Harness organization identifier.
Harness project identifier.
Request body for creating an incident
Short id of the incident type to create from (e.g. "INC").
Incident title
Incident summary
Severity option id or label (e.g. "1" or "SEV1: Major"). Matched case-insensitively against the template's severity field options.
Incident status option id or label (e.g. "new" or "Investigating"). Matched case-insensitively against the template's status field options.
Impacted services by Harness identifier, name, or ID
Environments, each a Harness environment identifier, name, or serialized HarnessEnvironmentId. Identifiers are matched before names. A reference shared by several scopes resolves to the closest: this project, then its org, then the account, then other projects in (org, project) order.
Harness user id of the incident commander
Video conference link for the incident
URL of an existing Slack channel to associate with the incident
Reported-at timestamp in epoch milliseconds. Defaults to now.
Incident labels
When true, page the on-call owner of the primary impacted service after the incident is created. Defaults to false when omitted.
When set, adds a timeline key event with this text after the incident is created.
Incident created
Incident summary
Incident status
Harness service identifiers for impacted services
Environment labels (e.g. prod, qa)
Fingerprint of rootCauseTheories. Clients send this back when confirming, ruling out, or undoing a theory so a stale write is rejected.
Video conference link for the incident
Epoch timestamp when acknowledged (milliseconds)
Epoch timestamp when work started (milliseconds)
Epoch timestamp when resolved (milliseconds)
Epoch timestamp when closed (milliseconds)
Epoch timestamp when reported (milliseconds)
Epoch timestamp when mitigated (milliseconds)
Epoch timestamp when responder assigned (milliseconds)
Invalid request
Activity template not found
POST /gateway/ir/tp/api/v1/mc/incidents?accountId=text&orgId=text&projectId=text HTTP/1.1
Host: app.harness.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 376
{
"templateShortId": "text",
"title": "text",
"summary": "text",
"severity": "text",
"status": "text",
"impactedServices": [
"text"
],
"environments": [
"text"
],
"commanderHarnessUserId": "text",
"videoConferenceLink": "text",
"slackChannelUrl": "text",
"reportedAtTimestamp": 1,
"labels": [
"text"
],
"customFields": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"pageOnCall": true,
"pipelineContextTimelineMessage": "text"
}{
"prettyId": "text",
"projectId": "text",
"title": "text",
"summary": "text",
"status": "NEW",
"reporter": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"commander": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"impactedServices": [
"text"
],
"environments": [
"text"
],
"severity": {
"id": "text",
"label": "text"
},
"keyEvents": [
{
"timestamp": 1,
"status": "text",
"details": "text"
}
],
"relatedActivities": [
{
"name": "text",
"templateTypeName": "INCIDENT",
"prettyId": "text",
"globalId": "text",
"title": "text"
}
],
"relatedExternalEntities": [
{
"relationshipGlobalId": "text",
"name": "text",
"type": "DEPLOYMENT",
"provider": "HARNESS",
"externalId": "text",
"url": "text",
"displayName": "text"
}
],
"rootCauseTheories": [
{
"id": "text",
"message": "text",
"status": "text",
"confidence": 1,
"aiGenerated": true,
"relatedActivities": [
{
"type": "text",
"displayId": "text",
"url": "text"
}
]
}
],
"rootCauseTheoriesSha": "text",
"commsLinks": [
{
"url": "text",
"linkType": "WEB"
}
],
"videoConferenceLink": "text",
"acknowledgedAtTimestamp": 1,
"startedAtTimestamp": 1,
"resolvedAtTimestamp": 1,
"closedAtTimestamp": 1,
"reportedAtTimestamp": 1,
"mitigatedAtTimestamp": 1,
"responderAssignedAtTimestamp": 1,
"pagedResponders": [
{
"userId": "text",
"displayName": "text",
"email": "text"
}
]
}API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.
Incident ID, e.g. INC-123
Harness account identifier.
Harness organization identifier.
Harness project identifier.
Incident detail
Incident summary
Incident status
Harness service identifiers for impacted services
Environment labels (e.g. prod, qa)
Fingerprint of rootCauseTheories. Clients send this back when confirming, ruling out, or undoing a theory so a stale write is rejected.
Video conference link for the incident
Epoch timestamp when acknowledged (milliseconds)
Epoch timestamp when work started (milliseconds)
Epoch timestamp when resolved (milliseconds)
Epoch timestamp when closed (milliseconds)
Epoch timestamp when reported (milliseconds)
Epoch timestamp when mitigated (milliseconds)
Epoch timestamp when responder assigned (milliseconds)
Incident not found
GET /gateway/ir/tp/api/v1/mc/incidents/{incidentId}?accountId=text&orgId=text&projectId=text HTTP/1.1
Host: app.harness.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"prettyId": "text",
"projectId": "text",
"title": "text",
"summary": "text",
"status": "NEW",
"reporter": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"commander": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"impactedServices": [
"text"
],
"environments": [
"text"
],
"severity": {
"id": "text",
"label": "text"
},
"keyEvents": [
{
"timestamp": 1,
"status": "text",
"details": "text"
}
],
"relatedActivities": [
{
"name": "text",
"templateTypeName": "INCIDENT",
"prettyId": "text",
"globalId": "text",
"title": "text"
}
],
"relatedExternalEntities": [
{
"relationshipGlobalId": "text",
"name": "text",
"type": "DEPLOYMENT",
"provider": "HARNESS",
"externalId": "text",
"url": "text",
"displayName": "text"
}
],
"rootCauseTheories": [
{
"id": "text",
"message": "text",
"status": "text",
"confidence": 1,
"aiGenerated": true,
"relatedActivities": [
{
"type": "text",
"displayId": "text",
"url": "text"
}
]
}
],
"rootCauseTheoriesSha": "text",
"commsLinks": [
{
"url": "text",
"linkType": "WEB"
}
],
"videoConferenceLink": "text",
"acknowledgedAtTimestamp": 1,
"startedAtTimestamp": 1,
"resolvedAtTimestamp": 1,
"closedAtTimestamp": 1,
"reportedAtTimestamp": 1,
"mitigatedAtTimestamp": 1,
"responderAssignedAtTimestamp": 1,
"pagedResponders": [
{
"userId": "text",
"displayName": "text",
"email": "text"
}
]
}API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.
Incident ID, e.g. INC-123
Harness account identifier.
Harness organization identifier.
Harness project identifier.
JSON merge-patch body for updating an incident. Omit a field to leave it unchanged; set it to null to clear it.
Incident title
Incident summary
Severity option id or label (e.g. "1" or "SEV1: Major"). Matched case-insensitively against the template's severity field options.
Incident status option id or label (e.g. "investigating"). To close an incident, use POST /api/v1/mc/incidents/{incidentId}/close instead.
Impacted services by Harness identifier, name, or ID (replaces the full list)
Environments (replaces the full list), each a Harness environment identifier, name, or serialized HarnessEnvironmentId. Identifiers are matched before names. A reference shared by several scopes resolves to the closest: this project, then its org, then the account, then other projects in (org, project) order.
Harness user id of the incident commander
Video conference link for the incident
Incident updated
Incident summary
Incident status
Harness service identifiers for impacted services
Environment labels (e.g. prod, qa)
Fingerprint of rootCauseTheories. Clients send this back when confirming, ruling out, or undoing a theory so a stale write is rejected.
Video conference link for the incident
Epoch timestamp when acknowledged (milliseconds)
Epoch timestamp when work started (milliseconds)
Epoch timestamp when resolved (milliseconds)
Epoch timestamp when closed (milliseconds)
Epoch timestamp when reported (milliseconds)
Epoch timestamp when mitigated (milliseconds)
Epoch timestamp when responder assigned (milliseconds)
Invalid request
Incident not found
PATCH /gateway/ir/tp/api/v1/mc/incidents/{incidentId}?accountId=text&orgId=text&projectId=text HTTP/1.1
Host: app.harness.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 226
{
"title": "text",
"summary": "text",
"severity": "text",
"status": "text",
"impactedServices": [
"text"
],
"environments": [
"text"
],
"commanderHarnessUserId": "text",
"videoConferenceLink": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": {}
}
}{
"prettyId": "text",
"projectId": "text",
"title": "text",
"summary": "text",
"status": "NEW",
"reporter": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"commander": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"impactedServices": [
"text"
],
"environments": [
"text"
],
"severity": {
"id": "text",
"label": "text"
},
"keyEvents": [
{
"timestamp": 1,
"status": "text",
"details": "text"
}
],
"relatedActivities": [
{
"name": "text",
"templateTypeName": "INCIDENT",
"prettyId": "text",
"globalId": "text",
"title": "text"
}
],
"relatedExternalEntities": [
{
"relationshipGlobalId": "text",
"name": "text",
"type": "DEPLOYMENT",
"provider": "HARNESS",
"externalId": "text",
"url": "text",
"displayName": "text"
}
],
"rootCauseTheories": [
{
"id": "text",
"message": "text",
"status": "text",
"confidence": 1,
"aiGenerated": true,
"relatedActivities": [
{
"type": "text",
"displayId": "text",
"url": "text"
}
]
}
],
"rootCauseTheoriesSha": "text",
"commsLinks": [
{
"url": "text",
"linkType": "WEB"
}
],
"videoConferenceLink": "text",
"acknowledgedAtTimestamp": 1,
"startedAtTimestamp": 1,
"resolvedAtTimestamp": 1,
"closedAtTimestamp": 1,
"reportedAtTimestamp": 1,
"mitigatedAtTimestamp": 1,
"responderAssignedAtTimestamp": 1,
"pagedResponders": [
{
"userId": "text",
"displayName": "text",
"email": "text"
}
]
}API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.
Incident ID, e.g. INC-123
Root-cause theory id
Harness account identifier.
Harness organization identifier.
Harness project identifier.
Request body for confirming, ruling out, or undoing a root-cause theory
Fingerprint from GET incident (rootCauseTheoriesSha). A blank value is rejected.
Theory ruled out
Incident summary
Incident status
Harness service identifiers for impacted services
Environment labels (e.g. prod, qa)
Fingerprint of rootCauseTheories. Clients send this back when confirming, ruling out, or undoing a theory so a stale write is rejected.
Video conference link for the incident
Epoch timestamp when acknowledged (milliseconds)
Epoch timestamp when work started (milliseconds)
Epoch timestamp when resolved (milliseconds)
Epoch timestamp when closed (milliseconds)
Epoch timestamp when reported (milliseconds)
Epoch timestamp when mitigated (milliseconds)
Epoch timestamp when responder assigned (milliseconds)
Invalid request, unknown theory, or root-cause data has changed
Incident not found
POST /gateway/ir/tp/api/v1/mc/incidents/{incidentId}/root-cause-theories/{theoryId}/rule-out?accountId=text&orgId=text&projectId=text HTTP/1.1
Host: app.harness.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"expectedOldRcaSha": "text"
}{
"prettyId": "text",
"projectId": "text",
"title": "text",
"summary": "text",
"status": "NEW",
"reporter": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"commander": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"impactedServices": [
"text"
],
"environments": [
"text"
],
"severity": {
"id": "text",
"label": "text"
},
"keyEvents": [
{
"timestamp": 1,
"status": "text",
"details": "text"
}
],
"relatedActivities": [
{
"name": "text",
"templateTypeName": "INCIDENT",
"prettyId": "text",
"globalId": "text",
"title": "text"
}
],
"relatedExternalEntities": [
{
"relationshipGlobalId": "text",
"name": "text",
"type": "DEPLOYMENT",
"provider": "HARNESS",
"externalId": "text",
"url": "text",
"displayName": "text"
}
],
"rootCauseTheories": [
{
"id": "text",
"message": "text",
"status": "text",
"confidence": 1,
"aiGenerated": true,
"relatedActivities": [
{
"type": "text",
"displayId": "text",
"url": "text"
}
]
}
],
"rootCauseTheoriesSha": "text",
"commsLinks": [
{
"url": "text",
"linkType": "WEB"
}
],
"videoConferenceLink": "text",
"acknowledgedAtTimestamp": 1,
"startedAtTimestamp": 1,
"resolvedAtTimestamp": 1,
"closedAtTimestamp": 1,
"reportedAtTimestamp": 1,
"mitigatedAtTimestamp": 1,
"responderAssignedAtTimestamp": 1,
"pagedResponders": [
{
"userId": "text",
"displayName": "text",
"email": "text"
}
]
}API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.
Incident ID, e.g. INC-123
Root-cause theory id
Harness account identifier.
Harness organization identifier.
Harness project identifier.
Request body for confirming, ruling out, or undoing a root-cause theory
Fingerprint from GET incident (rootCauseTheoriesSha). A blank value is rejected.
Theory returned to investigating
Incident summary
Incident status
Harness service identifiers for impacted services
Environment labels (e.g. prod, qa)
Fingerprint of rootCauseTheories. Clients send this back when confirming, ruling out, or undoing a theory so a stale write is rejected.
Video conference link for the incident
Epoch timestamp when acknowledged (milliseconds)
Epoch timestamp when work started (milliseconds)
Epoch timestamp when resolved (milliseconds)
Epoch timestamp when closed (milliseconds)
Epoch timestamp when reported (milliseconds)
Epoch timestamp when mitigated (milliseconds)
Epoch timestamp when responder assigned (milliseconds)
Invalid request, unknown theory, or root-cause data has changed
Incident not found
POST /gateway/ir/tp/api/v1/mc/incidents/{incidentId}/root-cause-theories/{theoryId}/undo?accountId=text&orgId=text&projectId=text HTTP/1.1
Host: app.harness.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"expectedOldRcaSha": "text"
}{
"prettyId": "text",
"projectId": "text",
"title": "text",
"summary": "text",
"status": "NEW",
"reporter": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"commander": {
"userId": "text",
"displayName": "text",
"email": "text"
},
"impactedServices": [
"text"
],
"environments": [
"text"
],
"severity": {
"id": "text",
"label": "text"
},
"keyEvents": [
{
"timestamp": 1,
"status": "text",
"details": "text"
}
],
"relatedActivities": [
{
"name": "text",
"templateTypeName": "INCIDENT",
"prettyId": "text",
"globalId": "text",
"title": "text"
}
],
"relatedExternalEntities": [
{
"relationshipGlobalId": "text",
"name": "text",
"type": "DEPLOYMENT",
"provider": "HARNESS",
"externalId": "text",
"url": "text",
"displayName": "text"
}
],
"rootCauseTheories": [
{
"id": "text",
"message": "text",
"status": "text",
"confidence": 1,
"aiGenerated": true,
"relatedActivities": [
{
"type": "text",
"displayId": "text",
"url": "text"
}
]
}
],
"rootCauseTheoriesSha": "text",
"commsLinks": [
{
"url": "text",
"linkType": "WEB"
}
],
"videoConferenceLink": "text",
"acknowledgedAtTimestamp": 1,
"startedAtTimestamp": 1,
"resolvedAtTimestamp": 1,
"closedAtTimestamp": 1,
"reportedAtTimestamp": 1,
"mitigatedAtTimestamp": 1,
"responderAssignedAtTimestamp": 1,
"pagedResponders": [
{
"userId": "text",
"displayName": "text",
"email": "text"
}
]
}Last updated
Was this helpful?