---
title: "POST /flows/{flowIdentifier}/"
method: POST
path: "/flows/{flowIdentifier}/"
---

# POST /flows/{flowIdentifier}/

`POST /flows/{flowIdentifier}/`

Prepares the <code>DRAFT</code> version of a flow so that it can be invoked. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html">Test a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.

## Path parameters

- `flowIdentifier` string, required

## Response `202`

Success

- PrepareFlowResponse
  - `id` string, required — The unique identifier of the flow.
  - `status` 'Failed' | 'Prepared' | 'Preparing' | 'NotPrepared', required — The status of the flow. When you submit this request, the status will be <code>NotPrepared</code>. If preparation succeeds, the status becomes <code>Prepared</code>. If it fails, the status becomes <code>FAILED</code>.

## Other responses

- `480` — ThrottlingException
- `481` — AccessDeniedException
- `482` — ValidationException
- `483` — InternalServerException
- `484` — ResourceNotFoundException
- `485` — ConflictException
- `486` — ServiceQuotaExceededException

---

[API](https://skmtc.net/aws/apis/bedrock-agent.md) · [All operations](https://skmtc.net/aws/apis/bedrock-agent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/bedrock-agent/versions/a3b2356f17da/schema)
