---
title: "Execute Named Flow"
method: POST
path: "/api/v1/agentic/execute/{flow_name}"
tags: ["Agentic"]
---

# Execute Named Flow

`POST /api/v1/agentic/execute/{flow_name}`

Execute a named flow from the flows directory.

## Path parameters

- `flow_name` string, required

## Request body

- AssistantRequest — Request model for assistant interactions.
  - `flow_id` string, required
  - `component_id` string, nullable
  - `field_name` string, nullable
  - `input_value` string, nullable
  - `max_retries` integer, nullable
  - `model_name` string, nullable
  - `provider` string, nullable
  - `session_id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

## Changes

- **2026-03-12** `830c31118215` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-03-06** `0be341779529` — 1 info
  - endpoint added
- **2026-02-18** `191b57fc530b` — 1 breaking
  - api path removed without deprecation
- **2026-02-10** `0be341779529` — 1 info
  - endpoint added
- **2025-10-16** `9bd3e81318d7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/langflow-ai/apis/langflow/changes/api/v1/agentic/execute/:flow_name/post.md)

---

[API](https://skmtc.dev/langflow-ai/apis/langflow.md) · [All operations](https://skmtc.dev/langflow-ai/apis/langflow/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/langflow-ai/langflow/revisions/830c31118215/schema)
