---
title: "Archive automation"
method: POST
path: "/api/automations/{id}/archive"
tags: ["Platform API"]
---

# Archive automation

`POST /api/automations/{id}/archive`

Archive one UI-managed Outlit automation by id. Archived automations are disabled and removed from normal lists.

## Path parameters

- `id` string, uuid, required

## Response `200`

Archive automation completed.

- ArchiveAutomationCommandSuccess
  - `ok` true, required
  - `commandId` 'automation.archive', required
  - `commandVersion` 1, required
  - `correlationId` string, required
  - `result` object, required
    - `operationId` 'automation.archive', required
    - `status` 'completed', required
    - `resources` CommandResource[], required
      - `type` string, required
      - `id` string, required
    - `data` object, required
      - `automation` ArchivedResource, required
        - `id` string, required
        - `archivedAt` string, date-time, required
    - `warnings` string[], required
    - `auditId` string

## Other responses

- `401` — Invalid or missing API key.
- `403` — The API key is valid but does not have the required agent write scope.
- `404` — No resource was found for the authenticated organization and requested id.
- `409` — The requested lifecycle change conflicts with the current platform state.
- `500` — Internal server error.
- `503` — The platform could not complete the command.

## Changes

- **2026-06-29** `636d3bf760af` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/outlitai/apis/outlit-api/changes/api/automations/:id/archive/post.md)

---

[API](https://skmtc.dev/outlitai/apis/outlit-api.md) · [All operations](https://skmtc.dev/outlitai/apis/outlit-api/llms.txt) · [OpenAPI document](https://skmtc.dev/outlitai/apis/outlit-api/revisions/66bd7f8a6c1f?raw)
