> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.athenaintel.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.athenaintel.com/_mcp/server.

# Resume automation triggers

POST https://api.athenaintel.com/api/v0/automations/{asset_id}/triggers/resume
Content-Type: application/json

Re-enable the trigger rows paused for the named reasons: `operator` (a pause by hand), `error` (the failure breaker) or `budget_exceeded` (a budget breach). Rows paused for any other reason are left alone, and a schedule whose instant has passed stays paused with its paired rule. Resuming a budget pause leaves every budget as set: a new run is still refused while a daily cap it pays into is spent. Returns the automation as GET /automations/\{asset\_id} reads it afterwards.

Reference: https://docs.athenaintel.com/api-reference/automations/resume-triggers

## Authentication

- `X-API-KEY` header (required) — API Key authentication via header

## Request

### Path parameters

- `asset_id` (string, required) — Unique identifier of the automation asset

### Body (application/json)

This endpoint expects an AutomationTriggersResumeRequestIn.

- `reasons` (list of enum, required) — The paused_reason types to lift: `operator` (a pause by hand), `error` (the failure breaker) or `budget_exceeded` (a budget breach; the budget stays as set)
  - Allowed values: `operator`, `error`, `budget_exceeded`

## Response

### 200

Resumed; the automation as it now reads

- `asset_id` (string, required)
- `created_at` (datetime, required)
- `created_by` (string, required, nullable)
- `current_version` (AutomationCurrentVersionOut, required, nullable) — The current version, with the definition it was compiled from.
- `current_version_number` (integer, required, nullable) — Version number of the current publish; null before the first
- `draft` (AutomationDraftOut, required) — The draft definition and where it was read from.
- `enabled` (boolean, required) — Whether the published triggers may fire
- `fingerprint` (string, required, nullable)
- `home_project_asset_id` (string, required, nullable)
- `is_archived` (boolean, required)
- `next_fire_at` (datetime, required, nullable) — Earliest scheduled fire across the live schedule rows
- `parent_folder_id` (string, required, nullable)
- `principal_ref` (string, required) — The automation's own principal; every step runs as it
- `title` (string, required)
- `trigger_summary` (list of string, required) — One line per materialised trigger, for cards and search
- `triggers` (list of AutomationTriggerRowOut, required)
- `updated_at` (datetime, required)
- `versions` (list of AutomationVersionOut, required) — Version history, newest first (at most the latest 20)
- `workspace_id` (string, required, nullable)

## Errors

### 400 Bad Request Error

The request cannot apply to this asset

- `map from string to any`

### 403 Forbidden Error

The Automations gate denied, or no edit permission

- `detail` (AutomationsDenialDetailOut, required) — ``detail`` of the 403 the Automations gate returns.

### 404 Not Found Error

Not found, or not an automation

- `message` (string, required)

### 409 Conflict Error

The automation is archived

- `any`

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### AutomationCurrentVersionOut

The current version, with the definition it was compiled from.

- `definition` (map from string to any, required) — The definition document this version was compiled from
- `fingerprint` (string, required) — sha256 JCS fingerprint of the compiled plan
- `published_at` (datetime, required)
- `published_by_ref` (string, required) — Principal ref of the publisher
- `version` (integer, required) — Monotonic version number
- `version_id` (string, required)
- `superseded_at` (datetime, optional, nullable)

### AutomationDraftOut

The draft definition and where it was read from.

- `definition` (map from string to any, required, nullable) — The draft definition document, or null when there is none
- `note` (string, required, nullable) — Why the draft could not be read, when it could not
- `source` (enum, required, nullable) — 'snapshot:latest' when read from the draft's last saved snapshot, 'live' when read from the live document, null when unreadable
  - Allowed values: `snapshot:latest`, `live`

### AutomationTriggerRowOut

One trigger-engine row publish materialised for the automation.

- `automation_key` (string, required, nullable)
- `conditions` (map from string to any, required, nullable)
- `cron_expression` (string, required, nullable)
- `enabled` (boolean, required)
- `event_type` (string, required)
- `kind` (string, required, nullable) — schedule | table_change | run_completed | event | webhook
- `last_fired_at` (datetime, required, nullable)
- `name` (string, required)
- `next_fire_at` (datetime, required, nullable)
- `paused_reason` (map from string to any, required, nullable) — Why the row is paused, or null while live
- `row_id` (string, required)
- `row_type` (enum, required) — A schedule trigger has two rows, the schedule and the rule it fires
  - Allowed values: `schedule`, `rule`
- `timezone` (string, required, nullable)
- `trigger_id` (string, required, nullable) — triggers[].id in the definition this row came from

### AutomationVersionOut

One immutable published version.

- `fingerprint` (string, required) — sha256 JCS fingerprint of the compiled plan
- `published_at` (datetime, required)
- `published_by_ref` (string, required) — Principal ref of the publisher
- `version` (integer, required) — Monotonic version number
- `version_id` (string, required)
- `superseded_at` (datetime, optional, nullable)

### AutomationsDenialDetailOut

``detail`` of the 403 the Automations gate returns.

- `hint` (string, required) — The next step that lifts the denial
- `message` (string, required) — Human-readable denial
- `reason` (enum, required) — Which of the gate's three checks failed: the deployment has Automations off, the caller is not a member of the workspace, or the workspace is not enrolled
  - Allowed values: `not_provisioned`, `not_permitted`, `workspace_not_enrolled`
- `code` ("AUTOMATIONS_UNAVAILABLE", optional, default: AUTOMATIONS_UNAVAILABLE) — Stable code for a denial by the Automations gate

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `ctx` (ValidationErrorCtx, optional)
- `input` (any, optional)

### ValidationErrorLocItems

- string
- integer

### ValidationErrorCtx

## Examples

**Request**

```json
{
  "reasons": [
    "operator"
  ]
}
```

**Response**

```json
{
  "asset_id": "asset_92492920-d118-42d3-95b4-00eccfe0754f",
  "created_at": "2026-09-21T12:00:00Z",
  "created_by": "user_123",
  "current_version": {
    "definition": {
      "home": {
        "project_asset_id": "asset_project_ops"
      },
      "name": "Nightly exceptions digest",
      "schema_version": 2,
      "steps": [
        {
          "id": "notify",
          "kind": "notify",
          "notify": {
            "body": "'Started by trigger ' & $trigger.id",
            "channels": [
              "email"
            ],
            "subject": "Nightly exceptions digest",
            "to": [
              "user_ops_lead"
            ]
          }
        },
        {
          "end": {
            "status": "succeeded"
          },
          "id": "finish",
          "kind": "end"
        }
      ],
      "triggers": [
        {
          "id": "nightly",
          "kind": "schedule",
          "schedule": {
            "cron": "0 6 * * 1-5",
            "timezone": "America/New_York"
          }
        }
      ]
    },
    "fingerprint": "sha256:6f1a…",
    "published_at": "2026-09-21T12:30:00Z",
    "published_by_ref": "user_123",
    "version": 1,
    "version_id": "apv_1"
  },
  "current_version_number": 1,
  "draft": {
    "definition": {
      "home": {
        "project_asset_id": "asset_project_ops"
      },
      "name": "Nightly exceptions digest",
      "schema_version": 2,
      "steps": [
        {
          "id": "notify",
          "kind": "notify",
          "notify": {
            "body": "'Started by trigger ' & $trigger.id",
            "channels": [
              "email"
            ],
            "subject": "Nightly exceptions digest",
            "to": [
              "user_ops_lead"
            ]
          }
        },
        {
          "end": {
            "status": "succeeded"
          },
          "id": "finish",
          "kind": "end"
        }
      ],
      "triggers": [
        {
          "id": "nightly",
          "kind": "schedule",
          "schedule": {
            "cron": "0 6 * * 1-5",
            "timezone": "America/New_York"
          }
        }
      ]
    },
    "note": "string",
    "source": "snapshot:latest"
  },
  "enabled": true,
  "fingerprint": "sha256:6f1a…",
  "home_project_asset_id": "asset_project_ops",
  "is_archived": false,
  "next_fire_at": "2026-09-22T10:00:00Z",
  "parent_folder_id": "string",
  "principal_ref": "automation_asset_92492920-d118-42d3-95b4-00eccfe0754f",
  "title": "Nightly exceptions digest",
  "trigger_summary": [
    "schedule 0 6 * * 1-5 America/New_York"
  ],
  "triggers": [],
  "updated_at": "2026-09-21T12:30:00Z",
  "versions": [],
  "workspace_id": "workspace_abc123"
}
```

**SDK Code**

```python
import requests

url = "https://api.athenaintel.com/api/v0/automations/asset_id/triggers/resume"

payload = { "reasons": ["operator"] }
headers = {
    "X-API-KEY": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript
const url = 'https://api.athenaintel.com/api/v0/automations/asset_id/triggers/resume';
const options = {
  method: 'POST',
  headers: {'X-API-KEY': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"reasons":["operator"]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.athenaintel.com/api/v0/automations/asset_id/triggers/resume"

	payload := strings.NewReader("{\n  \"reasons\": [\n    \"operator\"\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-API-KEY", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.athenaintel.com/api/v0/automations/asset_id/triggers/resume")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"reasons\": [\n    \"operator\"\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.athenaintel.com/api/v0/automations/asset_id/triggers/resume")
  .header("X-API-KEY", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"reasons\": [\n    \"operator\"\n  ]\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.athenaintel.com/api/v0/automations/asset_id/triggers/resume', [
  'body' => '{
  "reasons": [
    "operator"
  ]
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'X-API-KEY' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.athenaintel.com/api/v0/automations/asset_id/triggers/resume");
var request = new RestRequest(Method.POST);
request.AddHeader("X-API-KEY", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"reasons\": [\n    \"operator\"\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-API-KEY": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["reasons": ["operator"]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.athenaintel.com/api/v0/automations/asset_id/triggers/resume")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```