Skip to main content
Developers

Build on Data Graphs

Comprehensive APIs, SDKs, and MCP services designed for developers. From your first query to production deployment in days.

REST API

Full read/write and query capabilities. JSON-LD payloads, OpenCypher/GQL queries, webhooks.

API documentation

MCP services

Built-in Model Context Protocol services for connecting AI agents to your knowledge graph.

MCP integration guide

Node.js SDK

The official datagraphs-client SDK for Node.js. Models, Concepts, Datasets, Candidates, and more.

SDK quick start

Python SDK

The official datagraphs-client SDK for Python. Full API coverage with Pythonic patterns and async support.

Python SDK docs
// Install: npm i @datalanguage/datagraphs-client
const DataGraphs = require('@datalanguage/datagraphs-client');

const dg = new DataGraphs({
  dataset: 'your-dataset',
  apiKey: process.env.DG_API_KEY,
  clientId: process.env.DG_CLIENT_ID,
  clientSecret: process.env.DG_CLIENT_SECRET,
});

// Get the active domain model (schema-first)
const model = await dg.models.getActive();

// Query with OpenCypher/GQL
const results = await dg.query.cypher(
  'MATCH (p:Product)-[:HAS_INGREDIENT]->(i) RETURN p, i LIMIT 10'
);

Authentication

API key and OAuth 2.0 support. Enterprise SSO integration available.

Webhooks

Fine-grained, expressive webhooks for event-driven integration patterns.