Bash
npm i @layerum-team/rag-sdkStart with API keys, then use the SDK or direct API calls. Open the reference page for complete method and query documentation.
01 / AUTH
Create, scope, rotate, and revoke workspace API keys for secure integrations.
02 / SDK
Use @layerum-team/rag-sdk for entities, uploads, ingestion wait, and query workflows.
03 / API
Explore public /v1 endpoints, capabilities, scopes, and request/response behavior.
Install the official SDK package from npm.
npm i @layerum-team/rag-sdkInitialize LayerumClient with your workspace API key.
import { LayerumClient } from '@layerum-team/rag-sdk';
const client = new LayerumClient({
apiKey: process.env.LAYERUM_API_KEY!, // lyr_wk_...
baseUrl: 'https://api.layerum.com'
});
Try our interactive playground to test API calls in real-time without writing a single line of local code.
Open PlaygroundUnderstand the underlying architecture of Layerum and how we handle high-density data vectors.
Core Concepts