> For the complete documentation index, see [llms.txt](https://docs.dropzone.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dropzone.ai/api/investigation-feedback.md).

# Investigation Feedback

## PATCH /app/api/v1/investigation-bulk-feedback

> Bulk update investigation feedback\
> \<br>\
> \<br>\
> Fields omitted from \<code>feedback\</code> are left unchanged.\
> Set a nullable field to \<code>null\</code> to clear it.\
> \<br>\
> \<br>\
> \<code>feedback.status\</code> options:\
> \<ul>\
> \<li>New = \<code>dz\_new\</code>\</li> \<li>In Progress = \<code>dz\_in\_progress\</code>\</li> \<li>On Hold = \<code>dz\_on\_hold\</code>\</li> \<li>Closed = \<code>dz\_closed\</code>\</li>\
> \</ul>\
> \<br>\
> \<code>feedback.outcome\</code> options:\
> \<ul>\
> \<li>Malicious = \<code>COMPLETED\_BREACHED\_CONFIRMED\</code>\</li> \<li>Suspicious = \<code>COMPLETED\_BREACHED\_SUSPICIOUS\</code>\</li> \<li>Benign = \<code>COMPLETED\_FALSE\_ALERT\</code>\</li> \<li>Inconclusive = \<code>INCOMPLETE\</code>\</li> \<li>Ignored = \<code>IGNORED\</code>\</li>\
> \</ul>\
> \<code>feedback.priority\</code> options:\
> \<ul>\
> \<li>Informational = \<code>informational\</code>\</li> \<li>Notable = \<code>notable\</code>\</li> \<li>Urgent = \<code>urgent\</code>\</li>\
> \</ul>\
> \<code>feedback.assignee\</code> accepts the user's integer \<code>id\</code> (\<code>user.id\</code>).<br>

```json
{"openapi":"3.0.3","info":{"title":"Dropzone AI","version":"0.1.0"},"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"PatchedBulkInvestigationFeedbackRequest":{"type":"object","description":"Request body for updating feedback on multiple investigations at once.","properties":{"investigation_ids":{"type":"array","items":{"type":"integer"}},"feedback":{"$ref":"#/components/schemas/InvestigationFeedbackPatch"}}},"InvestigationFeedbackPatch":{"type":"object","description":"Validates the `feedback` patch object accepted by the external feedback\nendpoints (single and bulk). Every field is optional so callers can patch\nany subset of the feedback.","properties":{"status":{"$ref":"#/components/schemas/InvestigationFeedbackPatchStatusEnum"},"assignee":{"type":"integer","nullable":true,"description":"The user's integer id (user.id), or null to remove the assignee."},"outcome":{"$ref":"#/components/schemas/InvestigationFeedbackOutcomeEnum"},"priority":{"$ref":"#/components/schemas/PriorityEnum"},"outcome_note":{"type":"string"},"exclude_learning":{"type":"boolean","description":"Set true to exclude from context memory generation"}}},"InvestigationFeedbackPatchStatusEnum":{"enum":["dz_new","dz_in_progress","dz_on_hold","dz_closed","in_review","reviewed"],"type":"string","description":"* `dz_new` - New\n* `dz_in_progress` - In Progress\n* `dz_on_hold` - On Hold\n* `dz_closed` - Closed\n* `in_review` - dz_new\n* `reviewed` - dz_closed"},"InvestigationFeedbackOutcomeEnum":{"enum":["COMPLETED_BREACHED_CONFIRMED","COMPLETED_BREACHED_SUSPICIOUS","COMPLETED_FALSE_ALERT","INCOMPLETE","IGNORED"],"type":"string","description":"* `COMPLETED_BREACHED_CONFIRMED` - Malicious\n* `COMPLETED_BREACHED_SUSPICIOUS` - Suspicious\n* `COMPLETED_FALSE_ALERT` - Benign\n* `INCOMPLETE` - Inconclusive\n* `IGNORED` - Ignored"},"PriorityEnum":{"enum":["informational","notable","urgent"],"type":"string","description":"* `informational` - Informational\n* `notable` - Notable\n* `urgent` - Urgent"}}},"paths":{"/app/api/v1/investigation-bulk-feedback":{"patch":{"operationId":"investigation_bulk_feedback_partial_update","description":"Bulk update investigation feedback\n<br>\n<br>\nFields omitted from <code>feedback</code> are left unchanged.\nSet a nullable field to <code>null</code> to clear it.\n<br>\n<br>\n<code>feedback.status</code> options:\n<ul>\n<li>New = <code>dz_new</code></li> <li>In Progress = <code>dz_in_progress</code></li> <li>On Hold = <code>dz_on_hold</code></li> <li>Closed = <code>dz_closed</code></li>\n</ul>\n<br>\n<code>feedback.outcome</code> options:\n<ul>\n<li>Malicious = <code>COMPLETED_BREACHED_CONFIRMED</code></li> <li>Suspicious = <code>COMPLETED_BREACHED_SUSPICIOUS</code></li> <li>Benign = <code>COMPLETED_FALSE_ALERT</code></li> <li>Inconclusive = <code>INCOMPLETE</code></li> <li>Ignored = <code>IGNORED</code></li>\n</ul>\n<code>feedback.priority</code> options:\n<ul>\n<li>Informational = <code>informational</code></li> <li>Notable = <code>notable</code></li> <li>Urgent = <code>urgent</code></li>\n</ul>\n<code>feedback.assignee</code> accepts the user's integer <code>id</code> (<code>user.id</code>).\n","tags":["investigation-feedback"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedBulkInvestigationFeedbackRequest"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedBulkInvestigationFeedbackRequest"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedBulkInvestigationFeedbackRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"investigation_id":{"type":"number"}}}}},"description":"Feedback updated"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Bad request - invalid input"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"},"error_msg":{"type":"string"},"required_permission":{"type":"object","description":"RBAC permission the caller lacks. Present when the permission check denies the request.","properties":{"resource":{"type":"string"},"action":{"type":"string"}}}}}}},"description":"Access denied"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System error"},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System not ready for requests"}}}}}}
```

## PATCH /app/api/v1/investigation/{investigation\_id}/feedback

> Update feedback for a single investigation\
> \<br>\
> \<br>\
> Fields omitted from \<code>feedback\</code> are left unchanged.\
> Set a nullable field to \<code>null\</code> to clear it.\
> \<br>\
> \<br>\
> \<code>feedback.status\</code> options:\
> \<ul>\
> \<li>New = \<code>dz\_new\</code>\</li> \<li>In Progress = \<code>dz\_in\_progress\</code>\</li> \<li>On Hold = \<code>dz\_on\_hold\</code>\</li> \<li>Closed = \<code>dz\_closed\</code>\</li>\
> \</ul>\
> \<br>\
> \<code>feedback.outcome\</code> options:\
> \<ul>\
> \<li>Malicious = \<code>COMPLETED\_BREACHED\_CONFIRMED\</code>\</li> \<li>Suspicious = \<code>COMPLETED\_BREACHED\_SUSPICIOUS\</code>\</li> \<li>Benign = \<code>COMPLETED\_FALSE\_ALERT\</code>\</li> \<li>Inconclusive = \<code>INCOMPLETE\</code>\</li> \<li>Ignored = \<code>IGNORED\</code>\</li>\
> \</ul>\
> \<code>feedback.priority\</code> options:\
> \<ul>\
> \<li>Informational = \<code>informational\</code>\</li> \<li>Notable = \<code>notable\</code>\</li> \<li>Urgent = \<code>urgent\</code>\</li>\
> \</ul>\
> \<code>feedback.assignee\</code> accepts the user's integer \<code>id\</code> (\<code>user.id\</code>).<br>

```json
{"openapi":"3.0.3","info":{"title":"Dropzone AI","version":"0.1.0"},"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"PatchedInvestigationFeedbackRequest":{"type":"object","description":"Request body for updating feedback on a single investigation.","properties":{"feedback":{"$ref":"#/components/schemas/InvestigationFeedbackPatch"}}},"InvestigationFeedbackPatch":{"type":"object","description":"Validates the `feedback` patch object accepted by the external feedback\nendpoints (single and bulk). Every field is optional so callers can patch\nany subset of the feedback.","properties":{"status":{"$ref":"#/components/schemas/InvestigationFeedbackPatchStatusEnum"},"assignee":{"type":"integer","nullable":true,"description":"The user's integer id (user.id), or null to remove the assignee."},"outcome":{"$ref":"#/components/schemas/InvestigationFeedbackOutcomeEnum"},"priority":{"$ref":"#/components/schemas/PriorityEnum"},"outcome_note":{"type":"string"},"exclude_learning":{"type":"boolean","description":"Set true to exclude from context memory generation"}}},"InvestigationFeedbackPatchStatusEnum":{"enum":["dz_new","dz_in_progress","dz_on_hold","dz_closed","in_review","reviewed"],"type":"string","description":"* `dz_new` - New\n* `dz_in_progress` - In Progress\n* `dz_on_hold` - On Hold\n* `dz_closed` - Closed\n* `in_review` - dz_new\n* `reviewed` - dz_closed"},"InvestigationFeedbackOutcomeEnum":{"enum":["COMPLETED_BREACHED_CONFIRMED","COMPLETED_BREACHED_SUSPICIOUS","COMPLETED_FALSE_ALERT","INCOMPLETE","IGNORED"],"type":"string","description":"* `COMPLETED_BREACHED_CONFIRMED` - Malicious\n* `COMPLETED_BREACHED_SUSPICIOUS` - Suspicious\n* `COMPLETED_FALSE_ALERT` - Benign\n* `INCOMPLETE` - Inconclusive\n* `IGNORED` - Ignored"},"PriorityEnum":{"enum":["informational","notable","urgent"],"type":"string","description":"* `informational` - Informational\n* `notable` - Notable\n* `urgent` - Urgent"}}},"paths":{"/app/api/v1/investigation/{investigation_id}/feedback":{"patch":{"operationId":"investigation_feedback_partial_update","description":"Update feedback for a single investigation\n<br>\n<br>\nFields omitted from <code>feedback</code> are left unchanged.\nSet a nullable field to <code>null</code> to clear it.\n<br>\n<br>\n<code>feedback.status</code> options:\n<ul>\n<li>New = <code>dz_new</code></li> <li>In Progress = <code>dz_in_progress</code></li> <li>On Hold = <code>dz_on_hold</code></li> <li>Closed = <code>dz_closed</code></li>\n</ul>\n<br>\n<code>feedback.outcome</code> options:\n<ul>\n<li>Malicious = <code>COMPLETED_BREACHED_CONFIRMED</code></li> <li>Suspicious = <code>COMPLETED_BREACHED_SUSPICIOUS</code></li> <li>Benign = <code>COMPLETED_FALSE_ALERT</code></li> <li>Inconclusive = <code>INCOMPLETE</code></li> <li>Ignored = <code>IGNORED</code></li>\n</ul>\n<code>feedback.priority</code> options:\n<ul>\n<li>Informational = <code>informational</code></li> <li>Notable = <code>notable</code></li> <li>Urgent = <code>urgent</code></li>\n</ul>\n<code>feedback.assignee</code> accepts the user's integer <code>id</code> (<code>user.id</code>).\n","parameters":[{"in":"path","name":"investigation_id","schema":{"type":"integer"},"description":"The investigation ID","required":true}],"tags":["investigation-feedback"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedInvestigationFeedbackRequest"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedInvestigationFeedbackRequest"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedInvestigationFeedbackRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"The updated investigation feedback"}}},"description":"Feedback updated"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Bad request - invalid input"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"},"error_msg":{"type":"string"},"required_permission":{"type":"object","description":"RBAC permission the caller lacks. Present when the permission check denies the request.","properties":{"resource":{"type":"string"},"action":{"type":"string"}}}}}}},"description":"Access denied"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Resource not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System error"},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System not ready for requests"}}}}}}
```
