> 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/risk-assessments.md). Agents can also search and read this documentation through its [MCP server](https://intuitem.gitbook.io/ciso-assistant/~gitbook/mcp).

# Risk assessments

## GET /api/risk-assessments/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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":{"PaginatedRiskAssessmentReadList":{"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/RiskAssessmentRead"}}}},"RiskAssessmentRead":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"path":{"type":"string","readOnly":true},"perimeter":{"type":"string","readOnly":true},"authors":{"type":"array","items":{"type":"string"}},"reviewers":{"type":"array","items":{"type":"string"}},"folder":{"type":"string","readOnly":true},"str":{"type":"string"},"filtering_labels":{"type":"array","items":{"type":"string"}},"risk_scenarios":{"type":"array","items":{"type":"string"}},"risk_scenarios_count":{"type":"integer"},"risk_matrix":{"type":"string","readOnly":true},"ebios_rm_study":{"type":"string","readOnly":true},"validation_flows":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"eta":{"type":"string","format":"date","nullable":true},"due_date":{"type":"string","format":"date","nullable":true},"version":{"type":"string","nullable":true,"description":"Version of the compliance assessment (eg. 1.0, 2.0, etc.)","maxLength":100},"status":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/Status6d9Enum"},{"$ref":"#/components/schemas/BlankEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"observation":{"type":"string","nullable":true},"is_locked":{"type":"boolean","nullable":true},"risk_tolerance":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64"},"ref_id":{"type":"string","nullable":true,"title":"Reference id","maxLength":100},"auto_sync":{"type":"boolean","title":"Automatic sync to actions"}},"required":["authors","created_at","ebios_rm_study","filtering_labels","folder","id","name","path","perimeter","reviewers","risk_matrix","risk_scenarios","risk_scenarios_count","str","updated_at","validation_flows"]},"Status6d9Enum":{"enum":["planned","in_progress","in_review","done","deprecated"],"type":"string","description":"* `planned` - Planned\n* `in_progress` - In progress\n* `in_review` - In review\n* `done` - Done\n* `deprecated` - Deprecated"},"BlankEnum":{"enum":[""]},"NullEnum":{"enum":[null]}}},"paths":{"/api/risk-assessments/":{"get":{"operationId":"risk_assessments_list","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"query","name":"authors","schema":{"type":"array","items":{"type":"string","format":"uuid"}},"explode":true,"style":"form"},{"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":"due_date","schema":{"type":"string","format":"date"}},{"in":"query","name":"due_date__gt","schema":{"type":"string","format":"date"}},{"in":"query","name":"due_date__gte","schema":{"type":"string","format":"date"}},{"in":"query","name":"due_date__isnull","schema":{"type":"boolean"}},{"in":"query","name":"due_date__lt","schema":{"type":"string","format":"date"}},{"in":"query","name":"due_date__lte","schema":{"type":"string","format":"date"}},{"in":"query","name":"due_date__month","schema":{"type":"number"}},{"in":"query","name":"due_date__year","schema":{"type":"number"}},{"in":"query","name":"ebios_rm_study","schema":{"type":"array","items":{"type":"string","format":"uuid"}},"explode":true,"style":"form"},{"in":"query","name":"eta","schema":{"type":"string","format":"date"}},{"in":"query","name":"eta__gt","schema":{"type":"string","format":"date"}},{"in":"query","name":"eta__gte","schema":{"type":"string","format":"date"}},{"in":"query","name":"eta__isnull","schema":{"type":"boolean"}},{"in":"query","name":"eta__lt","schema":{"type":"string","format":"date"}},{"in":"query","name":"eta__lte","schema":{"type":"string","format":"date"}},{"in":"query","name":"eta__month","schema":{"type":"number"}},{"in":"query","name":"eta__year","schema":{"type":"number"}},{"in":"query","name":"filtering_labels","schema":{"type":"array","items":{"type":"string","format":"uuid"}},"explode":true,"style":"form"},{"in":"query","name":"folder","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"}},{"in":"query","name":"name","schema":{"type":"string"}},{"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":"perimeter","schema":{"type":"array","items":{"type":"string","format":"uuid"}},"explode":true,"style":"form"},{"in":"query","name":"ref_id","schema":{"type":"string"}},{"in":"query","name":"reviewers","schema":{"type":"array","items":{"type":"string","format":"uuid"}},"explode":true,"style":"form"},{"in":"query","name":"risk_matrix","schema":{"type":"array","items":{"type":"string","format":"uuid"}},"explode":true,"style":"form"},{"name":"search","required":false,"in":"query","description":"A search term.","schema":{"type":"string"}},{"in":"query","name":"status","schema":{"type":"array","items":{"type":"string","nullable":true,"enum":["--","deprecated","done","in_progress","in_review","planned"]}},"description":"* `planned` - Planned\n* `in_progress` - In progress\n* `in_review` - In review\n* `done` - Done\n* `deprecated` - Deprecated\n* `--` - --","explode":true,"style":"form"},{"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":["risk-assessments"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRiskAssessmentReadList"}}},"description":""}}}}}}
```

## POST /api/risk-assessments/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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":{"RiskAssessmentWrite":{"type":"object","description":"Notifies actors newly added to the fields of `assignment_notifications`\n({m2m field: notification type}) once the save commits.\n\nWraps save() rather than create()/update(), so it sees the final members even\nwhen a subclass sets the m2m itself.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"genericcollection":{"type":"array","items":{"type":"string","format":"uuid","writeOnly":true},"writeOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"eta":{"type":"string","format":"date","nullable":true},"due_date":{"type":"string","format":"date","nullable":true},"version":{"type":"string","nullable":true,"description":"Version of the compliance assessment (eg. 1.0, 2.0, etc.)","maxLength":100},"status":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/Status6d9Enum"},{"$ref":"#/components/schemas/BlankEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"observation":{"type":"string","nullable":true},"is_locked":{"type":"boolean","nullable":true},"risk_tolerance":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64"},"ref_id":{"type":"string","nullable":true,"title":"Reference id","maxLength":100},"auto_sync":{"type":"boolean","title":"Automatic sync to actions"},"folder":{"type":"string","format":"uuid"},"perimeter":{"type":"string","format":"uuid","nullable":true},"risk_matrix":{"type":"string","format":"uuid","description":"WARNING! After choosing it, you will not be able to change it"},"ebios_rm_study":{"type":"string","format":"uuid","nullable":true},"filtering_labels":{"type":"array","items":{"type":"string","format":"uuid","title":"Labels"},"title":"Labels"},"reviewers":{"type":"array","items":{"type":"string","format":"uuid"}},"authors":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["id","name","risk_matrix"]},"Status6d9Enum":{"enum":["planned","in_progress","in_review","done","deprecated"],"type":"string","description":"* `planned` - Planned\n* `in_progress` - In progress\n* `in_review` - In review\n* `done` - Done\n* `deprecated` - Deprecated"},"BlankEnum":{"enum":[""]},"NullEnum":{"enum":[null]}}},"paths":{"/api/risk-assessments/":{"post":{"operationId":"risk_assessments_create","description":"API endpoint that allows risk assessments to be viewed or edited.","tags":["risk-assessments"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RiskAssessmentWrite"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/RiskAssessmentWrite"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RiskAssessmentWrite"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RiskAssessmentWrite"}}},"description":""}}}}}}
```

## GET /api/risk-assessments/{id}/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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":{"RiskAssessmentRead":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"path":{"type":"string","readOnly":true},"perimeter":{"type":"string","readOnly":true},"authors":{"type":"array","items":{"type":"string"}},"reviewers":{"type":"array","items":{"type":"string"}},"folder":{"type":"string","readOnly":true},"str":{"type":"string"},"filtering_labels":{"type":"array","items":{"type":"string"}},"risk_scenarios":{"type":"array","items":{"type":"string"}},"risk_scenarios_count":{"type":"integer"},"risk_matrix":{"type":"string","readOnly":true},"ebios_rm_study":{"type":"string","readOnly":true},"validation_flows":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"eta":{"type":"string","format":"date","nullable":true},"due_date":{"type":"string","format":"date","nullable":true},"version":{"type":"string","nullable":true,"description":"Version of the compliance assessment (eg. 1.0, 2.0, etc.)","maxLength":100},"status":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/Status6d9Enum"},{"$ref":"#/components/schemas/BlankEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"observation":{"type":"string","nullable":true},"is_locked":{"type":"boolean","nullable":true},"risk_tolerance":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64"},"ref_id":{"type":"string","nullable":true,"title":"Reference id","maxLength":100},"auto_sync":{"type":"boolean","title":"Automatic sync to actions"}},"required":["authors","created_at","ebios_rm_study","filtering_labels","folder","id","name","path","perimeter","reviewers","risk_matrix","risk_scenarios","risk_scenarios_count","str","updated_at","validation_flows"]},"Status6d9Enum":{"enum":["planned","in_progress","in_review","done","deprecated"],"type":"string","description":"* `planned` - Planned\n* `in_progress` - In progress\n* `in_review` - In review\n* `done` - Done\n* `deprecated` - Deprecated"},"BlankEnum":{"enum":[""]},"NullEnum":{"enum":[null]}}},"paths":{"/api/risk-assessments/{id}/":{"get":{"operationId":"risk_assessments_retrieve","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RiskAssessmentRead"}}},"description":""}}}}}}
```

## PUT /api/risk-assessments/{id}/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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":{"RiskAssessmentWrite":{"type":"object","description":"Notifies actors newly added to the fields of `assignment_notifications`\n({m2m field: notification type}) once the save commits.\n\nWraps save() rather than create()/update(), so it sees the final members even\nwhen a subclass sets the m2m itself.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"genericcollection":{"type":"array","items":{"type":"string","format":"uuid","writeOnly":true},"writeOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"eta":{"type":"string","format":"date","nullable":true},"due_date":{"type":"string","format":"date","nullable":true},"version":{"type":"string","nullable":true,"description":"Version of the compliance assessment (eg. 1.0, 2.0, etc.)","maxLength":100},"status":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/Status6d9Enum"},{"$ref":"#/components/schemas/BlankEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"observation":{"type":"string","nullable":true},"is_locked":{"type":"boolean","nullable":true},"risk_tolerance":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64"},"ref_id":{"type":"string","nullable":true,"title":"Reference id","maxLength":100},"auto_sync":{"type":"boolean","title":"Automatic sync to actions"},"folder":{"type":"string","format":"uuid"},"perimeter":{"type":"string","format":"uuid","nullable":true},"risk_matrix":{"type":"string","format":"uuid","description":"WARNING! After choosing it, you will not be able to change it"},"ebios_rm_study":{"type":"string","format":"uuid","nullable":true},"filtering_labels":{"type":"array","items":{"type":"string","format":"uuid","title":"Labels"},"title":"Labels"},"reviewers":{"type":"array","items":{"type":"string","format":"uuid"}},"authors":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["id","name","risk_matrix"]},"Status6d9Enum":{"enum":["planned","in_progress","in_review","done","deprecated"],"type":"string","description":"* `planned` - Planned\n* `in_progress` - In progress\n* `in_review` - In review\n* `done` - Done\n* `deprecated` - Deprecated"},"BlankEnum":{"enum":[""]},"NullEnum":{"enum":[null]}}},"paths":{"/api/risk-assessments/{id}/":{"put":{"operationId":"risk_assessments_update","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RiskAssessmentWrite"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/RiskAssessmentWrite"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RiskAssessmentWrite"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RiskAssessmentWrite"}}},"description":""}}}}}}
```

## DELETE /api/risk-assessments/{id}/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/":{"delete":{"operationId":"risk_assessments_destroy","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"204":{"description":"No response body"}}}}}}
```

## PATCH /api/risk-assessments/{id}/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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":{"PatchedRiskAssessmentWrite":{"type":"object","description":"Notifies actors newly added to the fields of `assignment_notifications`\n({m2m field: notification type}) once the save commits.\n\nWraps save() rather than create()/update(), so it sees the final members even\nwhen a subclass sets the m2m itself.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"genericcollection":{"type":"array","items":{"type":"string","format":"uuid","writeOnly":true},"writeOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"eta":{"type":"string","format":"date","nullable":true},"due_date":{"type":"string","format":"date","nullable":true},"version":{"type":"string","nullable":true,"description":"Version of the compliance assessment (eg. 1.0, 2.0, etc.)","maxLength":100},"status":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/Status6d9Enum"},{"$ref":"#/components/schemas/BlankEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"observation":{"type":"string","nullable":true},"is_locked":{"type":"boolean","nullable":true},"risk_tolerance":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64"},"ref_id":{"type":"string","nullable":true,"title":"Reference id","maxLength":100},"auto_sync":{"type":"boolean","title":"Automatic sync to actions"},"folder":{"type":"string","format":"uuid"},"perimeter":{"type":"string","format":"uuid","nullable":true},"risk_matrix":{"type":"string","format":"uuid","description":"WARNING! After choosing it, you will not be able to change it"},"ebios_rm_study":{"type":"string","format":"uuid","nullable":true},"filtering_labels":{"type":"array","items":{"type":"string","format":"uuid","title":"Labels"},"title":"Labels"},"reviewers":{"type":"array","items":{"type":"string","format":"uuid"}},"authors":{"type":"array","items":{"type":"string","format":"uuid"}}}},"Status6d9Enum":{"enum":["planned","in_progress","in_review","done","deprecated"],"type":"string","description":"* `planned` - Planned\n* `in_progress` - In progress\n* `in_review` - In review\n* `done` - Done\n* `deprecated` - Deprecated"},"BlankEnum":{"enum":[""]},"NullEnum":{"enum":[null]},"RiskAssessmentWrite":{"type":"object","description":"Notifies actors newly added to the fields of `assignment_notifications`\n({m2m field: notification type}) once the save commits.\n\nWraps save() rather than create()/update(), so it sees the final members even\nwhen a subclass sets the m2m itself.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"genericcollection":{"type":"array","items":{"type":"string","format":"uuid","writeOnly":true},"writeOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"eta":{"type":"string","format":"date","nullable":true},"due_date":{"type":"string","format":"date","nullable":true},"version":{"type":"string","nullable":true,"description":"Version of the compliance assessment (eg. 1.0, 2.0, etc.)","maxLength":100},"status":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/Status6d9Enum"},{"$ref":"#/components/schemas/BlankEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"observation":{"type":"string","nullable":true},"is_locked":{"type":"boolean","nullable":true},"risk_tolerance":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64"},"ref_id":{"type":"string","nullable":true,"title":"Reference id","maxLength":100},"auto_sync":{"type":"boolean","title":"Automatic sync to actions"},"folder":{"type":"string","format":"uuid"},"perimeter":{"type":"string","format":"uuid","nullable":true},"risk_matrix":{"type":"string","format":"uuid","description":"WARNING! After choosing it, you will not be able to change it"},"ebios_rm_study":{"type":"string","format":"uuid","nullable":true},"filtering_labels":{"type":"array","items":{"type":"string","format":"uuid","title":"Labels"},"title":"Labels"},"reviewers":{"type":"array","items":{"type":"string","format":"uuid"}},"authors":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["id","name","risk_matrix"]}}},"paths":{"/api/risk-assessments/{id}/":{"patch":{"operationId":"risk_assessments_partial_update","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedRiskAssessmentWrite"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedRiskAssessmentWrite"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedRiskAssessmentWrite"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RiskAssessmentWrite"}}},"description":""}}}}}}
```

## GET /api/risk-assessments/{id}/action-plan/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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":{"PaginatedRiskAssessmentActionPlanList":{"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/RiskAssessmentActionPlan"}}}},"RiskAssessmentActionPlan":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"ref_id":{"type":"string","nullable":true,"title":"Reference id","maxLength":100},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"folder":{"type":"string","readOnly":true},"status":{"type":"string"},"eta":{"type":"string","format":"date","nullable":true,"description":"Estimated Time of Arrival"},"expiry_date":{"type":"string","format":"date","nullable":true,"description":"Date after which the applied control is no longer valid"},"priority":{"type":"string"},"category":{"type":"string"},"csf_function":{"type":"string"},"effort":{"type":"string"},"control_impact":{"type":"string"},"cost":{},"annual_cost":{"type":"string","format":"decimal","pattern":"^-?\\d{0,10}(?:\\.\\d{0,2})?$","readOnly":true},"ranking_score":{"type":"integer"},"risk_scenarios":{"type":"string","readOnly":true},"reference_control":{"type":"string","readOnly":true},"evidences":{"type":"array","items":{"type":"string"}},"owner":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true}},"required":["annual_cost","category","control_impact","cost","created_at","csf_function","effort","evidences","folder","id","name","owner","priority","ranking_score","reference_control","risk_scenarios","status","updated_at"]}}},"paths":{"/api/risk-assessments/{id}/action-plan/":{"get":{"operationId":"risk_assessments_action_plan_list","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true},{"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"}},{"name":"search","required":false,"in":"query","description":"A search term.","schema":{"type":"string"}}],"tags":["risk-assessments"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRiskAssessmentActionPlanList"}}},"description":""}}}}}}
```

## GET /api/risk-assessments/{id}/action-plan/budget-overview/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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":{"PaginatedRiskAssessmentActionPlanList":{"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/RiskAssessmentActionPlan"}}}},"RiskAssessmentActionPlan":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"ref_id":{"type":"string","nullable":true,"title":"Reference id","maxLength":100},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"folder":{"type":"string","readOnly":true},"status":{"type":"string"},"eta":{"type":"string","format":"date","nullable":true,"description":"Estimated Time of Arrival"},"expiry_date":{"type":"string","format":"date","nullable":true,"description":"Date after which the applied control is no longer valid"},"priority":{"type":"string"},"category":{"type":"string"},"csf_function":{"type":"string"},"effort":{"type":"string"},"control_impact":{"type":"string"},"cost":{},"annual_cost":{"type":"string","format":"decimal","pattern":"^-?\\d{0,10}(?:\\.\\d{0,2})?$","readOnly":true},"ranking_score":{"type":"integer"},"risk_scenarios":{"type":"string","readOnly":true},"reference_control":{"type":"string","readOnly":true},"evidences":{"type":"array","items":{"type":"string"}},"owner":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true}},"required":["annual_cost","category","control_impact","cost","created_at","csf_function","effort","evidences","folder","id","name","owner","priority","ranking_score","reference_control","risk_scenarios","status","updated_at"]}}},"paths":{"/api/risk-assessments/{id}/action-plan/budget-overview/":{"get":{"operationId":"risk_assessments_action_plan_budget_overview_list","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"required":true},{"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"}},{"name":"search","required":false,"in":"query","description":"A search term.","schema":{"type":"string"}}],"tags":["risk-assessments"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRiskAssessmentActionPlanList"}}},"description":""}}}}}}
```

## GET /api/risk-assessments/{id}/action\_plan\_excel/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/action_plan_excel/":{"get":{"operationId":"risk_assessments_action_plan_excel_retrieve","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/action\_plan\_pdf/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/action_plan_pdf/":{"get":{"operationId":"risk_assessments_action_plan_pdf_retrieve","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/cascade-info/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/cascade-info/":{"get":{"operationId":"risk_assessments_cascade_info_retrieve","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/risk-assessments/{id}/convert\_to\_quantitative/

> Convert a qualitative risk assessment to a quantitative risk study.\
> \
> Expected payload:\
> {\
> &#x20;   "probability\_anchors": \[{"index": 0, "value": 0.05}, ...],\
> &#x20;   "impact\_anchors": \[{"index": 0, "central\_value": 25000}, ...],\
> &#x20;   "loss\_threshold": 100000\
> }

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/convert_to_quantitative/":{"post":{"operationId":"risk_assessments_convert_to_quantitative_create","description":"Convert a qualitative risk assessment to a quantitative risk study.\n\nExpected payload:\n{\n    \"probability_anchors\": [{\"index\": 0, \"value\": 0.05}, ...],\n    \"impact_anchors\": [{\"index\": 0, \"central_value\": 25000}, ...],\n    \"loss_threshold\": 100000\n}","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/risk-assessments/{id}/duplicate/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/duplicate/":{"post":{"operationId":"risk_assessments_duplicate_create","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/neighborhood/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/neighborhood/":{"get":{"operationId":"risk_assessments_neighborhood_retrieve","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/object/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/object/":{"get":{"operationId":"risk_assessments_object_retrieve","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/quality\_check/

> Returns the quality check of the risk\_assessment

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/quality_check/":{"get":{"operationId":"risk_assessments_quality_check_retrieve_2","description":"Returns the quality check of the risk_assessment","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/risk\_analytics/

> Analytics data for a single risk assessment.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/risk_analytics/":{"get":{"operationId":"risk_assessments_risk_analytics_retrieve","description":"Analytics data for a single risk assessment.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/risk\_assessment\_csv/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/risk_assessment_csv/":{"get":{"operationId":"risk_assessments_risk_assessment_csv_retrieve","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/risk\_assessment\_pdf/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/risk_assessment_pdf/":{"get":{"operationId":"risk_assessments_risk_assessment_pdf_retrieve","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/risk\_assessment\_xlsx/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/risk_assessment_xlsx/":{"get":{"operationId":"risk_assessments_risk_assessment_xlsx_retrieve","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/risk\_timeline/

> Returns risk metrics over time from BuiltinMetricSample snapshots.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/risk_timeline/":{"get":{"operationId":"risk_assessments_risk_timeline_retrieve","description":"Returns risk metrics over time from BuiltinMetricSample snapshots.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/scenario-selection/

> Resolve the \`scenario\_\_\*\` params into the selected scenarios.\
> \
> Only the scenarios the user can view are selected and counted, as in\
> the scenario list. Returns the selected ids and counts and the values\
> dropped because their object no longer exists. \`facets\` holds the filters with a fixed set of\
> values (tolerance, treatment, levels): how many scenarios each value\
> would keep given the other active filters. \`related\_filters\` holds the\
> filters on related objects (owner, threats, assets, qualifications,\
> labels): whether the assessment has any to pick, and the labels of the\
> values applied. Their options are paged, see \`scenario-selection/options/\`.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/scenario-selection/":{"get":{"operationId":"risk_assessments_scenario_selection_retrieve","description":"Resolve the `scenario__*` params into the selected scenarios.\n\nOnly the scenarios the user can view are selected and counted, as in\nthe scenario list. Returns the selected ids and counts and the values\ndropped because their object no longer exists. `facets` holds the filters with a fixed set of\nvalues (tolerance, treatment, levels): how many scenarios each value\nwould keep given the other active filters. `related_filters` holds the\nfilters on related objects (owner, threats, assets, qualifications,\nlabels): whether the assessment has any to pick, and the labels of the\nvalues applied. Their options are paged, see `scenario-selection/options/`.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/scenario-selection/options/

> One page of the values a related selection filter offers.\
> \
> \`filter\` names the filter: owner, threats, assets, qualifications or\
> filtering\_labels. Only objects viewable by the user and linked to a\
> scenario of this assessment they can view are listed. Each comes with\
> the number of such scenarios it would keep given the other\
> \`scenario\_\_\*\` params. Applied\
> values come first, then the values keeping the most scenarios.\
> \
> \`q\` narrows the options by label (\`search\` already searches the risk\
> assessments themselves). \`limit\` (25 by default, 100 at most) and\
> \`offset\` page through them.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/scenario-selection/options/":{"get":{"operationId":"risk_assessments_scenario_selection_options_retrieve","description":"One page of the values a related selection filter offers.\n\n`filter` names the filter: owner, threats, assets, qualifications or\nfiltering_labels. Only objects viewable by the user and linked to a\nscenario of this assessment they can view are listed. Each comes with\nthe number of such scenarios it would keep given the other\n`scenario__*` params. Applied\nvalues come first, then the values keeping the most scenarios.\n\n`q` narrows the options by label (`search` already searches the risk\nassessments themselves). `limit` (25 by default, 100 at most) and\n`offset` page through them.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/risk-assessments/{id}/sync-to-actions/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/sync-to-actions/":{"post":{"operationId":"risk_assessments_sync_to_actions_create","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/risk-assessments/{id}/sync\_from\_ebios\_rm/

> Synchronize an existing risk assessment with its linked EBIOS RM study.\
> Handles hybrid cases where different objects are at different workshop levels.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/sync_from_ebios_rm/":{"post":{"operationId":"risk_assessments_sync_from_ebios_rm_create","description":"Synchronize an existing risk assessment with its linked EBIOS RM study.\nHandles hybrid cases where different objects are at different workshop levels.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/sync\_preview/

> Preview what a sync from EBIOS RM would produce.\
> Auto-detects sync sources and returns them with impact/likelihood info.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/sync_preview/":{"get":{"operationId":"risk_assessments_sync_preview_retrieve","description":"Preview what a sync from EBIOS RM would produce.\nAuto-detects sync sources and returns them with impact/likelihood info.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/{id}/x-rays/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/{id}/x-rays/":{"get":{"operationId":"risk_assessments_x_rays_retrieve","description":"API endpoint that allows risk assessments to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Risk assessment.","required":true}],"tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/autocomplete/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/autocomplete/":{"get":{"operationId":"risk_assessments_autocomplete_retrieve","description":"API endpoint that allows risk assessments to be viewed or edited.","tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/risk-assessments/batch-action/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/batch-action/":{"post":{"operationId":"risk_assessments_batch_action_create","description":"API endpoint that allows risk assessments to be viewed or edited.","tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/per\_status/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/per_status/":{"get":{"operationId":"risk_assessments_per_status_retrieve","description":"API endpoint that allows risk assessments to be viewed or edited.","tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/quality\_check/

> Returns the quality check of the risk assessments

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/quality_check/":{"get":{"operationId":"risk_assessments_quality_check_retrieve","description":"Returns the quality check of the risk assessments","tags":["risk-assessments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/risk-assessments/status/

> API endpoint that allows risk assessments to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"risk-assessments"}],"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/risk-assessments/status/":{"get":{"operationId":"risk_assessments_status_retrieve","description":"API endpoint that allows risk assessments to be viewed or edited.","tags":["risk-assessments"],"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/risk-assessments.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.
