Autofix

One autofix incident.

Changed on
get/projects/{project_id}/autofix/incidents/{incident_id}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/projects/{project_id}/autofix/incidents/{incident_id}
  • Auth: HTTP bearer

Path parameters

project_idinteger required

Project ID

incident_idstring required

Incident public id

Response

attemptsinteger required
base_revisionstring nullable
branchstring nullable
closed_atstring date-time nullable
confidenceinteger nullable

Confidence level reached, 0-5: see assessment for what it proves.

conversation_idstring nullable

Public id of the incident chat.

created_atstring date-time required
decided_atstring date-time nullable
decided_by_user_idinteger nullable
decisionstring nullable
deliverystring nullable
deployment_idinteger nullable
environment_idinteger nullable
error_group_idinteger required
failure_reasonstring nullable
has_patchboolean required
head_revisionstring nullable
idstring required

Public id (afx_…).

is_openboolean required
owner_user_idinteger required
phasestring required

queued, prepare, reproduce, verify, deliver or done.

pr_numberinteger nullable
pr_urlstring nullable
project_idinteger required
sandbox_idstring nullable

Public id of the sandbox while it exists.

source_kindstring nullable
statusstring required

open, working, awaiting_review, merged, applied, rejected, failed or stopped.

summarystring nullable
titlestring required
triggerstring required

manual or automatic.

updated_atstring date-time required
workspace_idstring nullable

Public id of the workspace the chat is in.

Changes