shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF { "query" : "FOR p IN products RETURN p" } EOF HTTP/1.1 200 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "plan" : { "nodes" : [ { "type" : "SingletonNode", "dependencies" : [ ], "id" : 1, "estimatedCost" : 1, "estimatedNrItems" : 1 }, { "type" : "EnumerateCollectionNode", "dependencies" : [ 1 ], "id" : 2, "estimatedCost" : 12, "estimatedNrItems" : 10, "database" : "_system", "collection" : "products", "random" : false, "satellite" : false, "outVariable" : { "id" : 0, "name" : "p" }, "producesResult" : true }, { "type" : "ReturnNode", "dependencies" : [ 2 ], "id" : 3, "estimatedCost" : 22, "estimatedNrItems" : 10, "inVariable" : { "id" : 0, "name" : "p" } } ], "rules" : [ ], "collections" : [ { "name" : "products", "type" : "read" } ], "variables" : [ { "id" : 0, "name" : "p" } ], "estimatedCost" : 22, "estimatedNrItems" : 10, "initialize" : true }, "cacheable" : true, "warnings" : [ ], "stats" : { "rulesExecuted" : 31, "rulesSkipped" : 0, "plansCreated" : 1 }, "error" : false, "code" : 200 }