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

# Automations

> Create and manage automation workflows and preferences.

Automation endpoints control rule-driven actions and status transitions.

## Endpoints in this guide

* `GET /api/automations`
* `POST /api/automations`
* `PUT /api/automations/{id}`
* `PATCH /api/automations/{id}/preference`
* `DELETE /api/automations/{id}`

## Create automation

```bash theme={null}
curl -X POST https://your-instance.example.com/api/automations \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"name":"Auto-resolve old threads","enabled":true}'
```
