Method: legacyPlaybooks.legacyCreateFeedback

Full name: projects.locations.instances.legacyPlaybooks.legacyCreateFeedback

Records user feedback (e.g., ratings and comments) for an AI-generated playbook. Use this method to contribute to the continuous improvement of automated response quality.

HTTP request


POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacyPlaybooks:legacyCreateFeedback

Path parameters

Parameters
instance

string

Required. The instance to create the feedback for. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "workflowInstanceId": string,
  "workflowDefinitionId": string,
  "alertId": string,
  "rating": string,
  "options": [
    string
  ],
  "comment": string
}
Fields
workflowInstanceId

string (int64 format)

Required. The workflow instance id.

workflowDefinitionId

string

Required. The workflow definition id.

alertId

string

Required. The alert id.

rating

string

Required. The rating of the feedback.

options[]

string

Optional. The options selected by the user.

comment

string

Optional. The comment left by the user.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/chronicle
  • https://www.googleapis.com/auth/chronicle.readonly

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the instance resource:

  • chronicle.legacyPlaybooks.update

For more information, see the IAM documentation.