async def METHOD_NAME(actor: Actor, db_session: Session = Depends(get_db)):
    bound_logger = logger.bind(body={"actor": actor})
    bound_logger.info("POST request received: Register actor")
    try:
        created_actor = crud.create_actor(db_session, actor=actor)
    except crud.ActorAlreadyExistsException as e:
        bound_logger.info("Bad request: Actor already exists.")
        raise HTTPException(status_code=409, detail=str(e)) from e
    except Exception as e:
        bound_logger.error("Something went wrong during actor creation.")
        raise HTTPException(status_code=500, detail=str(e)) from e
    return created_actor