v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1434174156.5 KB

Retrieves the status of a specified query.

When invoking this operation in a Neptune Analytics cluster, the IAM user or role making the request must have the neptune-graph:GetQueryStatus IAM action attached.

get/queries/{queryId}#graphIdentifier

Path parameters

queryIdstring required

The ID of the query in question.

Headers

graphIdentifierstring required

The unique identifier of the Neptune Analytics graph.

Response

Success

idstring

The ID of the query in question.

queryStringstring

The query in question.

waitedinteger

Indicates how long the query waited, in milliseconds.

elapsedinteger

The number of milliseconds the query has been running.

state'RUNNING' | 'WAITING' | 'CANCELLING'

State of the query.