Skip to main content

Get the AI analysis

Tool: oppex.incident.getAnalysis

Returns the Oppex AI Responder's analysis of one incident, together with the log lines it reasoned over. A coding assistant can use it to decide whether the incident is a bug it can fix in your code, and where to start looking.

What you provide​

InputRequiredDescription
Incident IDYesThe incident whose analysis you want.

Example prompts​

  • "What does Oppex think caused the Hyperdrive Failure incident?"
  • "Get the AI analysis for incident cacgichh-efbg-jv3t1ufo and tell me whether it's a code bug."
  • "Read the analysis for the checkout latency incident, find the failing code in this repository, and propose a fix."

Who can use it​

Anyone, for incidents in the connection's workspace.

What you get back​

PartMeaning
CategoryCODE (an application bug), INFRA, CONFIG, DATA or UNKNOWN. Only CODE points to a change in your code.
Summary and likely root causeWhat happened and why, in plain text.
Severity assessmentHow serious the analysis judges the incident to be.
Suggested actionsSteps worth trying.
ConfidenceHow sure the analysis is. It also says when it needs more data.
Evidence services and search hintsThe services the log lines came from, and names worth searching for in your code, such as the class and line that logged the error.
Related servicesOther services involved in the failure. Often empty.
Log linesThe log lines the analysis used, up to 60,000 characters.
Treat suggested actions as a starting point

The analysis is drawn from logs alone. Check a suggested fix against your code, and check whether it has already shipped, before you act on it.

Limits and errors​

MessageMeaning
"No AI analysis available for this incident in your current workspace"The analysis has not finished yet, the AI Responder did not analyze this incident, or the incident is in another workspace.

FAQ

Why is there no analysis for my incident?

The analysis may still be running, or the AI Responder may not be set up for that service. Try again in a few minutes.

Can the assistant fix the code for me?

When the category is CODE and the assistant has access to your repository, it can use the search hints to find the code and propose a change. Review the change before you ship it.

Does reading the analysis change the incident?

No. The tool only reads the analysis.

In this article

FAQ

Why is there no analysis for my incident?

The analysis may still be running, or the AI Responder may not be set up for that service. Try again in a few minutes.

Can the assistant fix the code for me?

When the category is CODE and the assistant has access to your repository, it can use the search hints to find the code and propose a change. Review the change before you ship it.

Does reading the analysis change the incident?

No. The tool only reads the analysis.