API Documentation

Build AI agents programmatically

Quick Start
Get up and running in 5 minutes

1Get your API key

Generate an API key from your dashboard settings. Keep it secure and never commit it to version control.

# Your API key format:
sk_live_abc123def456...

2Install the SDK (optional)

npm install @accelerating/sdk

3Make your first request

curl -X POST https://accelerating.app/api/v1/agents/execute \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "agent_id": "agent_abc123", "input": { "message": "Analyze this customer email", "data": "..." } }'

Endpoints

POST /api/v1/agents
Create a new AI agent
Auth Required

Request Body

{ "name": "Customer Support Agent", "description": "Handles customer inquiries", "domain": "support", "configuration": { "model": "gpt-4", "temperature": 0.7, "system_prompt": "You are a helpful support agent..." }, "integrations": ["gmail", "slack"] }

Response (201 Created)

{ "success": true, "agent": { "id": "agent_abc123", "name": "Customer Support Agent", "status": "active", "created_at": "2025-01-15T10:00:00Z", "webhook_url": "https://accelerating.app/webhooks/agent_abc123" } }
POST /api/v1/agents/execute
Execute an agent with input data
Auth Required

Request Body

{ "agent_id": "agent_abc123", "input": { "message": "Customer wants refund for order #12345", "context": { "customer_id": "cust_789", "order_id": "12345" } }, "async": false }

Response (200 OK)

{ "success": true, "execution_id": "exec_xyz789", "result": { "action": "process_refund", "confidence": 0.95, "response": "Refund initiated for order #12345", "metadata": { "processing_time_ms": 1250 } } }
GET /api/v1/agents
List all your agents
Auth Required

Response (200 OK)

{ "success": true, "agents": [ { "id": "agent_abc123", "name": "Customer Support Agent", "domain": "support", "status": "active", "total_executions": 1247, "created_at": "2025-01-15T10:00:00Z" } ], "total": 1, "page": 1 }
GET /api/v1/analytics
Get agent performance analytics
Auth Required

Query Parameters

?agent_id=agent_abc123&days=30

Response (200 OK)

{ "success": true, "analytics": { "total_executions": 1247, "success_rate": 0.96, "avg_execution_time_ms": 1150, "cost_saved": 8450.00, "time_saved_hours": 312.5, "daily_breakdown": [...] } }
Rate Limits & Pricing
Free

100

requests/day

Pro

Unlimited

requests

Enterprise

Custom

dedicated infrastructure

Need Help?
Get support from our team