Overview
Tora AI provides a comprehensive set of APIs for integrating security features into your autonomous systems. Our APIs are designed to be easy to use, well-documented, and highly performant.
// Example: Initialize Tora AI client
import { ToraClient } from '@tora/sdk';
const client = new ToraClient({
apiKey: process.env.TORA_API_KEY,
environment: 'production'
});
// Register an agent for monitoring
const agent = await client.agents.register({
id: 'agent-123',
name: 'Assistant Bot',
capabilities: ['text-generation', 'code-analysis']
});
REST API
Our REST API provides endpoints for managing agents, policies, and security events.
- → Authentication
- → Agent Management
- → Policy Configuration
- → Event Monitoring
SDK Reference
Our SDKs provide a convenient way to integrate Tora AI into your applications.
- → JavaScript/TypeScript SDK
- → Python SDK
- → Rust SDK
- → Go SDK
Webhooks
Tora AI provides webhooks for real-time notifications about security events and agent activities.
Available Webhook Events
agent.registered
Triggered when a new agent is registered with Tora AI.
agent.updated
Triggered when an agent's configuration is updated.
security.threat_detected
Triggered when a security threat is detected.
security.policy_violation
Triggered when an agent violates a security policy.
Rate Limits
To ensure fair usage and system stability, Tora AI implements rate limits on API requests. The following table outlines the rate limits for different API endpoints.
Endpoint | Rate Limit | Window |
---|---|---|
Agent Registration | 100 requests | per hour |
Policy Updates | 300 requests | per hour |
Event Monitoring | 1000 requests | per hour |
Threat Analysis | 500 requests | per hour |