Developer API
Build powerful integrations with our comprehensive REST API. Everything you need to integrate Neural Intellegence Models into your applications.
API Features
Secure Authentication
OAuth 2.0 and API key authentication with rate limiting
Real-time Updates
WebSocket connections for instant communication
RESTful Design
Clean, predictable API following REST principles
Global CDN
Low-latency access from anywhere in the world
Key Endpoints
POST
/api/agents
201 Created
Create a new AI agent
GET
/api/agents/{id}
200 OK
Retrieve agent information
PUT
/api/agents/{id}/config
200 OK
Update agent configuration
POST
/api/chat
200 OK
Send message to agent
Quick Start Example
Create Your First Agent
// Initialize the KNIRV client const knirv = new KnirvClient({ apiKey: 'your-api-key', baseURL: 'https://api.knirv.network' }); // Create a new agent const agent = await knirv.agents.create({ name: 'Customer Support Agent', personality: 'helpful and friendly', capabilities: ['chat', 'search', 'analytics'] }); // Start a conversation const response = await knirv.chat.send({ agentId: agent.id, message: 'Hello, how can I help you today?' }); console.log(response.message);