---
title: "Stop a commitment and its future wakes"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stop a commitment and its future wakes

Path: CloudRaker Workspace API › My assistant

`POST /me/assistant/commitments/{commitmentId}/stop`

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `commitmentId` (`stopMyAssistantCommitment.path.commitmentId`; string, required)
  - pattern `^cmt_[0-9A-HJKMNP-TV-Z]{26}$`

## Code samples

### cURL

```bash
curl --request POST \
  --url 'https://api.cloudraker.com/me/assistant/commitments/<commitmentId>/stop' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/me/assistant/commitments/<commitmentId>/stop';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/me/assistant/commitments/<commitmentId>/stop"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.text)
```

## Responses

### 200

Stop a commitment and its future wakes

#### Example

```json
{
  "data": {
    "id": "string",
    "outcome": "string",
    "completion": "string",
    "nextAction": "string",
    "schedule": "string",
    "state": "active",
    "origin": "chat",
    "background": true,
    "originEntryId": "string",
    "nextWakeAt": "2026-10-08T09:00:00-04:00",
    "waitingFor": "string",
    "blocker": "string",
    "version": -9007199254740991,
    "running": true,
    "updatedAt": "2026-10-08T09:00:00-04:00",
    "attempts": {
      "total": -9007199254740991,
      "succeeded": -9007199254740991,
      "failed": -9007199254740991
    },
    "receipts": [
      {
        "attemptId": "string",
        "state": "running",
        "startedAt": "2026-10-08T09:00:00-04:00",
        "finishedAt": "2026-10-08T09:00:00-04:00",
        "outcome": "unverified",
        "outcomeDetail": "string",
        "result": {
          "fileId": "string",
          "name": "string"
        },
        "delivery": {
          "state": "none",
          "at": "2026-10-08T09:00:00-04:00",
          "entryId": "string",
          "reason": "string"
        }
      }
    ]
  }
}
```

- `data` (`stopMyAssistantCommitment.response.200.data`; object, required)
  - `id` (`stopMyAssistantCommitment.response.200.data.id`; string, required)
    - pattern `^cmt_[0-9A-HJKMNP-TV-Z]{26}$`
  - `outcome` (`stopMyAssistantCommitment.response.200.data.outcome`; string, required)
  - `completion` (`stopMyAssistantCommitment.response.200.data.completion`; string, required)
  - `nextAction` (`stopMyAssistantCommitment.response.200.data.nextAction`; string, required)
  - `schedule` (`stopMyAssistantCommitment.response.200.data.schedule`; string | null, required)
  - `state` (`stopMyAssistantCommitment.response.200.data.state`; string, required)
    - one of `"active"`, `"waiting"`, `"blocked"`, `"completed"`, `"cancelled"`, `"failed"`
  - `origin` (`stopMyAssistantCommitment.response.200.data.origin`; string, required)
    - one of `"chat"`, `"routine"`, `"owner"`
  - `background` (`stopMyAssistantCommitment.response.200.data.background`; boolean, required)
  - `originEntryId` (`stopMyAssistantCommitment.response.200.data.originEntryId`; string | null, required)
  - `nextWakeAt` (`stopMyAssistantCommitment.response.200.data.nextWakeAt`; any of, required)
    - any of: `string`, `null`
  - `waitingFor` (`stopMyAssistantCommitment.response.200.data.waitingFor`; string | null, required)
  - `blocker` (`stopMyAssistantCommitment.response.200.data.blocker`; string | null, required)
  - `version` (`stopMyAssistantCommitment.response.200.data.version`; integer, required) — Send it back with an edit.
    - min -9007199254740991; max 9007199254740991
  - `running` (`stopMyAssistantCommitment.response.200.data.running`; boolean, required)
  - `updatedAt` (`stopMyAssistantCommitment.response.200.data.updatedAt`; string, required)
    - example `"2026-10-08T09:00:00-04:00"`
  - `attempts` (`stopMyAssistantCommitment.response.200.data.attempts`; object, required)
    - `total` (`stopMyAssistantCommitment.response.200.data.attempts.total`; integer, required)
      - min -9007199254740991; max 9007199254740991
    - `succeeded` (`stopMyAssistantCommitment.response.200.data.attempts.succeeded`; integer, required)
      - min -9007199254740991; max 9007199254740991
    - `failed` (`stopMyAssistantCommitment.response.200.data.attempts.failed`; integer, required)
      - min -9007199254740991; max 9007199254740991
  - `receipts` (`stopMyAssistantCommitment.response.200.data.receipts`; array<object>, required)
    - `attemptId` (`stopMyAssistantCommitment.response.200.data.receipts.attemptId`; string, required)
    - `state` (`stopMyAssistantCommitment.response.200.data.receipts.state`; string, required)
      - one of `"running"`, `"succeeded"`, `"failed"`, `"cancelled"`, `"unknown_effect"`, `"interrupted"`, `"superseded"`
    - `startedAt` (`stopMyAssistantCommitment.response.200.data.receipts.startedAt`; string, required)
      - example `"2026-10-08T09:00:00-04:00"`
    - `finishedAt` (`stopMyAssistantCommitment.response.200.data.receipts.finishedAt`; any of, required)
      - any of: `string`, `null`
    - `outcome` (`stopMyAssistantCommitment.response.200.data.receipts.outcome`; string, required)
      - one of `"unverified"`, `"verified"`, `"failed"`, `"unknown"`
    - `outcomeDetail` (`stopMyAssistantCommitment.response.200.data.receipts.outcomeDetail`; string | null, required)
    - `result` (`stopMyAssistantCommitment.response.200.data.receipts.result`; any of, required) — The saved file, only once it is stored.
      - any of:
        - `object`
          - `fileId` (`stopMyAssistantCommitment.response.200.data.receipts.result.1.fileId`; string, required)
          - `name` (`stopMyAssistantCommitment.response.200.data.receipts.result.1.name`; string, required)
        - `null`
    - `delivery` (`stopMyAssistantCommitment.response.200.data.receipts.delivery`; object, required)
      - `state` (`stopMyAssistantCommitment.response.200.data.receipts.delivery.state`; string, required)
        - one of `"none"`, `"pending"`, `"delivered"`, `"suppressed"`, `"failed"`
      - `at` (`stopMyAssistantCommitment.response.200.data.receipts.delivery.at`; any of, required)
        - any of: `string`, `null`
      - `entryId` (`stopMyAssistantCommitment.response.200.data.receipts.delivery.entryId`; string | null, required)
      - `reason` (`stopMyAssistantCommitment.response.200.data.receipts.delivery.reason`; string | null, required)

### 400

Validation Error

#### Example

```json
{
  "success": false,
  "error": [
    null
  ],
  "data": null
}
```

- `success` (`stopMyAssistantCommitment.response.400.success`; boolean, required)
  - one of `false`
- `error` (`stopMyAssistantCommitment.response.400.error`; array<unknown>, required)
- `data` (`stopMyAssistantCommitment.response.400.data`; unknown, required)

### 403

An active personal account is required.

### 404

`commitment_not_found`.

#### Example

```json
{
  "error": "string",
  "error_code": "string",
  "issues": [
    {
      "path": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `error` (`stopMyAssistantCommitment.response.404.error`; string, required) — The sentence a human reads.
- `error_code` (`stopMyAssistantCommitment.response.404.error_code`; string, required) — The stable snake_case branch key.
- `issues` (`stopMyAssistantCommitment.response.404.issues`; array<object>, optional) — Per-field detail, present only on a validation failure.
  - `path` (`stopMyAssistantCommitment.response.404.issues.path`; string, required)
  - `code` (`stopMyAssistantCommitment.response.404.issues.code`; string, required)
  - `message` (`stopMyAssistantCommitment.response.404.issues.message`; string, required)


Source: https://docs.cloudraker.com/workspace/api/my-assistant/stop-my-assistant-commitment/index.md
