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

# Frameworks

## GET /api/frameworks/

> API endpoint that allows frameworks to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"frameworks"}],"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":{"PaginatedFrameworkReadList":{"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/FrameworkRead"}}}},"FrameworkRead":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string"},"description":{"type":"string","nullable":true},"annotation":{"type":"string","nullable":true},"folder":{"type":"string","readOnly":true},"library":{"type":"string","readOnly":true},"reference_controls":{"type":"array","items":{"type":"string"}},"is_dynamic":{"type":"boolean","readOnly":true},"has_required_evidence":{"type":"boolean","readOnly":true},"has_update":{"type":"boolean","readOnly":true},"has_compliance_assessments":{"type":"string","readOnly":true},"is_scale_bound":{"type":"string","readOnly":true},"scores_definition":{"type":"string","readOnly":true},"effective_field_visibility":{"type":"string","readOnly":true},"third_party_field_visibility":{"type":"string","readOnly":true},"implementation_groups_definition":{"type":"string","readOnly":true},"default_scoring":{"type":"object","additionalProperties":{},"readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"urn":{"type":"string","nullable":true,"maxLength":255},"ref_id":{"type":"string","nullable":true,"title":"Reference ID","maxLength":100},"provider":{"type":"string","nullable":true,"maxLength":200},"locale":{"type":"string","maxLength":100},"default_locale":{"type":"boolean"},"min_score":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Minimum score"},"max_score":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Maximum score"},"result_aggregation":{"allOf":[{"$ref":"#/components/schemas/ResultAggregationEnum"}],"description":"How questionnaire answers combine into a requirement result. 'per_answer' lets each answer stand on its own, so answers that disagree land on partially compliant; 'tiered_all' groups the statements into tiers and awards a tier only when all of it holds.\n\n* `per_answer` - Per answer\n* `tiered_all` - Tiered, all statements of a tier must hold"},"outcomes_definition":{},"field_visibility":{"description":"Per-field visibility template seeded into new CAs: {field_name: {role: 'edit' | 'read' | 'hidden'}}."},"score_scale_locked":{"type":"boolean","description":"The standard defines the score scale: audits cannot change it."},"score_calculation_method":{"type":"string","description":"Calculation method proposed for new audits.","maxLength":30},"anchor_na_to_target":{"type":"boolean","title":"Anchor N/A to target score","description":"New audits count not applicable requirements as the target score."},"target_score":{"type":"number","format":"double","nullable":true,"description":"Target score proposed for new audits, on the framework scale. Implementation groups can override it."},"urn_namespace":{"type":"string","description":"Organization identifier used in the URN prefix.","maxLength":50}},"required":["annotation","created_at","default_scoring","description","effective_field_visibility","folder","has_compliance_assessments","has_required_evidence","has_update","id","implementation_groups_definition","is_dynamic","is_scale_bound","library","name","reference_controls","scores_definition","third_party_field_visibility","updated_at"]},"ResultAggregationEnum":{"enum":["per_answer","tiered_all"],"type":"string","description":"* `per_answer` - Per answer\n* `tiered_all` - Tiered, all statements of a tier must hold"}}},"paths":{"/api/frameworks/":{"get":{"operationId":"frameworks_list","description":"API endpoint that allows frameworks to be viewed or edited.","parameters":[{"in":"query","name":"baseline","schema":{"type":"string"},"description":"Baseline"},{"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":"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"},{"in":"query","name":"in_domain_tree","schema":{"type":"boolean"},"description":"Has audits the domain tree can show"},{"in":"query","name":"library__isnull","schema":{"type":"boolean"}},{"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":"provider","schema":{"type":"string"}},{"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":["frameworks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedFrameworkReadList"}}},"description":""}}}}}}
```

## POST /api/frameworks/

> API endpoint that allows frameworks to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"frameworks"}],"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":{"FrameworkWrite":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"annotation":{"type":"string","nullable":true},"folder":{"type":"string","readOnly":true},"library":{"type":"string","readOnly":true},"reference_controls":{"type":"array","items":{},"readOnly":true},"is_dynamic":{"type":"boolean","readOnly":true},"has_required_evidence":{"type":"boolean","readOnly":true},"has_update":{"type":"boolean","readOnly":true},"has_compliance_assessments":{"type":"string","readOnly":true},"is_scale_bound":{"type":"string","readOnly":true},"scores_definition":{"type":"string","readOnly":true},"effective_field_visibility":{"type":"string","readOnly":true},"third_party_field_visibility":{"type":"string","readOnly":true},"implementation_groups_definition":{"nullable":true},"default_scoring":{"type":"object","additionalProperties":{},"readOnly":true},"score_calculation_method":{"$ref":"#/components/schemas/ScoreCalculationMethodEnum"},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"urn":{"type":"string","nullable":true,"maxLength":255},"ref_id":{"type":"string","nullable":true,"title":"Reference ID","maxLength":100},"provider":{"type":"string","nullable":true,"maxLength":200},"locale":{"type":"string","maxLength":100},"default_locale":{"type":"boolean"},"min_score":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Minimum score"},"max_score":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Maximum score"},"result_aggregation":{"allOf":[{"$ref":"#/components/schemas/ResultAggregationEnum"}],"description":"How questionnaire answers combine into a requirement result. 'per_answer' lets each answer stand on its own, so answers that disagree land on partially compliant; 'tiered_all' groups the statements into tiers and awards a tier only when all of it holds.\n\n* `per_answer` - Per answer\n* `tiered_all` - Tiered, all statements of a tier must hold"},"outcomes_definition":{},"field_visibility":{"description":"Per-field visibility template seeded into new CAs: {field_name: {role: 'edit' | 'read' | 'hidden'}}."},"score_scale_locked":{"type":"boolean","description":"The standard defines the score scale: audits cannot change it."},"anchor_na_to_target":{"type":"boolean","title":"Anchor N/A to target score","description":"New audits count not applicable requirements as the target score."},"target_score":{"type":"number","format":"double","nullable":true,"description":"Target score proposed for new audits, on the framework scale. Implementation groups can override it."},"urn_namespace":{"type":"string","description":"Organization identifier used in the URN prefix.","maxLength":50}},"required":["created_at","default_scoring","effective_field_visibility","folder","has_compliance_assessments","has_required_evidence","has_update","id","is_dynamic","is_scale_bound","library","reference_controls","scores_definition","third_party_field_visibility","updated_at"]},"ScoreCalculationMethodEnum":{"enum":["average","sum","average_of_averages"],"type":"string","description":"* `average` - Average\n* `sum` - Sum\n* `average_of_averages` - Average of averages"},"ResultAggregationEnum":{"enum":["per_answer","tiered_all"],"type":"string","description":"* `per_answer` - Per answer\n* `tiered_all` - Tiered, all statements of a tier must hold"}}},"paths":{"/api/frameworks/":{"post":{"operationId":"frameworks_create","description":"API endpoint that allows frameworks to be viewed or edited.","tags":["frameworks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrameworkWrite"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/FrameworkWrite"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/FrameworkWrite"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrameworkWrite"}}},"description":""}}}}}}
```

## GET /api/frameworks/{id}/

> API endpoint that allows frameworks to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"frameworks"}],"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":{"FrameworkRead":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string"},"description":{"type":"string","nullable":true},"annotation":{"type":"string","nullable":true},"folder":{"type":"string","readOnly":true},"library":{"type":"string","readOnly":true},"reference_controls":{"type":"array","items":{"type":"string"}},"is_dynamic":{"type":"boolean","readOnly":true},"has_required_evidence":{"type":"boolean","readOnly":true},"has_update":{"type":"boolean","readOnly":true},"has_compliance_assessments":{"type":"string","readOnly":true},"is_scale_bound":{"type":"string","readOnly":true},"scores_definition":{"type":"string","readOnly":true},"effective_field_visibility":{"type":"string","readOnly":true},"third_party_field_visibility":{"type":"string","readOnly":true},"implementation_groups_definition":{"type":"string","readOnly":true},"default_scoring":{"type":"object","additionalProperties":{},"readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"urn":{"type":"string","nullable":true,"maxLength":255},"ref_id":{"type":"string","nullable":true,"title":"Reference ID","maxLength":100},"provider":{"type":"string","nullable":true,"maxLength":200},"locale":{"type":"string","maxLength":100},"default_locale":{"type":"boolean"},"min_score":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Minimum score"},"max_score":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Maximum score"},"result_aggregation":{"allOf":[{"$ref":"#/components/schemas/ResultAggregationEnum"}],"description":"How questionnaire answers combine into a requirement result. 'per_answer' lets each answer stand on its own, so answers that disagree land on partially compliant; 'tiered_all' groups the statements into tiers and awards a tier only when all of it holds.\n\n* `per_answer` - Per answer\n* `tiered_all` - Tiered, all statements of a tier must hold"},"outcomes_definition":{},"field_visibility":{"description":"Per-field visibility template seeded into new CAs: {field_name: {role: 'edit' | 'read' | 'hidden'}}."},"score_scale_locked":{"type":"boolean","description":"The standard defines the score scale: audits cannot change it."},"score_calculation_method":{"type":"string","description":"Calculation method proposed for new audits.","maxLength":30},"anchor_na_to_target":{"type":"boolean","title":"Anchor N/A to target score","description":"New audits count not applicable requirements as the target score."},"target_score":{"type":"number","format":"double","nullable":true,"description":"Target score proposed for new audits, on the framework scale. Implementation groups can override it."},"urn_namespace":{"type":"string","description":"Organization identifier used in the URN prefix.","maxLength":50}},"required":["annotation","created_at","default_scoring","description","effective_field_visibility","folder","has_compliance_assessments","has_required_evidence","has_update","id","implementation_groups_definition","is_dynamic","is_scale_bound","library","name","reference_controls","scores_definition","third_party_field_visibility","updated_at"]},"ResultAggregationEnum":{"enum":["per_answer","tiered_all"],"type":"string","description":"* `per_answer` - Per answer\n* `tiered_all` - Tiered, all statements of a tier must hold"}}},"paths":{"/api/frameworks/{id}/":{"get":{"operationId":"frameworks_retrieve","description":"API endpoint that allows frameworks to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Framework.","required":true}],"tags":["frameworks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrameworkRead"}}},"description":""}}}}}}
```

## PUT /api/frameworks/{id}/

> API endpoint that allows frameworks to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"frameworks"}],"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":{"FrameworkWrite":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"annotation":{"type":"string","nullable":true},"folder":{"type":"string","readOnly":true},"library":{"type":"string","readOnly":true},"reference_controls":{"type":"array","items":{},"readOnly":true},"is_dynamic":{"type":"boolean","readOnly":true},"has_required_evidence":{"type":"boolean","readOnly":true},"has_update":{"type":"boolean","readOnly":true},"has_compliance_assessments":{"type":"string","readOnly":true},"is_scale_bound":{"type":"string","readOnly":true},"scores_definition":{"type":"string","readOnly":true},"effective_field_visibility":{"type":"string","readOnly":true},"third_party_field_visibility":{"type":"string","readOnly":true},"implementation_groups_definition":{"nullable":true},"default_scoring":{"type":"object","additionalProperties":{},"readOnly":true},"score_calculation_method":{"$ref":"#/components/schemas/ScoreCalculationMethodEnum"},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"urn":{"type":"string","nullable":true,"maxLength":255},"ref_id":{"type":"string","nullable":true,"title":"Reference ID","maxLength":100},"provider":{"type":"string","nullable":true,"maxLength":200},"locale":{"type":"string","maxLength":100},"default_locale":{"type":"boolean"},"min_score":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Minimum score"},"max_score":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Maximum score"},"result_aggregation":{"allOf":[{"$ref":"#/components/schemas/ResultAggregationEnum"}],"description":"How questionnaire answers combine into a requirement result. 'per_answer' lets each answer stand on its own, so answers that disagree land on partially compliant; 'tiered_all' groups the statements into tiers and awards a tier only when all of it holds.\n\n* `per_answer` - Per answer\n* `tiered_all` - Tiered, all statements of a tier must hold"},"outcomes_definition":{},"field_visibility":{"description":"Per-field visibility template seeded into new CAs: {field_name: {role: 'edit' | 'read' | 'hidden'}}."},"score_scale_locked":{"type":"boolean","description":"The standard defines the score scale: audits cannot change it."},"anchor_na_to_target":{"type":"boolean","title":"Anchor N/A to target score","description":"New audits count not applicable requirements as the target score."},"target_score":{"type":"number","format":"double","nullable":true,"description":"Target score proposed for new audits, on the framework scale. Implementation groups can override it."},"urn_namespace":{"type":"string","description":"Organization identifier used in the URN prefix.","maxLength":50}},"required":["created_at","default_scoring","effective_field_visibility","folder","has_compliance_assessments","has_required_evidence","has_update","id","is_dynamic","is_scale_bound","library","reference_controls","scores_definition","third_party_field_visibility","updated_at"]},"ScoreCalculationMethodEnum":{"enum":["average","sum","average_of_averages"],"type":"string","description":"* `average` - Average\n* `sum` - Sum\n* `average_of_averages` - Average of averages"},"ResultAggregationEnum":{"enum":["per_answer","tiered_all"],"type":"string","description":"* `per_answer` - Per answer\n* `tiered_all` - Tiered, all statements of a tier must hold"}}},"paths":{"/api/frameworks/{id}/":{"put":{"operationId":"frameworks_update","description":"API endpoint that allows frameworks to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Framework.","required":true}],"tags":["frameworks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrameworkWrite"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/FrameworkWrite"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/FrameworkWrite"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrameworkWrite"}}},"description":""}}}}}}
```

## DELETE /api/frameworks/{id}/

> API endpoint that allows frameworks to be viewed or edited.

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

## PATCH /api/frameworks/{id}/

> API endpoint that allows frameworks to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"frameworks"}],"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":{"PatchedFrameworkWrite":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"annotation":{"type":"string","nullable":true},"folder":{"type":"string","readOnly":true},"library":{"type":"string","readOnly":true},"reference_controls":{"type":"array","items":{},"readOnly":true},"is_dynamic":{"type":"boolean","readOnly":true},"has_required_evidence":{"type":"boolean","readOnly":true},"has_update":{"type":"boolean","readOnly":true},"has_compliance_assessments":{"type":"string","readOnly":true},"is_scale_bound":{"type":"string","readOnly":true},"scores_definition":{"type":"string","readOnly":true},"effective_field_visibility":{"type":"string","readOnly":true},"third_party_field_visibility":{"type":"string","readOnly":true},"implementation_groups_definition":{"nullable":true},"default_scoring":{"type":"object","additionalProperties":{},"readOnly":true},"score_calculation_method":{"$ref":"#/components/schemas/ScoreCalculationMethodEnum"},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"urn":{"type":"string","nullable":true,"maxLength":255},"ref_id":{"type":"string","nullable":true,"title":"Reference ID","maxLength":100},"provider":{"type":"string","nullable":true,"maxLength":200},"locale":{"type":"string","maxLength":100},"default_locale":{"type":"boolean"},"min_score":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Minimum score"},"max_score":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Maximum score"},"result_aggregation":{"allOf":[{"$ref":"#/components/schemas/ResultAggregationEnum"}],"description":"How questionnaire answers combine into a requirement result. 'per_answer' lets each answer stand on its own, so answers that disagree land on partially compliant; 'tiered_all' groups the statements into tiers and awards a tier only when all of it holds.\n\n* `per_answer` - Per answer\n* `tiered_all` - Tiered, all statements of a tier must hold"},"outcomes_definition":{},"field_visibility":{"description":"Per-field visibility template seeded into new CAs: {field_name: {role: 'edit' | 'read' | 'hidden'}}."},"score_scale_locked":{"type":"boolean","description":"The standard defines the score scale: audits cannot change it."},"anchor_na_to_target":{"type":"boolean","title":"Anchor N/A to target score","description":"New audits count not applicable requirements as the target score."},"target_score":{"type":"number","format":"double","nullable":true,"description":"Target score proposed for new audits, on the framework scale. Implementation groups can override it."},"urn_namespace":{"type":"string","description":"Organization identifier used in the URN prefix.","maxLength":50}}},"ScoreCalculationMethodEnum":{"enum":["average","sum","average_of_averages"],"type":"string","description":"* `average` - Average\n* `sum` - Sum\n* `average_of_averages` - Average of averages"},"ResultAggregationEnum":{"enum":["per_answer","tiered_all"],"type":"string","description":"* `per_answer` - Per answer\n* `tiered_all` - Tiered, all statements of a tier must hold"},"FrameworkWrite":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"annotation":{"type":"string","nullable":true},"folder":{"type":"string","readOnly":true},"library":{"type":"string","readOnly":true},"reference_controls":{"type":"array","items":{},"readOnly":true},"is_dynamic":{"type":"boolean","readOnly":true},"has_required_evidence":{"type":"boolean","readOnly":true},"has_update":{"type":"boolean","readOnly":true},"has_compliance_assessments":{"type":"string","readOnly":true},"is_scale_bound":{"type":"string","readOnly":true},"scores_definition":{"type":"string","readOnly":true},"effective_field_visibility":{"type":"string","readOnly":true},"third_party_field_visibility":{"type":"string","readOnly":true},"implementation_groups_definition":{"nullable":true},"default_scoring":{"type":"object","additionalProperties":{},"readOnly":true},"score_calculation_method":{"$ref":"#/components/schemas/ScoreCalculationMethodEnum"},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"urn":{"type":"string","nullable":true,"maxLength":255},"ref_id":{"type":"string","nullable":true,"title":"Reference ID","maxLength":100},"provider":{"type":"string","nullable":true,"maxLength":200},"locale":{"type":"string","maxLength":100},"default_locale":{"type":"boolean"},"min_score":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Minimum score"},"max_score":{"type":"integer","maximum":9223372036854776000,"minimum":-9223372036854776000,"format":"int64","title":"Maximum score"},"result_aggregation":{"allOf":[{"$ref":"#/components/schemas/ResultAggregationEnum"}],"description":"How questionnaire answers combine into a requirement result. 'per_answer' lets each answer stand on its own, so answers that disagree land on partially compliant; 'tiered_all' groups the statements into tiers and awards a tier only when all of it holds.\n\n* `per_answer` - Per answer\n* `tiered_all` - Tiered, all statements of a tier must hold"},"outcomes_definition":{},"field_visibility":{"description":"Per-field visibility template seeded into new CAs: {field_name: {role: 'edit' | 'read' | 'hidden'}}."},"score_scale_locked":{"type":"boolean","description":"The standard defines the score scale: audits cannot change it."},"anchor_na_to_target":{"type":"boolean","title":"Anchor N/A to target score","description":"New audits count not applicable requirements as the target score."},"target_score":{"type":"number","format":"double","nullable":true,"description":"Target score proposed for new audits, on the framework scale. Implementation groups can override it."},"urn_namespace":{"type":"string","description":"Organization identifier used in the URN prefix.","maxLength":50}},"required":["created_at","default_scoring","effective_field_visibility","folder","has_compliance_assessments","has_required_evidence","has_update","id","is_dynamic","is_scale_bound","library","reference_controls","scores_definition","third_party_field_visibility","updated_at"]}}},"paths":{"/api/frameworks/{id}/":{"patch":{"operationId":"frameworks_partial_update","description":"API endpoint that allows frameworks to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Framework.","required":true}],"tags":["frameworks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedFrameworkWrite"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedFrameworkWrite"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedFrameworkWrite"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrameworkWrite"}}},"description":""}}}}}}
```

## GET /api/frameworks/{id}/cascade-info/

> API endpoint that allows frameworks to be viewed or edited.

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

## GET /api/frameworks/{id}/domain\_tree/

> This framework's audits summed up per domain, for the domain tree view.\
> \
> Query params:\
> &#x20; \- campaign (uuid): narrow to one campaign's audits.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"frameworks"}],"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/frameworks/{id}/domain_tree/":{"get":{"operationId":"frameworks_domain_tree_retrieve","description":"This framework's audits summed up per domain, for the domain tree view.\n\nQuery params:\n  - campaign (uuid): narrow to one campaign's audits.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Framework.","required":true}],"tags":["frameworks"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/frameworks/{id}/excel\_template/

> API endpoint that allows frameworks to be viewed or edited.

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

## GET /api/frameworks/{id}/mapping\_stats/

> API endpoint that allows frameworks to be viewed or edited.

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

## GET /api/frameworks/{id}/mappings/

> API endpoint that allows frameworks to be viewed or edited.

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

## GET /api/frameworks/{id}/neighborhood/

> API endpoint that allows frameworks to be viewed or edited.

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

## GET /api/frameworks/{id}/object/

> API endpoint that allows frameworks to be viewed or edited.

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

## GET /api/frameworks/{id}/report/

> Cross-assessment report for one framework.\
> \
> Returns a flat list of RequirementAssessment rows across every\
> ComplianceAssessment using this framework that the user can read,\
> plus framework scoring metadata. Redacted fields (per CA's\
> field\_visibility for the viewer's role) come back as null so the\
> row still contributes to domain/section counts.\
> \
> Every CA but deprecated ones participates by default; deprecated CAs\
> are superseded by a newer audit on the same folder and would otherwise\
> double-count requirements. Planned CAs count but carry no verdicts.\
> \
> Query params:\
> &#x20; \- implementation\_group (str): narrow to a single IG.\
> &#x20;   Default honors each CA's selected\_implementation\_groups.\
> &#x20; \- campaign (uuid): narrow to one campaign's audits. A campaign is\
> &#x20;   already an explicit scope, so planned audits are kept — they are the\
> &#x20;   normal state right after a launch and cannot double-count here.\
> &#x20; \- statuses ("live"): count only live audits (LIVE\_STATUSES below).\
> &#x20;   Default counts every status but deprecated.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"frameworks"}],"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/frameworks/{id}/report/":{"get":{"operationId":"frameworks_report_retrieve","description":"Cross-assessment report for one framework.\n\nReturns a flat list of RequirementAssessment rows across every\nComplianceAssessment using this framework that the user can read,\nplus framework scoring metadata. Redacted fields (per CA's\nfield_visibility for the viewer's role) come back as null so the\nrow still contributes to domain/section counts.\n\nEvery CA but deprecated ones participates by default; deprecated CAs\nare superseded by a newer audit on the same folder and would otherwise\ndouble-count requirements. Planned CAs count but carry no verdicts.\n\nQuery params:\n  - implementation_group (str): narrow to a single IG.\n    Default honors each CA's selected_implementation_groups.\n  - campaign (uuid): narrow to one campaign's audits. A campaign is\n    already an explicit scope, so planned audits are kept — they are the\n    normal state right after a launch and cannot double-count here.\n  - statuses (\"live\"): count only live audits (LIVE_STATUSES below).\n    Default counts every status but deprecated.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Framework.","required":true}],"tags":["frameworks"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/frameworks/{id}/requirement\_evidences/

> Zip of the evidences of picked requirement assessments of this framework.\
> \
> JSON body:\
> &#x20; \- requirement\_assessments (uuids, required): the selection to export.\
> &#x20; \- implementation\_group (str): keep requirements of this group only.\
> Each picked assessment is also checked against what the caller may see.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"frameworks"}],"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/frameworks/{id}/requirement_evidences/":{"post":{"operationId":"frameworks_requirement_evidences_create","description":"Zip of the evidences of picked requirement assessments of this framework.\n\nJSON body:\n  - requirement_assessments (uuids, required): the selection to export.\n  - implementation_group (str): keep requirements of this group only.\nEach picked assessment is also checked against what the caller may see.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Framework.","required":true}],"tags":["frameworks"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/frameworks/{id}/serve-image/{attachment\_id}/

> Serve an image attachment belonging to this framework.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"frameworks"}],"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/frameworks/{id}/serve-image/{attachment_id}/":{"get":{"operationId":"frameworks_serve_image_retrieve","description":"Serve an image attachment belonging to this framework.","parameters":[{"in":"path","name":"attachment_id","schema":{"type":"string","pattern":"^[0-9a-f-]+$"},"required":true},{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Framework.","required":true}],"tags":["frameworks"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/frameworks/{id}/tree/

> API endpoint that allows frameworks to be viewed or edited.

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

## GET /api/frameworks/autocomplete/

> API endpoint that allows frameworks to be viewed or edited.

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

## POST /api/frameworks/batch-action/

> API endpoint that allows frameworks to be viewed or edited.

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

## GET /api/frameworks/names/

> API endpoint that allows frameworks to be viewed or edited.

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

## GET /api/frameworks/provider/

> API endpoint that allows frameworks to be viewed or edited.

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

## GET /api/frameworks/used/

> API endpoint that allows frameworks to be viewed or edited.

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