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

# Task templates

## GET /api/task-templates/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/":{"get":{"operationId":"task_templates_retrieve","tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/task-templates/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/":{"post":{"operationId":"task_templates_create","tags":["task-templates"],"responses":{"201":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/{id}/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/{id}/":{"get":{"operationId":"task_templates_retrieve_2","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Task template.","required":true}],"tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## PUT /api/task-templates/{id}/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/{id}/":{"put":{"operationId":"task_templates_update","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Task template.","required":true}],"tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## DELETE /api/task-templates/{id}/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/{id}/":{"delete":{"operationId":"task_templates_destroy","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Task template.","required":true}],"tags":["task-templates"],"responses":{"204":{"description":"No response body"}}}}}}
```

## PATCH /api/task-templates/{id}/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/{id}/":{"patch":{"operationId":"task_templates_partial_update","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Task template.","required":true}],"tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/{id}/cascade-info/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/{id}/cascade-info/":{"get":{"operationId":"task_templates_cascade_info_retrieve","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Task template.","required":true}],"tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/{id}/commitment\_transitions/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/{id}/commitment_transitions/":{"get":{"operationId":"task_templates_commitment_transitions_retrieve","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Task template.","required":true}],"tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/task-templates/{id}/commitment\_transitions/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/{id}/commitment_transitions/":{"post":{"operationId":"task_templates_commitment_transitions_create","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Task template.","required":true}],"tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/{id}/neighborhood/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/{id}/neighborhood/":{"get":{"operationId":"task_templates_neighborhood_retrieve","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Task template.","required":true}],"tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/{id}/object/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/{id}/object/":{"get":{"operationId":"task_templates_object_retrieve","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Task template.","required":true}],"tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/analytics/

> Aggregates over the filtered task queryset.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/analytics/":{"get":{"operationId":"task_templates_analytics_retrieve","description":"Aggregates over the filtered task queryset.","tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/assigned\_to/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/assigned_to/":{"get":{"operationId":"task_templates_assigned_to_retrieve","tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/autocomplete/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/autocomplete/":{"get":{"operationId":"task_templates_autocomplete_retrieve","tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/task-templates/batch-action/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/batch-action/":{"post":{"operationId":"task_templates_batch_action_create","tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/calendar/{start}/{end}/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/calendar/{start}/{end}/":{"get":{"operationId":"task_templates_calendar_retrieve","parameters":[{"in":"path","name":"end","schema":{"type":"string","pattern":"^.+$"},"required":true},{"in":"path","name":"start","schema":{"type":"string","pattern":"^.+$"},"required":true}],"tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/commitment\_state/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/commitment_state/":{"get":{"operationId":"task_templates_commitment_state_retrieve","tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/export\_csv/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/export_csv/":{"get":{"operationId":"task_templates_export_csv_retrieve","tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/export\_xlsx/

> Export task templates with a summary sheet and individual sheets for each template's task nodes.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/export_xlsx/":{"get":{"operationId":"task_templates_export_xlsx_retrieve","description":"Export task templates with a summary sheet and individual sheets for each template's task nodes.","tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/per\_status/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/per_status/":{"get":{"operationId":"task_templates_per_status_retrieve","tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/status/

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/status/":{"get":{"operationId":"task_templates_status_retrieve","tags":["task-templates"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/task-templates/yearly\_review/

> Get recurrent task templates grouped by folder for yearly review.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"task-templates"}],"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/task-templates/yearly_review/":{"get":{"operationId":"task_templates_yearly_review_retrieve","description":"Get recurrent task templates grouped by folder for yearly review.","tags":["task-templates"],"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/task-templates.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.
