Runexa Docs
AI Agent API Documentation
Build AI-powered workflows using Runexa asynchronous APIs for legal, finance, business intelligence, and study automation.
Developer Platform
Async AI infrastructure for enterprise workflows
Introduction
Runexa AI infrastructure
Runexa API allows developers and enterprises to integrate advanced AI analysis workflows directly into products, dashboards, internal tools, and enterprise systems.
Legal AI analysis
Finance AI analysis
Business AI analysis
Study AI analysis
Base URL
https://api.runexa.ai Local: http://127.0.0.1:8000
Authentication
All API requests require a bearer API key.
Authorization: Bearer rk_live_xxxxxxxxx
curl -X GET "http://127.0.0.1:8000/v1/test-api-key" \ -H "Authorization: Bearer rk_live_xxxxxxxxx"
Async Architecture
Runexa APIs use asynchronous AI processing powered by queue-based workers.
Upload file
Create AI job
Worker processing
Retrieve results
Frontend → Runexa API → Job Queue → AI Workers → Persistent Storage → Async Result Retrieval
Finance AI
POST /v1/finance/analyzeBank statements
Subscriptions
Savings opportunities
curl -X POST "http://127.0.0.1:8000/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 AI
POST /v1/legal/analyzeContract analysis
Risk detection
Clause extraction
curl -X POST "http://127.0.0.1:8000/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 AI
POST /v1/business/analyzeKPI dashboards
Forecasting
Executive reporting
curl -X POST "http://127.0.0.1:8000/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
}Jobs API
Retrieve asynchronous AI analysis results.
GET /v1/jobs/{job_id}
{
"id": 15,
"status": "completed",
"progress": 100,
"result": {}
}Error Responses
401 Unauthorized
Missing or invalid API key.
402 Payment Required
Insufficient credits or API access disabled.
413 Payload Too Large
Uploaded file exceeds allowed limits.
429 Too Many Requests
Rate limit exceeded.
500 Server Error
Unexpected AI 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 publicly
Store API keys server-side
Rotate compromised keys immediately
Use HTTPS only
Enterprise Support
support@runexa.ai