def METHOD_NAME(self, results):
    """Query an analytics status
    Query the status of an ``AnalyticsResults`` entry.
    :query ObjectID id: ``AnalyticsResults`` ID
    The response is a JSON object representing the ``AnalyticsResults`` instance.
    The response object also contains a ``results`` field:
    :>json object results: JSON object containing two arrays representing the ``nodes`` and ``links`` generated by the analytics
    """
    nodes_id = set()
    nodes = list()
    links = list()
    # First, add the analyzed node
    nodes_id.add(results.observable.id)
    nodes.append(results.observable.to_mongo())
    for link in results.results:
        for node in (link.src, link.dst):
            if node.id not in nodes_id:
                nodes_id.add(node.id)
                nodes.append(node.to_mongo())
        links.append(link.to_dict())
    results = results.to_mongo()
    results["results"] = {"nodes": nodes, "links": links}
    results.pop("settings")
    return results