---
title: "Bulk Archive Workflows"
method: PUT
path: "/v1/workflows/archive"
tags: ["workflows"]
---

# Bulk Archive Workflows

`PUT /v1/workflows/archive`

Bulk Archive Workflows

## Request body

- WorkflowBulkArchiveRequest
  - `workflow_ids` string[], required — List of workflow IDs to archive

## Response `200`

Successful Response

- WorkflowBulkArchiveResponse
  - `archived` Workflow[], required — Workflows that were successfully archived or were already archived
    - `id` string, uuid, required — Unique identifier of the workflow
    - `name` string, required — Name of the workflow
    - `display_name` string, required — Display name of the workflow
    - `type` 'code', required
    - `description` string, nullable — Description of the workflow
    - `customer_id` string, uuid, required — Customer ID of the workflow
    - `workspace_id` string, uuid, required — Workspace ID of the workflow
    - `shared_namespace` string, nullable — Reserved namespace for shared workflows (e.g., 'shared:my-shared-workflow')
    - `available_in_chat_assistant` boolean — Whether the workflow is available in chat assistant
    - `is_technical` boolean — Whether the workflow is technical (e.g. SDK-managed)
    - `archived` boolean — Whether the workflow is archived
    - `tags` string[] — Tags for filtering and discovery
  - `errored` WorkflowBulkError[] — Workflows that could not be archived and the corresponding error messages
    - `workflow_id` string, uuid, required — The requested workflow ID
    - `workflow` Workflow
      - `id` string, uuid, required — Unique identifier of the workflow
      - `name` string, required — Name of the workflow
      - `display_name` string, required — Display name of the workflow
      - `type` 'code', required
      - `description` string, nullable — Description of the workflow
      - `customer_id` string, uuid, required — Customer ID of the workflow
      - `workspace_id` string, uuid, required — Workspace ID of the workflow
      - `shared_namespace` string, nullable — Reserved namespace for shared workflows (e.g., 'shared:my-shared-workflow')
      - `available_in_chat_assistant` boolean — Whether the workflow is available in chat assistant
      - `is_technical` boolean — Whether the workflow is technical (e.g. SDK-managed)
      - `archived` boolean — Whether the workflow is archived
      - `tags` string[] — Tags for filtering and discovery
    - `message` string, required — Error message describing why the operation failed

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mistral/apis/mistral-ai-api.md) · [All operations](https://skmtc.net/mistral/apis/mistral-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mistral/mistral-ai-api/revisions/933c4ebdcd72/schema)
