---
title: "Resume an automation"
method: POST
path: "/v1/automations/{automation_id}/resume"
tags: ["Automations"]
---

# Resume an automation

`POST /v1/automations/{automation_id}/resume`

## Request

- Base URL: `https://api.dexto.ai`
- URL: `https://api.dexto.ai/v1/automations/{automation_id}/resume`
- Auth: HTTP bearer

Resume a paused automation. A schedule continues from its next occurrence after now.

## Path parameters

- `automation_id` string, required

## Response `200`

Successful response.

- object
  - `cloud_project` object, required
    - `id` string, uuid, required
    - `name` string, required
  - `created_at` string, date-time, required
  - `created_by` union, required: The API key while it exists, the person otherwise (who may have used an OAuth token), or the agent's automations tool, that created it.
    - object
      - `api_key_id` string, uuid, nullable, required: Null once the key is deleted.
      - `type` 'api_key', required
    - object
      - `agent_id` string, uuid, required
      - `type` 'agent', required
    - object
      - `type` 'user', required
      - `user_id` string, required: The person who created it through an OAuth token, or whose key was since deleted.
  - `id` string, uuid, required
  - `last_fired_at` string, date-time, nullable, required
  - `name` string, required
  - `object` 'automation', required
  - `paused_reason` 'requested' | 'repeated_failures' | 'target_unavailable', nullable, required: Why a paused automation is paused: requested, repeated_failures (five failed or refused firings in a row) or target_unavailable (its agent, project or session is gone).
  - `status` 'active' | 'paused' | 'completed', required: active, paused, or completed for a one-time schedule that fired.
  - `target` object, required
    - `agent_id` string, uuid, required
    - `message` string, required
    - `session` union, required
      - object
        - `metadata` object, required
        - `mode` 'new', required
        - `user` string, required
      - object
        - `mode` 'fixed', required
        - `session_id` string, uuid, required
    - `type` 'agent', required
  - `trigger` union, required
    - object
      - `next_run_at` string, date-time, nullable, required: When it fires next; null while paused or once completed.
      - `schedule` union, required
        - object
          - `run_at` string, date-time, required
          - `type` 'once', required
        - object
          - `cron` string, required
          - `timezone` string, required
          - `type` 'recurring', required
      - `type` 'schedule', required
    - object
      - `type` 'webhook', required
      - `url` string, uri, required: POST signed JSON here. Sign with Dexto-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of '<t>.<raw body>'>.
  - `updated_at` string, date-time, required

## Other responses

- `400`: Invalid JSON or request fields.
- `401`: Missing or invalid API key.
- `402`: The account has insufficient credits.
- `403`: The account cannot perform this operation.
- `404`: The requested resource was not found.
- `409`: The request conflicts with existing resource state.
- `429`: The account exceeded this operation's request rate.
- `500`: Unexpected Dexto failure.
- `502`: The upstream model provider failed.
- `503`: A required Dexto service is temporarily unavailable.

---

[API](https://skmtc.dev/dexto/apis/dexto-api.md) - [All operations](https://skmtc.dev/dexto/apis/dexto-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dexto/apis/dexto-api/revisions/47eb880cffa5?raw)
