Amazon Neptune website screenshot

Amazon Neptune

Amazon Neptune is a fast, reliable, fully managed graph database service that makes it easy to build and run applications that work with highly connected datasets. It supports property graph and RDF models, with multiple query languages including Gremlin, SPARQL, and openCypher.

9 APIs 10 Features
DatabaseGraph DatabaseGremlinNeptuneProperty GraphRDFSPARQL

APIs

Amazon Neptune Management API

Amazon Neptune Management API for creating, managing, and deleting Neptune DB clusters, instances, parameter groups, snapshots, and related infrastructure resources.

Amazon Neptune Data API

Amazon Neptune Data API provides SDK support for more than 40 data operations including data loading, query execution, data inquiry, and machine learning. It supports Gremlin an...

Neptune Gremlin API

Apache TinkerPop Gremlin graph traversal language API for querying property graphs in Neptune. It supports both WebSocket and HTTP REST endpoints for submitting Gremlin traversals.

Neptune SPARQL API

W3C SPARQL 1.1 query language API for querying RDF graphs in Neptune. It provides an HTTP REST endpoint compatible with the SPARQL 1.1 protocol specification.

Neptune openCypher API

openCypher graph query language API for querying property graphs with Cypher syntax in Neptune. It provides an HTTP endpoint for executing openCypher queries against property gr...

Neptune Streams API

Neptune Streams generates a complete sequence of change-log entries that record every change made to graph data as it happens, enabling real-time capture of graph mutations via ...

Neptune Loader API

Neptune bulk loader API for ingesting large volumes of data from Amazon S3 into a Neptune DB instance. It supports CSV formats for property graphs and multiple RDF serialization...

Neptune ML API

Neptune ML enables machine learning on graph data using graph neural networks. It provides APIs for data processing, model training, and inference endpoint management powered by...

Neptune Analytics API

Neptune Analytics is a memory-optimized graph database engine for analytics, providing optimized graph analytic algorithms, low-latency queries, and vector search capabilities w...

Collections

Arazzo Workflows

Amazon Neptune Analytics Cancel Import Task

Inspect a Neptune Analytics import task and cancel it only if it is still running.

ARAZZO

Amazon Neptune Analytics Create Graph and Wait

Create a Neptune Analytics graph and poll until it becomes AVAILABLE.

ARAZZO

Amazon Neptune Analytics Create Graph from Import Task

Create a Neptune Analytics graph populated from S3 and poll the import task to completion.

ARAZZO

Amazon Neptune Analytics Create Private Graph Endpoint

Create a VPC private endpoint for a Neptune Analytics graph and poll until it is AVAILABLE.

ARAZZO

Amazon Neptune Analytics Reset Graph

Empty a Neptune Analytics graph of all data, then wait until it is AVAILABLE again.

ARAZZO

Amazon Neptune Analytics Snapshot and Restore

Snapshot a Neptune Analytics graph, wait for the snapshot, then restore it into a new graph.

ARAZZO

Amazon Neptune Bulk Loader Start and Poll

Start a bulk loader job from S3 and poll its status until the load completes.

ARAZZO

Amazon Neptune Gremlin Add and Count Vertices

Add a labeled vertex over the Gremlin HTTP endpoint, then count vertices to confirm the write landed.

ARAZZO

Amazon Neptune Cancel a Running Gremlin Query

Look up a specific Gremlin query's status, then cancel it if it has not already been cancelled.

ARAZZO

Amazon Neptune Gremlin Explain then Profile

Inspect a Gremlin query's execution plan, then profile it with runtime statistics.

ARAZZO

Amazon Neptune Gremlin Query with Status Check

Run a Gremlin traversal via the Data API and confirm the engine and query queue are healthy.

ARAZZO

Amazon Neptune Cancel a Running Bulk Load

Look up a bulk load job's status and cancel it only if it is still in progress.

ARAZZO

Amazon Neptune Bulk Load Job Lifecycle

Start a bulk load via the Loader endpoint, verify it appears in the job list, and poll its status.

ARAZZO

Amazon Neptune ML Create and Verify Inference Endpoint

Create an ML inference endpoint from a trained model and poll it until it is in service.

ARAZZO

Amazon Neptune ML Data Processing to Model Training

Run a Neptune ML data processing job to completion, then launch and poll model training.

ARAZZO

Amazon Neptune ML Model Transform Job

Launch a Neptune ML model transform job from a trained model and poll it to completion.

ARAZZO

Amazon Neptune ML Stop Data Processing Job

Inspect a Neptune ML data processing job and stop it with cleanup only if it is still running.

ARAZZO

Amazon Neptune openCypher Create and Read Node

Create a node over the openCypher HTTP endpoint, then read nodes back to confirm the write.

ARAZZO

Amazon Neptune openCypher Explain then Execute

Inspect an openCypher query's execution plan, then run it for real.

ARAZZO

Amazon Neptune openCypher Query with Status Check

Run an openCypher query via the Data API and inspect the openCypher query queue.

ARAZZO

Amazon Neptune Property Graph Statistics Refresh

Trigger a property graph statistics refresh and read back the updated graph summary counts.

ARAZZO

Amazon Neptune Property Graph Stream Replay

Read property graph change records from the start of the stream, then continue from the last event id.

ARAZZO

Amazon Neptune SPARQL Query with Status Check

Run a SPARQL query via the Data API and inspect the SPARQL query queue.

ARAZZO

Amazon Neptune SPARQL Statistics Refresh

Trigger an RDF statistics refresh and read back the updated triple-store counts.

ARAZZO

Amazon Neptune SPARQL Update and Verify

Run a SPARQL INSERT DATA update, then run a SELECT query to confirm the triples landed.

ARAZZO

Pricing Plans

Rate Limits

Amazon Neptune Rate Limits

4 limits

RATE LIMITS

FinOps

Features

Serverless Graph Database

Automatically scales compute and memory resources based on workload demands without requiring capacity planning.

Multiple Query Language Support

Supports Apache TinkerPop Gremlin, openCypher, and SPARQL 1.1 query languages for property graph and RDF models.

High Availability

Multi-AZ deployment with up to 15 read replicas, automated failover, and continuous backups with point-in-time recovery up to 35 days.

Global Database

Multi-region replication with sub-second latency across up to five secondary clusters for global applications.

Neptune Analytics

Memory-optimized graph analytics engine for analyzing tens of billions of relationships within seconds with vector search capabilities.

GraphRAG Support

Fully managed GraphRAG with Amazon Bedrock Knowledge Bases for AI-enhanced graph retrieval augmented generation.

Machine Learning on Graphs

Native graph neural network support via Neptune ML powered by Amazon SageMaker for link prediction and node classification.

ACID Transactions

Full ACID transaction support ensuring data consistency and integrity across graph operations.

AWS Security Integration

VPC network isolation, IAM resource permissions, AWS KMS encryption, TLS in-transit encryption, and CloudWatch audit logging.

Auto-Expanding Storage

Storage automatically grows up to 128 TiB with self-healing architecture spanning three availability zones.

Use Cases

Knowledge Graphs and GraphRAG

Build knowledge graphs to enhance AI accuracy, comprehensiveness, and explainability using GraphRAG with Amazon Bedrock.

Fraud Detection

Model transaction and account relationship networks to detect fraudulent patterns in near real-time using graph traversals.

Customer 360

Build unified customer profile graphs linking purchases, preferences, and interactions for personalization and marketing.

Cybersecurity and Threat Detection

Model IT infrastructure as a connected graph to detect attack paths, anomalies, and proactive threats.

Recommendation Engines

Power product and content recommendation engines by traversing user-item relationship graphs.

Social Networks

Model and query highly connected social graph data for applications requiring relationship traversal at scale.

Network and IT Operations

Map network topology, dependencies, and configuration relationships for operations and impact analysis.

Supply Chain Management

Model complex supply chain relationships and dependencies for optimization and risk analysis.

Semantic Vocabularies

Amazon Neptune Analytics Context

13 classes · 44 properties

JSON-LD

Amazon Neptune Context

10 classes · 15 properties

JSON-LD

Amazon Neptune Data Context

26 classes · 120 properties

JSON-LD

Amazon Neptune Gremlin Context

5 classes · 20 properties

JSON-LD

Amazon Neptune Loader Context

5 classes · 21 properties

JSON-LD

Amazon Neptune Management Context

14 classes · 56 properties

JSON-LD

Amazon Neptune Ml Context

10 classes · 50 properties

JSON-LD

Amazon Neptune Opencypher Context

7 classes · 21 properties

JSON-LD

Amazon Neptune Sparql Context

5 classes · 22 properties

JSON-LD

Amazon Neptune Streams Context

6 classes · 20 properties

JSON-LD

API Governance Rules

Amazon Neptune API Rules

25 rules · 11 errors 11 warnings 3 info

SPECTRAL

JSON Structure

Amazon Neptune Analytics Graph Structure

17 properties

JSON STRUCTURE

Amazon Neptune Db Cluster Structure

27 properties

JSON STRUCTURE

Amazon Neptune Db Instance Structure

21 properties

JSON STRUCTURE

Amazon Neptune Graph Element Structure

0 properties

JSON STRUCTURE

Amazon Neptune Loader Job Structure

12 properties

JSON STRUCTURE

Amazon Neptune Ml Job Structure

0 properties

JSON STRUCTURE

Amazon Neptune Stream Record Structure

5 properties

JSON STRUCTURE

Amazon Neptune Structure

0 properties

JSON STRUCTURE

Analytics Create Graph Input Structure

8 properties

JSON STRUCTURE

Analytics Graph Output Structure

15 properties

JSON STRUCTURE

Analytics Graph Snapshot Output Structure

7 properties

JSON STRUCTURE

Analytics Import Task Output Structure

8 properties

JSON STRUCTURE

Analytics List Graphs Output Structure

2 properties

JSON STRUCTURE

Analytics List Import Tasks Output Structure

2 properties

JSON STRUCTURE

Analytics Update Graph Input Structure

3 properties

JSON STRUCTURE

Data Create Ml Endpoint Input Structure

9 properties

JSON STRUCTURE

Data Engine Status Output Structure

10 properties

JSON STRUCTURE

Data Execute Gremlin Profile Input Structure

5 properties

JSON STRUCTURE

Data Execute Gremlin Query Input Structure

1 properties

JSON STRUCTURE

Data Execute Gremlin Query Output Structure

3 properties

JSON STRUCTURE

Data Execute Sparql Query Input Structure

2 properties

JSON STRUCTURE

Data Gremlin Query Status Output Structure

3 properties

JSON STRUCTURE

Data Gremlin Query Status Structure

3 properties

JSON STRUCTURE

Data Loader Job Status Output Structure

2 properties

JSON STRUCTURE

Data Ml Endpoint Status Output Structure

4 properties

JSON STRUCTURE

Data Ml Job Status Output Structure

3 properties

JSON STRUCTURE

Data Propertygraph Stream Output Structure

5 properties

JSON STRUCTURE

Data Propertygraph Stream Record Structure

5 properties

JSON STRUCTURE

Data Sparql Query Output Structure

2 properties

JSON STRUCTURE

Data Sparql Statistics Output Structure

2 properties

JSON STRUCTURE

Data Sparql Stream Output Structure

5 properties

JSON STRUCTURE

Data Start Loader Job Input Structure

12 properties

JSON STRUCTURE

Data Start Loader Job Output Structure

2 properties

JSON STRUCTURE

Gremlin Gremlin Error Response Structure

3 properties

JSON STRUCTURE

Gremlin Gremlin Query Request Structure

1 properties

JSON STRUCTURE

Gremlin Gremlin Query Response Structure

3 properties

JSON STRUCTURE

Gremlin Gremlin Query Status Detail Structure

3 properties

JSON STRUCTURE

Gremlin Gremlin Query Status List Structure

3 properties

JSON STRUCTURE

Loader Loader Error Response Structure

3 properties

JSON STRUCTURE

Loader Loader List Response Structure

2 properties

JSON STRUCTURE

Loader Loader Request Structure

12 properties

JSON STRUCTURE

Loader Loader Start Response Structure

2 properties

JSON STRUCTURE

Loader Loader Status Response Structure

2 properties

JSON STRUCTURE

Management Create Db Cluster Request Structure

13 properties

JSON STRUCTURE

Management Db Cluster Member Structure

4 properties

JSON STRUCTURE

Management Db Cluster Role Structure

2 properties

JSON STRUCTURE

Management Db Cluster Snapshot Structure

13 properties

JSON STRUCTURE

Management Db Cluster Structure

22 properties

JSON STRUCTURE

Management Db Instance Structure

14 properties

JSON STRUCTURE

Management Db Subnet Group Structure

6 properties

JSON STRUCTURE

Management Modify Db Cluster Request Structure

11 properties

JSON STRUCTURE

Ml Create Model Training Job Request Structure

20 properties

JSON STRUCTURE

Ml Endpoint Created Response Structure

1 properties

JSON STRUCTURE

Ml Endpoint List Response Structure

1 properties

JSON STRUCTURE

Ml Endpoint Status Response Structure

5 properties

JSON STRUCTURE

Ml Job Created Response Structure

1 properties

JSON STRUCTURE

Ml Job List Response Structure

1 properties

JSON STRUCTURE

Ml Job Status Response Structure

3 properties

JSON STRUCTURE

Opencypher Open Cypher Node Structure

4 properties

JSON STRUCTURE

Opencypher Open Cypher Relationship Structure

6 properties

JSON STRUCTURE

Sparql Sparql Error Response Structure

3 properties

JSON STRUCTURE

Sparql Sparql Query Status Detail Structure

3 properties

JSON STRUCTURE

Sparql Sparql Query Status List Structure

3 properties

JSON STRUCTURE

Sparql Sparql Request Body Structure

4 properties

JSON STRUCTURE

Sparql Sparql Select Response Structure

3 properties

JSON STRUCTURE

Streams Property Graph Data Structure

6 properties

JSON STRUCTURE

Streams Sparql Stream Record Structure

5 properties

JSON STRUCTURE

Streams Sparql Stream Response Structure

5 properties

JSON STRUCTURE

Streams Stream Event Id Structure

2 properties

JSON STRUCTURE

Example Payloads

Analytics Graph Output Example

15 fields

EXAMPLE

Loader Loader Request Example

12 fields

EXAMPLE

Management Db Cluster Example

15 fields

EXAMPLE

Management Db Instance Example

14 fields

EXAMPLE

Ml Job List Response Example

1 fields

EXAMPLE

Resources

🔗
PostmanWorkspace
PostmanWorkspace
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🌐
Portal
Portal
🔗
Documentation
Documentation
🚀
GettingStarted
GettingStarted
🔑
Authentication
Authentication
📰
Blog
Blog
📄
ChangeLog
ChangeLog
📄
ReleaseNotes
ReleaseNotes
🟢
StatusPage
StatusPage
💬
Support
Support
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy
👥
GitHubOrganization
GitHubOrganization
🔗
Community
Community
🔗
Website
Website
🔗
Login
Login
📝
Signup
Signup
💬
FAQ
FAQ
🔗
Security
Security
🔗
ServiceLevelAgreement
ServiceLevelAgreement
🌐
Console
Console
👥
GitHub Samples
GitHub Samples
📦
SDKs
SDKs
🔧
Tools
Tools
💰
Pricing
Pricing
🔗
JSONLD
JSONLD
🔗
DB Cluster Schema
JSONSchema
🔗
DB Instance Schema
JSONSchema
🔗
Graph Element Schema
JSONSchema
🔗
Loader Job Schema
JSONSchema
🔗
Stream Record Schema
JSONSchema
🔗
Analytics Graph Schema
JSONSchema
🔗
ML Job Schema
JSONSchema
🔗
SpectralRules
SpectralRules
🔗
Vocabulary
Vocabulary
🔗
Analytics Context
JSONLD
🔗
Data Context
JSONLD
🔗
Gremlin Context
JSONLD
🔗
Loader Context
JSONLD
🔗
Management Context
JSONLD
🔗
Ml Context
JSONLD
🔗
Opencypher Context
JSONLD
🔗
Sparql Context
JSONLD
🔗
Streams Context
JSONLD

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Amazon Neptune Neptune Streams API
  version: '2024-01-01'
request:
  auth:
    type: apikey
    key: Authorization
    value: '{{Authorization}}'
    placement: header
items:
- info:
    name: Property Graph Stream
    type: folder
  items:
  - info:
      name: Amazon Neptune Get Property Graph Change Stream Records
      type: http
    http:
      method: GET
      url: https://{cluster-endpoint}:8182/propertygraph/stream
      headers:
      - name: Accept-Encoding
        value: ''
      params:
      - name: limit
        value: ''
        type: query
        description: Maximum number of records to return (1-100,000). Default is 10. The 10 MB response size limit takes precedence
          over this value.
      - name: iteratorType
        value: ''
        type: query
        description: Determines the starting point for reading the stream.
      - name: commitNum
        value: ''
        type: query
        description: The commit number to start reading from. Required when iteratorType is AT_SEQUENCE_NUMBER or AFTER_SEQUENCE_NUMBER.
      - name: opNum
        value: ''
        type: query
        description: The operation sequence number within the specified commit. Default is 1.
    docs: Gets a stream of change-log entries for property graph (Gremlin/openCypher) data. Each entry records a mutation
      (ADD or REMOVE) made to vertices, edges, or their properties. The response format is PG_JSON. This is the recommended
      endpoint for property graph streams, replacing the deprecated /gremlin/stream endpoint.
  - info:
      name: Amazon Neptune Get Property Graph Change Stream Records (alias)
      type: http
    http:
      method: GET
      url: https://{cluster-endpoint}:8182/pg/stream
      params:
      - name: limit
        value: ''
        type: query
      - name: iteratorType
        value: ''
        type: query
      - name: commitNum
        value: ''
        type: query
      - name: opNum
        value: ''
        type: query
    docs: Alias for /propertygraph/stream. Gets a stream of change-log entries for property graph data. Supports the same
      parameters and returns the same response format.
- info:
    name: SPARQL Stream
    type: folder
  items:
  - info:
      name: Amazon Neptune Get SPARQL RDF Change Stream Records
      type: http
    http:
      method: GET
      url: https://{cluster-endpoint}:8182/sparql/stream
      headers:
      - name: Accept-Encoding
        value: ''
      params:
      - name: limit
        value: ''
        type: query
        description: Maximum number of records to return (1-100,000). Default is 10.
      - name: iteratorType
        value: ''
        type: query
        description: Determines the starting point for reading the stream.
      - name: commitNum
        value: ''
        type: query
        description: The commit number to start reading from. Required when iteratorType is AT_SEQUENCE_NUMBER or AFTER_SEQUENCE_NUMBER.
      - name: opNum
        value: ''
        type: query
        description: The operation sequence number within the specified commit.
    docs: Gets a stream of change-log entries for RDF (SPARQL) data. Each entry records a mutation (ADD or REMOVE) of an RDF
      triple or quad. The response format is NQUADS, with each change represented as an N-Quads statement string.
bundled: true