Skip to content

Latest commit

 

History

History
75 lines (52 loc) · 2.25 KB

File metadata and controls

75 lines (52 loc) · 2.25 KB

LiteGraph Client SDKs

This directory contains official client SDKs for interacting with the LiteGraph REST API.

Current release: v6.0.0.

Available SDKs

SDK Language Package Documentation
C# SDK C# / .NET NuGet README
Python SDK Python 3.8+ PyPI README
JavaScript SDK Node.js / JavaScript npm README

Quick Start

C# (.NET)

dotnet add package LiteGraph.Sdk
using LiteGraph.Sdk;

LiteGraphSdk sdk = new LiteGraphSdk("http://localhost:8701", "default");
Graph graph = await sdk.Graph.Create(new Graph { TenantGUID = tenantGuid, Name = "My graph" });

Python

pip install litegraph_sdk
from litegraph_sdk import configure, Graph

configure(endpoint="http://localhost:8701", tenant_guid="your-tenant-guid", access_key="default")
graph = Graph.create(name="My Graph")

JavaScript

npm install litegraphdb
import { LiteGraphSdk } from 'litegraphdb';

const sdk = new LiteGraphSdk('http://localhost:8701', 'your-tenant-guid', 'default');
const graph = await sdk.createGraph('guid', 'My Graph');

Features

All SDKs provide:

  • Full REST API coverage for graphs, nodes, edges, labels, tags, and vectors
  • Multi-tenant support
  • Authentication via bearer tokens
  • Search and filtering capabilities
  • Route finding and graph traversal
  • Native graph query and graph transaction workflows
  • Authorization roles, scoped credentials, and effective-permission inspection
  • Request history access where supported
  • GEXF export support
  • Error handling and retry mechanisms

Documentation

For complete API documentation, visit litegraph.readme.io.

For REST API endpoint reference, see REST_API.md in the repository root.