Hello! I’m new to CrewAI and I’m currently running CrewAI locally with FastAPI. I’m struggling to map the tasks and the crew. I can generate an executionId with uuid and pass it in the crew kickoff but is there a way to pass this id into tasks or access it from the tasks, too? If not is there a way to access the Crew ID from the task executions? I have an event handler for both crew and task related events and I want to log the events and export it into a database and I’m struggling with mapping the tasks.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Encapsulating CrewAI Workflow within an API for Dynamic Execution | 4 | 400 | February 27, 2025 | |
| Get updates from crew while its running as an api | 1 | 103 | February 21, 2025 | |
| Error in CrewBase | 0 | 165 | September 24, 2025 | |
| CrewAI Crew Factory project | 2 | 611 | June 22, 2025 | |
| Deploying CrewAI as an API service | 20 | 5965 | January 27, 2025 |