v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1433660423.8 KB

Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.

The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeFlow.

post/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}

Path parameters

flowAliasIdentifierstring required

The unique identifier of the flow alias.

flowIdentifierstring required

The unique identifier of the flow.

Request body

enableTraceboolean

Specifies whether to return the trace for the flow or not. Traces track inputs and outputs for nodes in the flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html">Track each step in your prompt flow by viewing its trace in Amazon Bedrock</a>.

executionIdstring

The unique identifier for the current flow execution. If you don't provide a value, Amazon Bedrock creates the identifier for you.

Response

Success