Getting Started
Set up your environment and make your first API call in minutes.
Documentation
API reference, integration guides, SDK documentation, and developer resources for the full Riven platform.
Set up your environment and make your first API call in minutes.
Complete endpoint reference for chat completions, models, embeddings, and more.
Official SDKs for JavaScript, Python, and other languages.
Connect Riven to your existing tools and workflows.
Guides
Follow along with practical guides covering common integration patterns and use cases.
Create a conversational AI interface using the Riven API with streaming responses.
Read guideManage API keys, set rate limits, and configure access controls for your team.
Read guideDeploy Riven in your organization with SSO, audit logging, and compliance controls.
Read guideQuickstart
The Riven API is fully compatible with the OpenAI SDK. Point your existing code at our endpoint and you are running on the Riven platform.
https://api.rivenai.io/v1npm install openai
# or
pnpm add openaiimport OpenAI from 'openai'
const client = new OpenAI({
apiKey: process.env.RIVEN_API_KEY,
baseURL: 'https://api.rivenai.io/v1',
})
const response = await client.chat.completions.create({
model: 'riven-reasoning-v1',
messages: [
{ role: 'system', content: 'You are a helpful assistant.' },
{ role: 'user', content: 'What is the Riven platform?' },
],
stream: true,
})
for await (const chunk of response) {
process.stdout.write(chunk.choices[0]?.delta?.content || '')
}Get your API key and start building on the Riven platform today.