Agent-CoreX API Reference
The Agent-CoreX API provides three core operations for discovering and executing tools:- Retrieve Tools - Find tools by natural language query
- Get Tool - Get detailed information about a specific tool
- Execute Tool - Run a tool with specified parameters
Authentication
All API requests require authentication using your API key.API Key Setup
Get your API key from dashboard.agent-corex.comAuthentication Methods
Header (Recommended)Environment Variable
Base URL
Common Response Format
All responses follow a standard format:Success Response (2xx)
Error Response (4xx, 5xx)
Error Codes
Retrieve Tools
GET/retrieve_tools
Find available tools using natural language.
Query Parameters
Example Request
Example Response
Get Tool
GET/tools/{tool_name}
Get detailed information about a specific tool.
Path Parameters
Example Request
Example Response
Execute Tool
POST/execute_tool
Execute a tool with specified parameters.
Request Body
Example Request
Example Response
Rate Limiting
Agent-CoreX enforces rate limits based on your plan:Free Tier
- 1,000 requests/month
- 10 requests/minute
- 100 concurrent requests
Pro Tier
- 100,000 requests/month
- 100 requests/minute
- 1,000 concurrent requests
Enterprise
- Custom limits
- Dedicated support
- SLA: 99.99% uptime
Rate Limit Headers
Every response includes rate limit information:Pagination
For list endpoints, uselimit and offset:
Response
Filtering
Use filters to narrow results:Webhooks & Async Operations
For long-running operations, use webhooks:Register Webhook
Webhook Payload
SDK Usage
The Agent-CoreX SDK abstracts API complexity:JavaScript
Python
Best Practices
1. Always use specific queries
1. Always use specific queries
✅ Good: “Create a GitHub PR, deploy to AWS, notify Slack”
❌ Bad: “Do stuff”
2. Handle errors gracefully
2. Handle errors gracefully
3. Batch requests efficiently
3. Batch requests efficiently
4. Cache tool lists
4. Cache tool lists
Next Steps
Retrieve Tools Endpoint
Deep dive into the tool discovery API.
Execute Tool Endpoint
Execute tools and handle responses.
Code Examples
Real-world examples and workflows.
Need help? Check our FAQ or contact support