---
title: "Attach a workflow to agent revision"
method: POST
path: "/v1/agents/revisions/{revision_id}/workflows"
tags: ["agents"]
---

# Attach a workflow to agent revision

`POST /v1/agents/revisions/{revision_id}/workflows`

## Path parameters

- `revision_id` string, uuid, required

## Request body

- AttachWorkflowRequest
  - `workflow_id` string, uuid, required
  - `workflow_revision_id` string, uuid, nullable
  - `priority` integer
  - `enabled` boolean

## Response `201`

Successful Response

- AgentRevisionWorkflowResponse
  - `workflow_id` string, uuid, required
  - `workflow_name` string, required
  - `workflow_revision_id` string, uuid, nullable
  - `priority` integer, required
  - `enabled` boolean, required
  - `created_at` string, date-time, required

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `422` — Validation Error

---

[API](https://skmtc.net/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.net/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/versions/888bdd5c076e/schema)
