Skip to main content

Agent-CoreX API Reference

The Agent-CoreX API provides three core operations for discovering and executing tools:
  1. Retrieve Tools - Find tools by natural language query
  2. Get Tool - Get detailed information about a specific tool
  3. 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.com

Authentication Methods

Header (Recommended)
Query Parameter

Environment Variable


Base URL

All endpoints are prefixed with this 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:
When rate limited (429 status):

Pagination

For list endpoints, use limit 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

✅ Good: “Create a GitHub PR, deploy to AWS, notify Slack” ❌ Bad: “Do stuff”

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