API Reference

Getting Started
Authentication Rate Limits Error Handling
NEXUS-RCA
Analyze Reports Tickets
SYNAPSE AI
Pipelines Deployments Metrics
AgentForge
Agents Conversations

API Reference

Complete API documentation for integrating Viseyyon products.

Base URL

https://api.viseyyon.com/v1

Authentication

All API requests require authentication using an API key. Include your API key in the Authorization header.

curl -X GET "https://api.viseyyon.com/v1/analyze" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
Keep your API key secure. Never expose it in client-side code or public repositories.

Analyze

Submit logs, crash dumps, or error data for AI-powered analysis.

POST /analyze

Request Body

Parameter Type Description
data required string The log data, crash dump, or error message to analyze
type string Type of data: "log", "crash_dump", "kernel_panic", "build_error"
project_id string Project identifier for context-aware analysis
agents array Specific LLM agents to use (default: all 5)

Example Request

curl -X POST "https://api.viseyyon.com/v1/analyze" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": "Kernel panic - not syncing: VFS: Unable to mount root fs",
"type": "kernel_panic",
"project_id": "proj_abc123"
}'

Response

{
"id": "analysis_xyz789",
"status": "completed",
"root_cause": {
"summary": "Missing root filesystem mount point",
"confidence": 0.947,
"consensus": 5
},
"recommendations": [...],
"agents_used": ["claude", "gpt4", "gemini", "azure", "grok"]
}

Rate Limits

API rate limits vary by plan. Rate limit information is included in response headers.

Plan Requests/Minute Requests/Day
Free 10 100
Team 60 5,000
Business 300 50,000
Enterprise Custom Unlimited

Error Handling

The API uses standard HTTP status codes and returns detailed error messages.

Status Code Description
200 Success
400 Bad Request - Invalid parameters
401 Unauthorized - Invalid or missing API key
403 Forbidden - Insufficient permissions
429 Too Many Requests - Rate limit exceeded
500 Internal Server Error