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

# Document containers

## GET /api/document-containers/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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":{"PaginatedDocumentContainerReadList":{"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/DocumentContainerRead"}}}},"DocumentContainerRead":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"folder":{"type":"string","readOnly":true},"policies":{"type":"array","items":{"type":"string"}},"applied_controls":{"type":"array","items":{"type":"string"}},"task_templates":{"type":"array","items":{"type":"string"}},"processings":{"type":"array","items":{"type":"string"}},"assets":{"type":"array","items":{"type":"string"}},"reviewers":{"type":"array","items":{"type":"string"}},"filtering_labels":{"type":"array","items":{"type":"string"}},"classification":{"type":"string","readOnly":true},"document_count":{"type":"string","readOnly":true},"status":{"type":"string","readOnly":true},"progress":{"type":"string","readOnly":true},"pending_revision":{"type":"string","readOnly":true},"source":{"type":"string","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"document_type":{"$ref":"#/components/schemas/DocumentTypeEnum"},"ref_id":{"type":"string","title":"Reference ID","maxLength":100},"name":{"type":"string","maxLength":200},"description":{"type":"string"}},"required":["applied_controls","assets","classification","created_at","document_count","filtering_labels","folder","id","pending_revision","policies","processings","progress","reviewers","source","status","task_templates","updated_at"]},"DocumentTypeEnum":{"enum":["policy","procedure","charter","record","meeting_minutes","other"],"type":"string","description":"* `policy` - Policy\n* `procedure` - Procedure\n* `charter` - Charter\n* `record` - Record\n* `meeting_minutes` - Meeting minutes\n* `other` - Other"}}},"paths":{"/api/document-containers/":{"get":{"operationId":"document_containers_list","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","parameters":[{"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":["document-containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedDocumentContainerReadList"}}},"description":""}}}}}}
```

## POST /api/document-containers/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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":{"DocumentContainerWrite":{"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},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"document_type":{"$ref":"#/components/schemas/DocumentTypeEnum"},"ref_id":{"type":"string","title":"Reference ID","maxLength":100},"name":{"type":"string","maxLength":200},"description":{"type":"string"},"folder":{"type":"string","format":"uuid"},"classification":{"type":"string","format":"uuid","nullable":true},"filtering_labels":{"type":"array","items":{"type":"string","format":"uuid","title":"Labels"},"title":"Labels"},"policies":{"type":"array","items":{"type":"string","format":"uuid"}},"applied_controls":{"type":"array","items":{"type":"string","format":"uuid"}},"task_templates":{"type":"array","items":{"type":"string","format":"uuid"}},"processings":{"type":"array","items":{"type":"string","format":"uuid"}},"assets":{"type":"array","items":{"type":"string","format":"uuid"}},"reviewers":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["created_at","id","updated_at"]},"DocumentTypeEnum":{"enum":["policy","procedure","charter","record","meeting_minutes","other"],"type":"string","description":"* `policy` - Policy\n* `procedure` - Procedure\n* `charter` - Charter\n* `record` - Record\n* `meeting_minutes` - Meeting minutes\n* `other` - Other"}}},"paths":{"/api/document-containers/":{"post":{"operationId":"document_containers_create","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","tags":["document-containers"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentContainerWrite"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/DocumentContainerWrite"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DocumentContainerWrite"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentContainerWrite"}}},"description":""}}}}}}
```

## GET /api/document-containers/{id}/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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":{"DocumentContainerRead":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"folder":{"type":"string","readOnly":true},"policies":{"type":"array","items":{"type":"string"}},"applied_controls":{"type":"array","items":{"type":"string"}},"task_templates":{"type":"array","items":{"type":"string"}},"processings":{"type":"array","items":{"type":"string"}},"assets":{"type":"array","items":{"type":"string"}},"reviewers":{"type":"array","items":{"type":"string"}},"filtering_labels":{"type":"array","items":{"type":"string"}},"classification":{"type":"string","readOnly":true},"document_count":{"type":"string","readOnly":true},"status":{"type":"string","readOnly":true},"progress":{"type":"string","readOnly":true},"pending_revision":{"type":"string","readOnly":true},"source":{"type":"string","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"document_type":{"$ref":"#/components/schemas/DocumentTypeEnum"},"ref_id":{"type":"string","title":"Reference ID","maxLength":100},"name":{"type":"string","maxLength":200},"description":{"type":"string"}},"required":["applied_controls","assets","classification","created_at","document_count","filtering_labels","folder","id","pending_revision","policies","processings","progress","reviewers","source","status","task_templates","updated_at"]},"DocumentTypeEnum":{"enum":["policy","procedure","charter","record","meeting_minutes","other"],"type":"string","description":"* `policy` - Policy\n* `procedure` - Procedure\n* `charter` - Charter\n* `record` - Record\n* `meeting_minutes` - Meeting minutes\n* `other` - Other"}}},"paths":{"/api/document-containers/{id}/":{"get":{"operationId":"document_containers_retrieve","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["document-containers"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentContainerRead"}}},"description":""}}}}}}
```

## PUT /api/document-containers/{id}/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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":{"DocumentContainerWrite":{"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},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"document_type":{"$ref":"#/components/schemas/DocumentTypeEnum"},"ref_id":{"type":"string","title":"Reference ID","maxLength":100},"name":{"type":"string","maxLength":200},"description":{"type":"string"},"folder":{"type":"string","format":"uuid"},"classification":{"type":"string","format":"uuid","nullable":true},"filtering_labels":{"type":"array","items":{"type":"string","format":"uuid","title":"Labels"},"title":"Labels"},"policies":{"type":"array","items":{"type":"string","format":"uuid"}},"applied_controls":{"type":"array","items":{"type":"string","format":"uuid"}},"task_templates":{"type":"array","items":{"type":"string","format":"uuid"}},"processings":{"type":"array","items":{"type":"string","format":"uuid"}},"assets":{"type":"array","items":{"type":"string","format":"uuid"}},"reviewers":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["created_at","id","updated_at"]},"DocumentTypeEnum":{"enum":["policy","procedure","charter","record","meeting_minutes","other"],"type":"string","description":"* `policy` - Policy\n* `procedure` - Procedure\n* `charter` - Charter\n* `record` - Record\n* `meeting_minutes` - Meeting minutes\n* `other` - Other"}}},"paths":{"/api/document-containers/{id}/":{"put":{"operationId":"document_containers_update","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Document container.","required":true}],"tags":["document-containers"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentContainerWrite"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/DocumentContainerWrite"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DocumentContainerWrite"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentContainerWrite"}}},"description":""}}}}}}
```

## DELETE /api/document-containers/{id}/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/{id}/":{"delete":{"operationId":"document_containers_destroy","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Document container.","required":true}],"tags":["document-containers"],"responses":{"204":{"description":"No response body"}}}}}}
```

## PATCH /api/document-containers/{id}/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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":{"PatchedDocumentContainerWrite":{"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},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"document_type":{"$ref":"#/components/schemas/DocumentTypeEnum"},"ref_id":{"type":"string","title":"Reference ID","maxLength":100},"name":{"type":"string","maxLength":200},"description":{"type":"string"},"folder":{"type":"string","format":"uuid"},"classification":{"type":"string","format":"uuid","nullable":true},"filtering_labels":{"type":"array","items":{"type":"string","format":"uuid","title":"Labels"},"title":"Labels"},"policies":{"type":"array","items":{"type":"string","format":"uuid"}},"applied_controls":{"type":"array","items":{"type":"string","format":"uuid"}},"task_templates":{"type":"array","items":{"type":"string","format":"uuid"}},"processings":{"type":"array","items":{"type":"string","format":"uuid"}},"assets":{"type":"array","items":{"type":"string","format":"uuid"}},"reviewers":{"type":"array","items":{"type":"string","format":"uuid"}}}},"DocumentTypeEnum":{"enum":["policy","procedure","charter","record","meeting_minutes","other"],"type":"string","description":"* `policy` - Policy\n* `procedure` - Procedure\n* `charter` - Charter\n* `record` - Record\n* `meeting_minutes` - Meeting minutes\n* `other` - Other"},"DocumentContainerWrite":{"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},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"document_type":{"$ref":"#/components/schemas/DocumentTypeEnum"},"ref_id":{"type":"string","title":"Reference ID","maxLength":100},"name":{"type":"string","maxLength":200},"description":{"type":"string"},"folder":{"type":"string","format":"uuid"},"classification":{"type":"string","format":"uuid","nullable":true},"filtering_labels":{"type":"array","items":{"type":"string","format":"uuid","title":"Labels"},"title":"Labels"},"policies":{"type":"array","items":{"type":"string","format":"uuid"}},"applied_controls":{"type":"array","items":{"type":"string","format":"uuid"}},"task_templates":{"type":"array","items":{"type":"string","format":"uuid"}},"processings":{"type":"array","items":{"type":"string","format":"uuid"}},"assets":{"type":"array","items":{"type":"string","format":"uuid"}},"reviewers":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["created_at","id","updated_at"]}}},"paths":{"/api/document-containers/{id}/":{"patch":{"operationId":"document_containers_partial_update","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Document container.","required":true}],"tags":["document-containers"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedDocumentContainerWrite"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedDocumentContainerWrite"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedDocumentContainerWrite"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentContainerWrite"}}},"description":""}}}}}}
```

## POST /api/document-containers/{id}/add-locale/

> Add a new locale variant to this container with its first revision\
> (link or uploaded) in a single transaction. Atomic on purpose: creating\
> the locale document and then attaching the link/file as two calls could\
> leave an orphaned empty authored document if the second call failed.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/{id}/add-locale/":{"post":{"operationId":"document_containers_add_locale_create","description":"Add a new locale variant to this container with its first revision\n(link or uploaded) in a single transaction. Atomic on purpose: creating\nthe locale document and then attaching the link/file as two calls could\nleave an orphaned empty authored document if the second call failed.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Document container.","required":true}],"tags":["document-containers"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/document-containers/{id}/cascade-info/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/{id}/cascade-info/":{"get":{"operationId":"document_containers_cascade_info_retrieve","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["document-containers"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/document-containers/{id}/neighborhood/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/{id}/neighborhood/":{"get":{"operationId":"document_containers_neighborhood_retrieve","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["document-containers"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/document-containers/{id}/object/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/{id}/object/":{"get":{"operationId":"document_containers_object_retrieve","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["document-containers"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/document-containers/{id}/references/

> Computed doc-to-doc references for a container: outgoing (this links\
> to) and incoming (linked from).

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/{id}/references/":{"get":{"operationId":"document_containers_references_retrieve","description":"Computed doc-to-doc references for a container: outgoing (this links\nto) and incoming (linked from).","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["document-containers"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/document-containers/autocomplete/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/autocomplete/":{"get":{"operationId":"document_containers_autocomplete_retrieve","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","tags":["document-containers"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/document-containers/batch-action/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/batch-action/":{"post":{"operationId":"document_containers_batch_action_create","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","tags":["document-containers"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/document-containers/catalog/

> Reading catalog: one entry per container that has at least one\
> published revision, with the latest published revision per locale.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/catalog/":{"get":{"operationId":"document_containers_catalog_retrieve","description":"Reading catalog: one entry per container that has at least one\npublished revision, with the latest published revision per locale.","tags":["document-containers"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/document-containers/document\_type/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/document_type/":{"get":{"operationId":"document_containers_document_type_retrieve","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","tags":["document-containers"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/document-containers/link/

> Create a document that points at an external URL, versioned and\
> lifecycle-managed like authored/uploaded documents.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/link/":{"post":{"operationId":"document_containers_link_create","description":"Create a document that points at an external URL, versioned and\nlifecycle-managed like authored/uploaded documents.","tags":["document-containers"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/document-containers/source/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/source/":{"get":{"operationId":"document_containers_source_retrieve","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","tags":["document-containers"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/document-containers/status/

> API endpoint that allows document containers (the language-independent\
> identity of a managed document) to be viewed or edited.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/status/":{"get":{"operationId":"document_containers_status_retrieve","description":"API endpoint that allows document containers (the language-independent\nidentity of a managed document) to be viewed or edited.","tags":["document-containers"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/document-containers/upload/

> Create a document from an uploaded file, bypassing the markdown editor.\
> The file is stored as a published 'uploaded' revision so it appears in the\
> reading catalog immediately.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"document-containers"}],"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/document-containers/upload/":{"post":{"operationId":"document_containers_upload_create","description":"Create a document from an uploaded file, bypassing the markdown editor.\nThe file is stored as a published 'uploaded' revision so it appears in the\nreading catalog immediately.","tags":["document-containers"],"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/document-containers.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.
