API Reference
Build custom integrations and automate workflows programmatically with the ALLROUNDERAI API.
Getting Started
Base URL
https://api.allrounderai.com/v1Authentication
All API requests require an API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYRate Limits
- • Basic: 100 requests/minute
- • Pro: 1,000 requests/minute
- • Enterprise: Custom limits
Core Endpoints
🤖 Agents
GET
/agentsList all agents
POST
/agentsCreate a new agent
GET
/agents/:idGet agent details
PUT
/agents/:idUpdate an agent
DELETE
/agents/:idDelete an agent
⚡ Executions
GET
/executionsList all executions with filters
POST
/agents/:id/executeTrigger agent execution
GET
/executions/:idGet execution details and logs
POST
/executions/:id/retryRetry a failed execution
🔌 Integrations
GET
/integrationsList available integrations
GET
/integrations/connectedList user's connected integrations
POST
/integrations/:name/connectConnect an integration (OAuth)
DELETE
/integrations/:name/disconnectDisconnect an integration
Code Examples
Create and Execute an Agent
// Node.js / JavaScript
const response = await fetch('https://api.allrounderai.com/v1/agents', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'Lead Qualifier',
type: 'sales',
workflow: {
trigger: 'webhook',
actions: [
{ type: 'enrich_contact', integration: 'clearbit' },
{ type: 'score_lead', criteria: { company_size: '>50' } },
{ type: 'create_deal', integration: 'salesforce' }
]
}
})
});
const agent = await response.json();
console.log('Agent created:', agent.id);Execute Agent with Input Data
// Python
import requests
response = requests.post(
'https://api.allrounderai.com/v1/agents/agent_123/execute',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
json={
'input': {
'email': 'john@example.com',
'company': 'Acme Corp'
}
}
)
execution = response.json()
print(f"Execution started: {execution['id']}")Monitor Execution Status
// cURL
curl -X GET \
https://api.allrounderai.com/v1/executions/exec_456 \
-H 'Authorization: Bearer YOUR_API_KEY'
# Response
{
"id": "exec_456",
"agent_id": "agent_123",
"status": "success",
"started_at": "2026-01-13T10:00:00Z",
"completed_at": "2026-01-13T10:00:15Z",
"output": {
"lead_score": 85,
"salesforce_deal_id": "deal_789"
}
}Webhooks
Subscribe to webhook events to receive real-time notifications when agents execute, fail, or require approval.
Available Events
agent.createdagent.updatedexecution.startedexecution.completedexecution.failedapproval.requestedExample Webhook Payload
{
"event": "execution.completed",
"timestamp": "2026-01-13T10:00:15Z",
"data": {
"execution_id": "exec_456",
"agent_id": "agent_123",
"status": "success",
"output": { ... }
}
}Official SDKs
📦
JavaScript
npm install @allrounderai/sdk🐍
Python
pip install allrounderai🔵
Go
go get github.com/allrounderai/sdk-goReady to Build?
Get your API key and start automating workflows programmatically.