capabilities.work

Gremlin Query with Status Check

A 3-step recipe with Amazon Neptune. We can help you get access.

Recipe · 3 steps

Gremlin Query with Status Check

Verify engine health, execute a Gremlin traversal, and inspect the query queue.

  1. Confirm the Neptune engine is available and report its role and version before running the traversal.
  2. Execute the supplied Gremlin traversal against the property graph and capture the request id and result payload.
  3. Read the Gremlin query status surface to see how many queries are running and accepted right now.
What you'll need to have ready
  • gremlin: The Gremlin traversal string to execute (e.g. g.V().count()).
For your developer

Arazzo workflow amazon-neptune:gremlin-query-with-status, 3 operations: GetEngineStatus → ExecuteGremlinQuery → GetGremlinQueryStatus. Specs on APIs.io.