Skip to content

API Reference

Complete API documentation for all supported languages.

Python API

The Python API provides a Pythonic interface to Grafeo.

Node.js / TypeScript API

Native bindings via napi-rs with full TypeScript definitions.

Go API

CGO bindings for cloud-native applications.

C# / .NET API

Full-featured .NET 8 bindings via source-generated P/Invoke.

  • Package: GrafeoDB (NuGet)
  • GQL + multi-language queries (sync and async), ACID transactions
  • Typed node/edge CRUD, vector search (k-NN + MMR), temporal type support
  • SafeHandle-based resource management

Dart API

Dart FFI bindings wrapping the C layer.

  • Package: grafeo
  • GQL query execution with parameterized queries, ACID transactions
  • Typed node/edge CRUD, vector search, NativeFinalizer resource management

WebAssembly API

Run Grafeo in the browser, Deno or Cloudflare Workers.

  • Package: @grafeo-db/wasm
  • In-memory only, all query languages supported
  • 660 KB gzipped binary

Rust API

The Rust API provides direct access to Grafeo internals.

API Stability

API Stability
Python Stable
Node.js / TypeScript Stable
Go Stable
C# / .NET Stable
Dart Stable
WebAssembly Stable
Rust (grafeo-engine) Stable
Rust (internal crates) Unstable