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

# Commitments

## GET /api/commitments/

> Read-only register of every promise, across the models that carry them.\
> \
> Transitions stay on the host's own endpoint: the step depends on who is accountable there.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"commitments"}],"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":{"PaginatedCommitmentReadList":{"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/CommitmentRead"}}}},"CommitmentRead":{"type":"object","description":"The cross-model register: every promise, whoever it is about.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"folder":{"type":"string","readOnly":true},"committed_by":{"type":"string","readOnly":true},"target":{"type":"string","readOnly":true},"target_type":{"type":"string","readOnly":true},"is_breached":{"type":"boolean","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"state":{"allOf":[{"$ref":"#/components/schemas/CommitmentReadStateEnum"}],"title":"Commitment state"},"committed_eta":{"type":"string","format":"date","nullable":true,"title":"Committed date","description":"The date promised, frozen when the commitment is made"},"committed_at":{"type":"string","format":"date-time","nullable":true,"description":"When the promise was made — not the date promised"},"notes":{"type":"string","nullable":true,"title":"Commitment notes"},"is_current":{"type":"boolean"}},"required":["committed_by","created_at","folder","id","is_breached","target","target_type","updated_at"]},"CommitmentReadStateEnum":{"enum":["--","in_negotiation","committed","declined","fulfilled"],"type":"string","description":"* `--` - Undefined\n* `in_negotiation` - In negotiation\n* `committed` - Committed\n* `declined` - Declined\n* `fulfilled` - Fulfilled"}}},"paths":{"/api/commitments/":{"get":{"operationId":"commitments_list","description":"Read-only register of every promise, across the models that carry them.\n\nTransitions stay on the host's own endpoint: the step depends on who is accountable there.","parameters":[{"in":"query","name":"committed_by","schema":{"type":"array","items":{"type":"string","format":"uuid"}},"explode":true,"style":"form"},{"in":"query","name":"committed_eta","schema":{"type":"string","format":"date"}},{"in":"query","name":"committed_eta__gt","schema":{"type":"string","format":"date"}},{"in":"query","name":"committed_eta__gte","schema":{"type":"string","format":"date"}},{"in":"query","name":"committed_eta__isnull","schema":{"type":"boolean"}},{"in":"query","name":"committed_eta__lt","schema":{"type":"string","format":"date"}},{"in":"query","name":"committed_eta__lte","schema":{"type":"string","format":"date"}},{"in":"query","name":"committed_eta__month","schema":{"type":"number"}},{"in":"query","name":"committed_eta__year","schema":{"type":"number"}},{"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":"is_current","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"}},{"name":"search","required":false,"in":"query","description":"A search term.","schema":{"type":"string"}},{"in":"query","name":"state","schema":{"type":"array","items":{"type":"string","title":"Commitment state","enum":["--","committed","declined","fulfilled","in_negotiation"]}},"description":"* `--` - Undefined\n* `in_negotiation` - In negotiation\n* `committed` - Committed\n* `declined` - Declined\n* `fulfilled` - Fulfilled","explode":true,"style":"form"},{"in":"query","name":"updated_at__date","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__date__gt","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__date__gte","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__date__lt","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__date__lte","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"updated_at__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"updated_at__isnull","schema":{"type":"boolean"}},{"in":"query","name":"updated_at__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"updated_at__lte","schema":{"type":"string","format":"date-time"}}],"tags":["commitments"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCommitmentReadList"}}},"description":""}}}}}}
```

## GET /api/commitments/{id}/

> Read-only register of every promise, across the models that carry them.\
> \
> Transitions stay on the host's own endpoint: the step depends on who is accountable there.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"commitments"}],"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":{"CommitmentRead":{"type":"object","description":"The cross-model register: every promise, whoever it is about.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"folder":{"type":"string","readOnly":true},"committed_by":{"type":"string","readOnly":true},"target":{"type":"string","readOnly":true},"target_type":{"type":"string","readOnly":true},"is_breached":{"type":"boolean","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"state":{"allOf":[{"$ref":"#/components/schemas/CommitmentReadStateEnum"}],"title":"Commitment state"},"committed_eta":{"type":"string","format":"date","nullable":true,"title":"Committed date","description":"The date promised, frozen when the commitment is made"},"committed_at":{"type":"string","format":"date-time","nullable":true,"description":"When the promise was made — not the date promised"},"notes":{"type":"string","nullable":true,"title":"Commitment notes"},"is_current":{"type":"boolean"}},"required":["committed_by","created_at","folder","id","is_breached","target","target_type","updated_at"]},"CommitmentReadStateEnum":{"enum":["--","in_negotiation","committed","declined","fulfilled"],"type":"string","description":"* `--` - Undefined\n* `in_negotiation` - In negotiation\n* `committed` - Committed\n* `declined` - Declined\n* `fulfilled` - Fulfilled"}}},"paths":{"/api/commitments/{id}/":{"get":{"operationId":"commitments_retrieve","description":"Read-only register of every promise, across the models that carry them.\n\nTransitions stay on the host's own endpoint: the step depends on who is accountable there.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Commitment.","required":true}],"tags":["commitments"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommitmentRead"}}},"description":""}}}}}}
```

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

> Read-only register of every promise, across the models that carry them.\
> \
> Transitions stay on the host's own endpoint: the step depends on who is accountable there.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"commitments"}],"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/commitments/{id}/cascade-info/":{"get":{"operationId":"commitments_cascade_info_retrieve","description":"Read-only register of every promise, across the models that carry them.\n\nTransitions stay on the host's own endpoint: the step depends on who is accountable there.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Commitment.","required":true}],"tags":["commitments"],"responses":{"200":{"description":"No response body"}}}}}}
```

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

> Read-only register of every promise, across the models that carry them.\
> \
> Transitions stay on the host's own endpoint: the step depends on who is accountable there.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"commitments"}],"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/commitments/{id}/neighborhood/":{"get":{"operationId":"commitments_neighborhood_retrieve","description":"Read-only register of every promise, across the models that carry them.\n\nTransitions stay on the host's own endpoint: the step depends on who is accountable there.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Commitment.","required":true}],"tags":["commitments"],"responses":{"200":{"description":"No response body"}}}}}}
```

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

> Read-only register of every promise, across the models that carry them.\
> \
> Transitions stay on the host's own endpoint: the step depends on who is accountable there.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"commitments"}],"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/commitments/{id}/object/":{"get":{"operationId":"commitments_object_retrieve","description":"Read-only register of every promise, across the models that carry them.\n\nTransitions stay on the host's own endpoint: the step depends on who is accountable there.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Commitment.","required":true}],"tags":["commitments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/commitments/autocomplete/

> Read-only register of every promise, across the models that carry them.\
> \
> Transitions stay on the host's own endpoint: the step depends on who is accountable there.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"commitments"}],"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/commitments/autocomplete/":{"get":{"operationId":"commitments_autocomplete_retrieve","description":"Read-only register of every promise, across the models that carry them.\n\nTransitions stay on the host's own endpoint: the step depends on who is accountable there.","tags":["commitments"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/commitments/state/

> Read-only register of every promise, across the models that carry them.\
> \
> Transitions stay on the host's own endpoint: the step depends on who is accountable there.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"commitments"}],"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/commitments/state/":{"get":{"operationId":"commitments_state_retrieve","description":"Read-only register of every promise, across the models that carry them.\n\nTransitions stay on the host's own endpoint: the step depends on who is accountable there.","tags":["commitments"],"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/commitments.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.
