Start a root cause analysis run (v2)

Same as /api/1/agent_tasks/rca, except that source_occurrence_id in the response is the
32-character lowercase hexadecimal string; /api/1 returns it as a decimal string. In the
request, source_occurrence_id may be that hexadecimal string or the decimal number. See
API versions.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Occurrence ID to analyze.

string

Project slug from the item URL.

integer
≥ 1

Item number shown within the project.

boolean
Defaults to false

Start Resolve automatically after RCA completes.

Headers
string
required

Use a personal access token with 'write' scope. Project Access Tokens and service tokens are not supported.

Responses

400

Invalid or ambiguous source identifiers, or invalid continue_with_resolve value.

403

The token or account access does not allow this run, or AI features are disabled.

404

The project or item was not found in this account.

409

An active agent task already exists.

422

The item has no occurrence, RCA validation failed, or the task could not be created.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json