# Encapsulating CrewAI Workflow within an API for Dynamic Execution

**URL:** https://community.crewai.com/t/encapsulating-crewai-workflow-within-an-api-for-dynamic-execution/4168
**Category:** CrewAI Community Support
**Tags:** crewai, feature, task
**Created:** [February 25, 2025, 10:54am UTC](https://community.crewai.com/t/encapsulating-crewai-workflow-within-an-api-for-dynamic-execution/4168 "2025-02-25T10:54:13Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![beast](https://avatars.discourse-cdn.com/v4/letter/b/97f17d/32.png) [@beast](https://community.crewai.com/u/beast)
#### Post date: [February 27, 2025, 5:00pm UTC](https://community.crewai.com/t/encapsulating-crewai-workflow-within-an-api-for-dynamic-execution/4168/4 "2025-02-27T17:00:31Z")

</div>

[Solution for the above usecase](https://community.crewai.com/t/using-the-crewai-cli-within-an-existing-fastapi-application/2514)

---

_[View the full topic](https://community.crewai.com/t/encapsulating-crewai-workflow-within-an-api-for-dynamic-execution/4168)._
