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 |
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 |
Required. The workflow instance id. |
workflowDefinitionId |
Required. The workflow definition id. |
alertId |
Required. The alert id. |
rating |
Required. The rating of the feedback. |
options[] |
Optional. The options selected by the user. |
comment |
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-platformhttps://www.googleapis.com/auth/chroniclehttps://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.