> For the complete documentation index, see [llms.txt](https://intuitem.gitbook.io/ciso-assistant/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://intuitem.gitbook.io/ciso-assistant/api-documentation/api-reference/evidence-revisions.md). Agents can also search and read this documentation through its [MCP server](https://intuitem.gitbook.io/ciso-assistant/~gitbook/mcp).

# Evidence revisions

## GET /api/evidence-revisions/

> API endpoint that allows evidence revisions to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"PaginatedEvidenceRevisionReadList":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/EvidenceRevisionRead"}}}},"EvidenceRevisionRead":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"attachment":{"type":"string"},"size":{"type":"string"},"evidence":{"type":"string","readOnly":true},"folder":{"type":"string","readOnly":true},"str":{"type":"string"},"task_node":{"type":"string","readOnly":true},"uploaded_by":{"type":"string","readOnly":true},"reviewed_by":{"type":"string","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"version":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Version number"},"attachment_hash":{"type":"string","nullable":true,"title":"Attachment SHA256 Hash","description":"SHA256 hash of the attachment file for integrity verification","maxLength":64},"original_filename":{"type":"string","title":"Original file name","description":"The name the file was uploaded with","maxLength":255},"link":{"nullable":true,"oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"observation":{"type":"string","nullable":true},"review_status":{"$ref":"#/components/schemas/ReviewStatusEnum"},"reviewed_at":{"type":"string","format":"date-time","nullable":true},"review_comment":{"type":"string"}},"required":["attachment","created_at","evidence","folder","id","reviewed_by","size","str","task_node","updated_at","uploaded_by"]},"ReviewStatusEnum":{"enum":["pending","approved","rejected"],"type":"string","description":"* `pending` - Pending\n* `approved` - Approved\n* `rejected` - Rejected"}}},"paths":{"/api/evidence-revisions/":{"get":{"operationId":"evidence_revisions_list","description":"API endpoint that allows evidence revisions to be viewed or edited.","parameters":[{"in":"query","name":"created_at__date","schema":{"type":"string","format":"date"}},{"in":"query","name":"created_at__date__gt","schema":{"type":"string","format":"date"}},{"in":"query","name":"created_at__date__gte","schema":{"type":"string","format":"date"}},{"in":"query","name":"created_at__date__lt","schema":{"type":"string","format":"date"}},{"in":"query","name":"created_at__date__lte","schema":{"type":"string","format":"date"}},{"in":"query","name":"created_at__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"created_at__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"created_at__isnull","schema":{"type":"boolean"}},{"in":"query","name":"created_at__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"created_at__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"evidence","schema":{"type":"array","items":{"type":"string","format":"uuid"}},"explode":true,"style":"form"},{"in":"query","name":"genericcollection","schema":{"type":"array","items":{"type":"string","format":"uuid"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id","schema":{"type":"array","items":{"type":"string","format":"uuid"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}},{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"review_status","schema":{"type":"array","items":{"type":"string","enum":["approved","pending","rejected"]}},"description":"* `pending` - Pending\n* `approved` - Approved\n* `rejected` - Rejected","explode":true,"style":"form"},{"name":"search","required":false,"in":"query","description":"A search term.","schema":{"type":"string"}},{"in":"query","name":"updated_at__date","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__date__gt","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__date__gte","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__date__lt","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__date__lte","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"updated_at__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"updated_at__isnull","schema":{"type":"boolean"}},{"in":"query","name":"updated_at__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"updated_at__lte","schema":{"type":"string","format":"date-time"}}],"tags":["evidence-revisions"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedEvidenceRevisionReadList"}}},"description":""}}}}}}
```

## POST /api/evidence-revisions/

> API endpoint that allows evidence revisions to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"EvidenceRevisionWrite":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"version":{"type":"integer","readOnly":true,"title":"Version number"},"attachment":{"type":"string","format":"uri","nullable":true},"attachment_hash":{"type":"string","nullable":true,"title":"Attachment SHA256 Hash","description":"SHA256 hash of the attachment file for integrity verification","maxLength":64},"original_filename":{"type":"string","title":"Original file name","description":"The name the file was uploaded with","maxLength":255},"link":{"nullable":true,"oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"observation":{"type":"string","nullable":true},"review_status":{"allOf":[{"$ref":"#/components/schemas/ReviewStatusEnum"}],"readOnly":true},"reviewed_at":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"review_comment":{"type":"string","readOnly":true},"folder":{"type":"string","format":"uuid"},"evidence":{"type":"string","format":"uuid"},"task_node":{"type":"string","format":"uuid","nullable":true},"uploaded_by":{"type":"string","format":"uuid","readOnly":true,"nullable":true},"reviewed_by":{"type":"string","format":"uuid","readOnly":true,"nullable":true}},"required":["created_at","evidence","id","review_comment","review_status","reviewed_at","reviewed_by","updated_at","uploaded_by","version"]},"ReviewStatusEnum":{"enum":["pending","approved","rejected"],"type":"string","description":"* `pending` - Pending\n* `approved` - Approved\n* `rejected` - Rejected"}}},"paths":{"/api/evidence-revisions/":{"post":{"operationId":"evidence_revisions_create","description":"API endpoint that allows evidence revisions to be viewed or edited.","tags":["evidence-revisions"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceRevisionWrite"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/EvidenceRevisionWrite"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/EvidenceRevisionWrite"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceRevisionWrite"}}},"description":""}}}}}}
```

## GET /api/evidence-revisions/{id}/

> API endpoint that allows evidence revisions to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"EvidenceRevisionRead":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"attachment":{"type":"string"},"size":{"type":"string"},"evidence":{"type":"string","readOnly":true},"folder":{"type":"string","readOnly":true},"str":{"type":"string"},"task_node":{"type":"string","readOnly":true},"uploaded_by":{"type":"string","readOnly":true},"reviewed_by":{"type":"string","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"version":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Version number"},"attachment_hash":{"type":"string","nullable":true,"title":"Attachment SHA256 Hash","description":"SHA256 hash of the attachment file for integrity verification","maxLength":64},"original_filename":{"type":"string","title":"Original file name","description":"The name the file was uploaded with","maxLength":255},"link":{"nullable":true,"oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"observation":{"type":"string","nullable":true},"review_status":{"$ref":"#/components/schemas/ReviewStatusEnum"},"reviewed_at":{"type":"string","format":"date-time","nullable":true},"review_comment":{"type":"string"}},"required":["attachment","created_at","evidence","folder","id","reviewed_by","size","str","task_node","updated_at","uploaded_by"]},"ReviewStatusEnum":{"enum":["pending","approved","rejected"],"type":"string","description":"* `pending` - Pending\n* `approved` - Approved\n* `rejected` - Rejected"}}},"paths":{"/api/evidence-revisions/{id}/":{"get":{"operationId":"evidence_revisions_retrieve","description":"API endpoint that allows evidence revisions to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Evidence Revision.","required":true}],"tags":["evidence-revisions"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceRevisionRead"}}},"description":""}}}}}}
```

## PUT /api/evidence-revisions/{id}/

> API endpoint that allows evidence revisions to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"EvidenceRevisionWrite":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"version":{"type":"integer","readOnly":true,"title":"Version number"},"attachment":{"type":"string","format":"uri","nullable":true},"attachment_hash":{"type":"string","nullable":true,"title":"Attachment SHA256 Hash","description":"SHA256 hash of the attachment file for integrity verification","maxLength":64},"original_filename":{"type":"string","title":"Original file name","description":"The name the file was uploaded with","maxLength":255},"link":{"nullable":true,"oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"observation":{"type":"string","nullable":true},"review_status":{"allOf":[{"$ref":"#/components/schemas/ReviewStatusEnum"}],"readOnly":true},"reviewed_at":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"review_comment":{"type":"string","readOnly":true},"folder":{"type":"string","format":"uuid"},"evidence":{"type":"string","format":"uuid"},"task_node":{"type":"string","format":"uuid","nullable":true},"uploaded_by":{"type":"string","format":"uuid","readOnly":true,"nullable":true},"reviewed_by":{"type":"string","format":"uuid","readOnly":true,"nullable":true}},"required":["created_at","evidence","id","review_comment","review_status","reviewed_at","reviewed_by","updated_at","uploaded_by","version"]},"ReviewStatusEnum":{"enum":["pending","approved","rejected"],"type":"string","description":"* `pending` - Pending\n* `approved` - Approved\n* `rejected` - Rejected"}}},"paths":{"/api/evidence-revisions/{id}/":{"put":{"operationId":"evidence_revisions_update","description":"API endpoint that allows evidence revisions to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Evidence Revision.","required":true}],"tags":["evidence-revisions"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceRevisionWrite"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/EvidenceRevisionWrite"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/EvidenceRevisionWrite"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceRevisionWrite"}}},"description":""}}}}}}
```

## DELETE /api/evidence-revisions/{id}/

> API endpoint that allows evidence revisions to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}}},"paths":{"/api/evidence-revisions/{id}/":{"delete":{"operationId":"evidence_revisions_destroy","description":"API endpoint that allows evidence revisions to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Evidence Revision.","required":true}],"tags":["evidence-revisions"],"responses":{"204":{"description":"No response body"}}}}}}
```

## PATCH /api/evidence-revisions/{id}/

> API endpoint that allows evidence revisions to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"PatchedEvidenceRevisionWrite":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"version":{"type":"integer","readOnly":true,"title":"Version number"},"attachment":{"type":"string","format":"uri","nullable":true},"attachment_hash":{"type":"string","nullable":true,"title":"Attachment SHA256 Hash","description":"SHA256 hash of the attachment file for integrity verification","maxLength":64},"original_filename":{"type":"string","title":"Original file name","description":"The name the file was uploaded with","maxLength":255},"link":{"nullable":true,"oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"observation":{"type":"string","nullable":true},"review_status":{"allOf":[{"$ref":"#/components/schemas/ReviewStatusEnum"}],"readOnly":true},"reviewed_at":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"review_comment":{"type":"string","readOnly":true},"folder":{"type":"string","format":"uuid"},"evidence":{"type":"string","format":"uuid"},"task_node":{"type":"string","format":"uuid","nullable":true},"uploaded_by":{"type":"string","format":"uuid","readOnly":true,"nullable":true},"reviewed_by":{"type":"string","format":"uuid","readOnly":true,"nullable":true}}},"ReviewStatusEnum":{"enum":["pending","approved","rejected"],"type":"string","description":"* `pending` - Pending\n* `approved` - Approved\n* `rejected` - Rejected"},"EvidenceRevisionWrite":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"version":{"type":"integer","readOnly":true,"title":"Version number"},"attachment":{"type":"string","format":"uri","nullable":true},"attachment_hash":{"type":"string","nullable":true,"title":"Attachment SHA256 Hash","description":"SHA256 hash of the attachment file for integrity verification","maxLength":64},"original_filename":{"type":"string","title":"Original file name","description":"The name the file was uploaded with","maxLength":255},"link":{"nullable":true,"oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"observation":{"type":"string","nullable":true},"review_status":{"allOf":[{"$ref":"#/components/schemas/ReviewStatusEnum"}],"readOnly":true},"reviewed_at":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"review_comment":{"type":"string","readOnly":true},"folder":{"type":"string","format":"uuid"},"evidence":{"type":"string","format":"uuid"},"task_node":{"type":"string","format":"uuid","nullable":true},"uploaded_by":{"type":"string","format":"uuid","readOnly":true,"nullable":true},"reviewed_by":{"type":"string","format":"uuid","readOnly":true,"nullable":true}},"required":["created_at","evidence","id","review_comment","review_status","reviewed_at","reviewed_by","updated_at","uploaded_by","version"]}}},"paths":{"/api/evidence-revisions/{id}/":{"patch":{"operationId":"evidence_revisions_partial_update","description":"API endpoint that allows evidence revisions to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Evidence Revision.","required":true}],"tags":["evidence-revisions"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedEvidenceRevisionWrite"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedEvidenceRevisionWrite"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedEvidenceRevisionWrite"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceRevisionWrite"}}},"description":""}}}}}}
```

## GET /api/evidence-revisions/{id}/attachment/

> API endpoint that allows evidence revisions to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}}},"paths":{"/api/evidence-revisions/{id}/attachment/":{"get":{"operationId":"evidence_revisions_attachment_retrieve","description":"API endpoint that allows evidence revisions to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Evidence Revision.","required":true}],"tags":["evidence-revisions"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/evidence-revisions/{id}/cascade-info/

> API endpoint that allows evidence revisions to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}}},"paths":{"/api/evidence-revisions/{id}/cascade-info/":{"get":{"operationId":"evidence_revisions_cascade_info_retrieve","description":"API endpoint that allows evidence revisions to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Evidence Revision.","required":true}],"tags":["evidence-revisions"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/evidence-revisions/{id}/delete\_attachment/

> API endpoint that allows evidence revisions to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}}},"paths":{"/api/evidence-revisions/{id}/delete_attachment/":{"post":{"operationId":"evidence_revisions_delete_attachment_create","description":"API endpoint that allows evidence revisions to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Evidence Revision.","required":true}],"tags":["evidence-revisions"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/evidence-revisions/{id}/neighborhood/

> API endpoint that allows evidence revisions to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}}},"paths":{"/api/evidence-revisions/{id}/neighborhood/":{"get":{"operationId":"evidence_revisions_neighborhood_retrieve","description":"API endpoint that allows evidence revisions to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Evidence Revision.","required":true}],"tags":["evidence-revisions"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/evidence-revisions/{id}/object/

> API endpoint that allows evidence revisions to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}}},"paths":{"/api/evidence-revisions/{id}/object/":{"get":{"operationId":"evidence_revisions_object_retrieve","description":"API endpoint that allows evidence revisions to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Evidence Revision.","required":true}],"tags":["evidence-revisions"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/evidence-revisions/{id}/review/

> Approve or reject this revision: {"decision": "approved"|"rejected", "comment": str}.\
> "pending" undoes the caller's own decision.\
> "seen": {"attachment\_hash", "link"} is the content the reviewer had on screen: the\
> decision is refused if the file or link was swapped in place since.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}}},"paths":{"/api/evidence-revisions/{id}/review/":{"post":{"operationId":"evidence_revisions_review_create","description":"Approve or reject this revision: {\"decision\": \"approved\"|\"rejected\", \"comment\": str}.\n\"pending\" undoes the caller's own decision.\n\"seen\": {\"attachment_hash\", \"link\"} is the content the reviewer had on screen: the\ndecision is refused if the file or link was swapped in place since.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Evidence Revision.","required":true}],"tags":["evidence-revisions"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/evidence-revisions/{id}/upload/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"AttachmentUpload":{"type":"object","properties":{"attachment":{"type":"string","format":"uri"}},"required":["attachment"]}}},"paths":{"/api/evidence-revisions/{id}/upload/":{"post":{"operationId":"evidence_revisions_upload_create","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true}],"tags":["evidence-revisions"],"requestBody":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AttachmentUpload"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentUpload"}}},"description":""}}}}}}
```

## GET /api/evidence-revisions/autocomplete/

> API endpoint that allows evidence revisions to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}}},"paths":{"/api/evidence-revisions/autocomplete/":{"get":{"operationId":"evidence_revisions_autocomplete_retrieve","description":"API endpoint that allows evidence revisions to be viewed or edited.","tags":["evidence-revisions"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/evidence-revisions/batch-action/

> API endpoint that allows evidence revisions to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"evidence-revisions"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}}},"paths":{"/api/evidence-revisions/batch-action/":{"post":{"operationId":"evidence_revisions_batch_action_create","description":"API endpoint that allows evidence revisions to be viewed or edited.","tags":["evidence-revisions"],"responses":{"200":{"description":"No response body"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://intuitem.gitbook.io/ciso-assistant/api-documentation/api-reference/evidence-revisions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
