Quick Start
JavaScriptimport Veyra from '@veyra/sdk';
const veyra = new Veyra({
apiKey: process.env.VEYRA_API_KEY
});
const response = await veyra.chat.create({
model: 'veyra-1',
messages: [
{ role: 'user', content: 'Explain quantum computing' }
]
});
console.log(response.content);Getting Started
Introduction
Overview of the Veyra API
Authentication
API keys and authentication methods
Quick Start
Your first API call in 5 minutes
Rate Limits
Understanding usage limits
Core API
Chat Completions
Send messages and receive responses
Streaming
Real-time streaming responses
Conversations
Manage conversation context
Models
Available models and capabilities
Advanced
Function Calling
Enable Veyra to call your functions
Embeddings
Generate vector embeddings
Fine-tuning
Customize models for your use case
Webhooks
Event-driven integrations
Official SDKs
Python
JavaScript
Go
Rust