Diagnose an issue
Changed onQueues a run that diagnoses the issue with AI. The run reads the issue's runtime logs and, when a push to the project's connected repository built the deployment that was live when the issue was last seen, its source at that commit. Poll the run until its status is succeeded, failed, or canceled.
Autofix must be on for the project. An issue has at most one queued or running run, a project runs one at a time, and a project starts at most 25 runs, manual and automatic, in any 24 hours.
Project access tokens are refused. A run can open a pull request in the project's repository, so a person starts it with a platform token or in the dashboard.
Request
- Base URLhttps://api.volcano.dev
- AuthHTTP bearer
Path parameters
Project ID
Issue ID
Response
Queued
What started the run. manual is a request; new_issue and regression are automatic runs for an issue that appeared or reopened.
Where a run is. canceled means the project's settings or plan stopped allowing the run before it finished; failure_code says which.
How far a run may go. diagnose stops at a root-cause diagnosis. pull_request may also open a draft pull request with a fix in the project's connected repository.
How far a run may go. diagnose stops at a root-cause diagnosis. pull_request may also open a draft pull request with a fix in the project's connected repository.
The fix the model proposed, applied to the deployed commit. Present whenever the run opened a pull request, and when a valid fix could not be published.
The draft pull request the run opened on the connected repository.
Why a run whose max_stage is pull_request opened no pull request. The diagnosis stands either way.
The commit the diagnosis read, when a push to the connected repository deployed the resource. Absent when the run read logs only.
Why the run failed or was canceled, or why its last attempt will be retried. A queued run paused while Autofix is unavailable reports feature_unavailable; it resumes without spending an attempt when Autofix returns. Other values are model_request_rejected, model_unavailable, model_refused, no_diagnosis, budget_exhausted, timed_out, attempts_exhausted, autofix_disabled, plan_required, issue_not_found, or internal_error. Runs that ended before Volcano picked the models for every run may also report api_key_rejected, settings_changed, or managed_models_unavailable; no new run reports them.
Changes
- breaking
removed the required property
modelfrom the response with the status - breaking
removed the required property
providerfrom the response with the status - breaking
removed the required property
usagefrom the response with the status
- breaking