Runexa Documentation
Runexa API Documentation
Build AI-powered applications and workflows using Runexa APIs for legal intelligence, financial analysis, learning automation, and business decision support.
Developer Platform
Asynchronous AI infrastructure built for production
Introduction
Runexa AI Infrastructure
Runexa APIs enable developers and organizations to integrate advanced AI analysis workflows into applications, dashboards, internal tools, and enterprise systems.
Legal Document Analysis
Financial Analysis
Business Intelligence
Learning Analysis
Base URL
Production:
https://api.runexa.ai
Local:
http://127.0.0.1:8000
Authentication
All API requests require a valid bearer API key.
Authorization: Bearer rk_live_xxxxxxxxx
curl -X GET "https://api.runexa.ai/v1/test-api-key" \ -H "Authorization: Bearer rk_live_xxxxxxxxx"
Asynchronous Architecture
Runexa APIs use asynchronous processing powered by distributed workers and job queues.
Upload Document
Create Job
Processing
Retrieve Results
Frontend → Runexa API → Job Queue → AI Workers → Persistent Storage → Async Result Retrieval
Financial Intelligence
POST /v1/finance/analyzeBank Statements
Subscriptions
Savings Opportunities
curl -X POST "https://api.runexa.ai/v1/finance/analyze" \ -H "Authorization: Bearer rk_live_xxxxxxxxx" \ -F "file=@statement.pdf" \ -F "output_language=en"
{
"job_id": 9,
"status": "pending",
"progress": 0,
"status_message": "Finance API analysis queued...",
"credits_used": 7,
"remaining_api_credits": 88
}Legal Intelligence
POST /v1/legal/analyzeContract Analysis
Risk Detection
Clause Extraction
curl -X POST "https://api.runexa.ai/v1/legal/analyze" \ -H "Authorization: Bearer rk_live_xxxxxxxxx" \ -F "file=@contract.pdf" \ -F "output_language=en"
{
"job_id": 10,
"status": "pending",
"credits_used": 12,
"remaining_api_credits": 76
}Business Intelligence
POST /v1/business/analyzePerformance Metrics
Forecasting
Executive Reporting
curl -X POST "https://api.runexa.ai/v1/business/analyze" \ -H "Authorization: Bearer rk_live_xxxxxxxxx" \ -F "file=@business.xlsx" \ -F "output_language=en"
{
"job_id": 13,
"status": "pending",
"credits_used": 30,
"remaining_api_credits": 22
}Learning Intelligence
POST /v1/study/analyzeLearning Materials
Summaries
Quizzes & Flashcards
curl -X POST "https://api.runexa.ai/v1/study/analyze" \ -H "Authorization: Bearer rk_live_xxxxxxxxx" \ -F "file=@study.pdf" \ -F "output_language=en" \ -F "education_level=university"
{
"job_id": 14,
"status": "pending",
"credits_used": 5,
"remaining_api_credits": 17
}Jobs API
Retrieve the status and results of asynchronous AI jobs.
GET /v1/jobs/{job_id}
{
"id": 15,
"status": "completed",
"progress": 100,
"result": {}
}Errors
401
Missing or invalid API key.
402
Insufficient credits or API access unavailable.
413
Uploaded file exceeds allowed limits.
429
Rate limit exceeded.
500
Unexpected processing error.
Rate Limits
| Plan | Requests |
|---|---|
| API Starter | 10 requests/minute |
| API Pro | 60 requests/minute |
| Enterprise API | Custom |
Security & Enterprise Support
Never expose API keys in client-side applications
Store API keys securely on the server
Rotate compromised keys immediately
Use HTTPS for all API requests
Enterprise Support
support@runexa.ai