Monitoring Crew and Tasks

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.