def METHOD_NAME(self, context, request: TracimRequest, hapic_data=None):
    app_config = request.registry.settings["CFG"]  # type : CFG
    agenda_api = AgendaApi(
        current_user=request.current_user,
        session=request.dbsession,
        config=app_config,
    )
    return agenda_api.get_user_agendas(
        request.current_user,
        workspaces_ids_filter=hapic_data.query.workspace_ids,
        agenda_types_filter=hapic_data.query.agenda_types,
        resource_types_filter=hapic_data.query.resource_types,
    )