elastic_enterprise_search/_async/client/app_search.py [2182:2214]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self,
        *,
        engine_name: str,
        filters: t.Mapping[str, t.Any],
        page: t.Optional[t.Mapping[str, t.Any]] = None,
        query: t.Optional[str] = None,
        sort_direction: t.Optional[t.Union["t.Literal['asc', 'desc']", str]] = None,
    ) -> ObjectApiResponse[t.Any]:
        """
        The API Log displays API request and response data at the Engine level

        `<https://www.elastic.co/guide/en/app-search/current/api-logs.html>`_

        :param engine_name: Name of the engine
        :param filters:
        :param page:
        :param query:
        :param sort_direction:
        """
        if engine_name in SKIP_IN_PATH:
            raise ValueError("Empty value passed for parameter 'engine_name'")
        if filters is None:
            raise ValueError("Empty value passed for parameter 'filters'")
        __body: t.Dict[str, t.Any] = {}
        if filters is not None:
            __body["filters"] = filters
        if page is not None:
            __body["page"] = page
        if query is not None:
            __body["query"] = query
        if sort_direction is not None:
            __body["sort_direction"] = sort_direction
        __headers = {"accept": "application/json", "content-type": "application/json"}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



elastic_enterprise_search/_sync/client/app_search.py [2182:2214]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self,
        *,
        engine_name: str,
        filters: t.Mapping[str, t.Any],
        page: t.Optional[t.Mapping[str, t.Any]] = None,
        query: t.Optional[str] = None,
        sort_direction: t.Optional[t.Union["t.Literal['asc', 'desc']", str]] = None,
    ) -> ObjectApiResponse[t.Any]:
        """
        The API Log displays API request and response data at the Engine level

        `<https://www.elastic.co/guide/en/app-search/current/api-logs.html>`_

        :param engine_name: Name of the engine
        :param filters:
        :param page:
        :param query:
        :param sort_direction:
        """
        if engine_name in SKIP_IN_PATH:
            raise ValueError("Empty value passed for parameter 'engine_name'")
        if filters is None:
            raise ValueError("Empty value passed for parameter 'filters'")
        __body: t.Dict[str, t.Any] = {}
        if filters is not None:
            __body["filters"] = filters
        if page is not None:
            __body["page"] = page
        if query is not None:
            __body["query"] = query
        if sort_direction is not None:
            __body["sort_direction"] = sort_direction
        __headers = {"accept": "application/json", "content-type": "application/json"}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



