Documentation

Neureus AI API Reference

Full REST API documentation lives in the Neureus dashboard. Below is a quick reference for the most common endpoints and resources.

Quick start

# Install the SDK
npm install @neureus/sdk

# TypeScript
import { NeureuClient } from '@neureus/sdk';

const client = new NeureuClient({
  apiKey: process.env.NEUREUS_API_KEY, // from app.neureus.ai/settings/api-keys
});

// Chat completion (routes to any of 10 providers)
const result = await client.ai.chat({
  model: 'meta/llama-3.3-70b', // free — or use claude-sonnet-4-6, gpt-4o, etc.
  messages: [{ role: 'user', content: 'Hello, Neureus!' }],
});
console.log(result.text);

// RAG: ingest + query
await client.rag.ingest({ url: 'https://your-docs.com/guide' });
const rag = await client.rag.query({ query: 'How do I get started?' });
console.log(rag.answer);

API endpoint reference

Base URL https://app.neureus.ai Auth Authorization: Bearer nr_your_api_key