Overview
The RunAgent API is a RESTful interface that allows you to deploy, manage, and interact with AI agents programmatically. All API access is over HTTPS, and data is sent and received as JSON.Base URL
Authentication
All API requests require authentication using an API key:Request Format
Headers
Required headers for all requests:Request Body
POST and PUT requests accept JSON:Response Format
Success Response
Error Response
Status Codes
Rate Limiting
API requests are rate limited:- Free tier: 100 requests per hour
- Pro tier: 1,000 requests per hour
- Enterprise: Custom limits
Pagination
List endpoints support pagination:Versioning
The API is versioned via the URL path:- Current version:
v1 - Legacy support: 12 months
- Deprecation notices: 6 months in advance
Common Patterns
Async Operations
Long-running operations return immediately:Streaming Responses
For streaming endpoints, use Server-Sent Events:Batch Operations
Submit multiple requests in one call:SDK vs Direct API
Quick Start
- cURL
- Python
- JavaScript
Next Steps
Authentication
Set up API authentication
Endpoints
Explore available endpoints
Still have a question?
- Join our Discord Community
- Email us: [email protected]
- Follow us on X
- New here? Sign up