---
title: "Run your personal routine now"
---

> 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.

# Run your personal routine now

Path: CloudRaker Workspace API › My assistant

`POST /me/assistant/routines/{routineId}/fire`

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `routineId` (`fireMyAssistantRoutine.path.routineId`; string, required)
  - pattern `^[a-z0-9][a-z0-9-]{0,59}$`

## Code samples

### cURL

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

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/me/assistant/routines/<routineId>/fire';
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/routines/<routineId>/fire"

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

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

print(response.text)
```

## Responses

### 202

Run your personal routine now

#### Example

```json
{
  "data": {
    "id": "string",
    "tier": "cloudraker",
    "name": "string",
    "schedule": "string",
    "instruction": "string",
    "enabled": true,
    "markdown": "string",
    "nextRunAt": "2026-10-08T09:00:00-04:00",
    "lastRunAt": "2026-10-08T09:00:00-04:00",
    "lastOutcome": "queued"
  }
}
```

- `data` (`fireMyAssistantRoutine.response.202.data`; object, required)
  - `id` (`fireMyAssistantRoutine.response.202.data.id`; string, required)
  - `tier` (`fireMyAssistantRoutine.response.202.data.tier`; string, required)
    - one of `"cloudraker"`, `"company"`, `"user"`
  - `name` (`fireMyAssistantRoutine.response.202.data.name`; string, required)
  - `schedule` (`fireMyAssistantRoutine.response.202.data.schedule`; string, required)
  - `instruction` (`fireMyAssistantRoutine.response.202.data.instruction`; string, required)
  - `enabled` (`fireMyAssistantRoutine.response.202.data.enabled`; boolean, required)
  - `markdown` (`fireMyAssistantRoutine.response.202.data.markdown`; string, required)
  - `nextRunAt` (`fireMyAssistantRoutine.response.202.data.nextRunAt`; any of, required)
    - any of: `string`, `null`
  - `lastRunAt` (`fireMyAssistantRoutine.response.202.data.lastRunAt`; any of, required)
    - any of: `string`, `null`
  - `lastOutcome` (`fireMyAssistantRoutine.response.202.data.lastOutcome`; any of, required)
    - any of:
      - `string`: one of `"queued"`, `"running"`, `"completed"`, `"failed"`, `"refused"`, `"conflict"`, `"disabled"`
      - `null`

### 400

Validation Error

#### Example

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

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

### 402

`credits_exhausted`: the organization has no credits left.

#### Example

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

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

### 403

An active personal account is required.

### 404

The resource is unavailable to this user.

### 409

`routine_disabled`: turn the routine on first.

#### Example

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

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


Source: https://docs.cloudraker.com/workspace/api/my-assistant/fire-my-assistant-routine/index.md
