def METHOD_NAME(self, body, id=None, params=None, headers=None):
    """
    Allows to simulate a pipeline with example documents.
    :arg body: The simulate definition
    :arg id: Pipeline ID
    :arg verbose: Verbose mode. Display data output for each
        processor in executed pipeline
    """
    if body in SKIP_IN_PATH:
        raise ValueError("Empty value passed for a required argument 'body'.")
    return self.transport.perform_request(
        "POST",
        _make_path("_ingest", "pipeline", id, "_simulate"),
        params=params,
        headers=headers,
        body=body,
    )