Complete Agent-CoreX API Reference
77 Endpoints organized by feature group with interactive playground.π Endpoint Summary by Group
| Group | Count | Description |
|---|---|---|
| Tool Discovery | 6 | Retrieve, filter, and manage tools |
| Tool Execution | 2 | Execute tools and manage execution jobs |
| MCP Servers | 8 | Manage MCP server installations and registry |
| Capabilities & Packs | 15 | Enable capabilities, manage custom packs |
| Authentication | 4 | API key and CLI device-flow auth |
| Usage & Analytics | 8 | Track usage, view analytics dashboards |
| Moderation & Flagging | 10 | Flag servers, manage reviews and verification |
| Billing & Plans | 5 | Manage billing and plan upgrades |
| Admin Management | 4 | User and system administration |
| Integrations | 4 | Free tools, recommender, embeddings |
| Advanced Retrieval | 4 | V2/V3 hybrid tool retrieval |
| User Servers | 3 | Sync userβs installed servers/packs |
| System Health | 1 | Health check endpoint |
| Other | 3 | Agent execution, observability logs |
π Authentication
All protected endpoints require authentication using one of these methods:Method 1: Bearer Token (Recommended)
Method 2: Header Key
Method 3: Query Parameter
Method 4: Admin Key (For Admin Endpoints)
π Base URL
π¦ Tool Discovery Endpoints (6)
1. GET /retrieve_tools
Semantic search over tools by natural language query. Auth: OptionalQuery Params:
query(string, required) - Natural language search querytop_k(integer, optional, default: 5) - Number of results to return
2. GET /tools
List all available tools with metadata. Auth: OptionalQuery Params: None Example Request:
3. GET /v2/retrieve_tools
Advanced V2/V3 hybrid retrieval with capability filtering. Auth: OptionalQuery Params:
query(string, required)top_k(integer, 1-20, default: 5)use_hybrid_v3(boolean, default: true) - Use V3 algorithm
4. GET /v2/capabilities
List all available MCP server capabilities. Auth: OptionalQuery Params: None Example Response:
5. GET /capabilities
List capabilities with tool counts. Auth: OptionalExample Response:
6. GET /tools/registry
Get all tools from the registry. Auth: Not requiredExample Response:
βοΈ Tool Execution Endpoints (2)
7. POST /execute_tool
Execute a tool directly (admin only). Auth: Required (Admin)Request Body:
tool(string, required) - Tool namearguments(object, required) - Tool argumentsmode(string, optional) - Execution mode
8. POST /jobs/submit
Submit async job for tool execution. Auth: RequiredRequest Body:
tool(string) - Tool namearguments(object) - Tool arguments
π MCP Server Management (8)
9. GET /mcp_servers
List all MCP servers with user state. Auth: RequiredExample Response:
10. POST /mcp_servers/toggle
Toggle MCP server state. Auth: RequiredRequest Body:
server(string) - Server nameenabled(boolean) - Enable/disable
11. GET /mcp_registry
List all MCP servers from registry. Auth: Not required12. GET /mcp_registry/
Get specific MCP server. Auth: Not required13-16. Admin MCP Registry Endpoints
Create, update, delete, and sync MCP registry entries. Auth: Required (Admin)- POST /admin/mcp_registry
- PATCH /admin/mcp_registry/
- DELETE /admin/mcp_registry/
- POST /admin/mcp_registry/sync-to-supabase
π¦ Capabilities & Packs (15)
17. GET /packs
List all capability packs. Auth: Optional18. GET /packs/
Get specific pack. Auth: Optional19. GET /packs//servers
Get servers in a pack. Auth: Optional20. POST /packs/enable
Enable all capabilities in a pack. Auth: RequiredRequest Body:
pack_id(string) - Pack to enable
21-31. Custom Packs Endpoints (11)
Manage custom packs and servers. Auth: Required- POST /custom-packs/mcp-servers - Create custom server
- GET /custom-packs/mcp-servers - List custom servers
- POST /custom-packs/packs - Create custom pack
- GET /custom-packs/packs - List custom packs
- GET /custom-packs/packs/ - Get pack
- PATCH /custom-packs/packs/ - Update pack
- DELETE /custom-packs/packs/ - Delete pack
- PUT /custom-packs/packs//servers - Replace servers
- POST /custom-packs/packs//servers - Add server
- DELETE /custom-packs/packs//servers/ - Remove server
- GET /custom-packs/packs//install - Get install command
π Authentication Endpoints (4)
32. GET /health
System health check. Auth: Not requiredExample Response:
33. POST /auth/login
Authenticate with API key. Auth: Required34. POST /auth/cli/start
Start CLI authentication (device code flow). Auth: Not requiredExample Response:
35. POST /auth/cli/poll
Poll CLI session status. Auth: Not requiredRequest Body:
device_code(string) - Device code from /auth/cli/start
36. POST /auth/cli/complete
Complete CLI authentication. Auth: Required (Supabase token in body)π Usage & Analytics (8)
37. POST /usage/event
Record usage event. Auth: Optional (Bearer token or API key)Request Body: Custom usage event structure
38. POST /query/log
Log query event. Auth: OptionalRequest Body: Query details
39. GET /queries
Get userβs query history. Auth: RequiredQuery Params:
limit(integer, default: 50)
40. POST /tools/selection-log
Log tool selection/rejection. Auth: Optional41. POST /observability/tool-logs
Ingest batch of tool logs. Auth: Optional42. GET /observability/tool-insights
Get tool usage insights. Auth: Optional43-45. MCP Analytics (3)
Track and view analytics. Auth Requirements Vary- POST /mcp-analytics/analytics/track - Public
- GET /mcp-analytics/servers//analytics - Admin
- GET /mcp-analytics/analytics/dashboard - Admin
- GET /mcp-analytics/analytics/search-trends - Admin
π« Moderation & Flagging (10)
46. POST /mcp-moderation/servers//flags
Flag server for review. Auth: Required (User ID)47. GET /mcp-moderation/servers//flags
Get server flags. Auth: Not required48. PATCH /mcp-moderation/flags/
Resolve flag (admin). Auth: Required (Admin)49. GET /mcp-moderation/servers//verification
Get server verification status. Auth: Not required50. PATCH /mcp-moderation/servers//verification
Update verification (admin). Auth: Required (Admin)51. POST /mcp-moderation/servers//reviews
Create server review. Auth: Required (User ID)52. GET /mcp-moderation/servers//reviews
Get server reviews. Auth: Not requiredQuery Params:
sort_by- βrecentβ, βratingβlimit- Number of reviews
53. GET /mcp-moderation/servers/featured
Get featured servers. Auth: Not required54. GET /mcp-moderation/moderation/dashboard
View moderation dashboard (admin). Auth: Required (Admin)π³ Billing & Plans (5)
55. GET /billing/plans
Get available plans. Auth: Not requiredExample Response:
56. GET /billing/user-limits
Get current userβs plan limits. Auth: RequiredExample Response:
57. POST /billing/create-order
Create payment order (Razorpay). Auth: RequiredRequest Body:
plan_id(string)
58. POST /billing/verify-payment
Verify payment and update plan. Auth: RequiredRequest Body:
plan_id(string)razorpay_order_id(string)razorpay_payment_id(string)razorpay_signature(string)
59. POST /billing/webhook
Razorpay webhook handler. Auth: Webhook signature verificationπ₯ Admin Management (4)
60. GET /admin/users
List all users. Auth: Required (Admin)61. GET /admin/users/
Get user details. Auth: Required (Admin)62. PATCH /admin/users//role
Update user role. Auth: Required (Admin)Request Body:
role(string) - βadminβ or βuserβ
63. DELETE /admin/users/
Delete user. Auth: Required (Admin)π§ Integrations (4)
64. GET /free-tools/status
Free tools service status. Auth: Not required65. POST /free-tools/run
Execute free tool. Auth: OptionalRequest Body:
tool_slug(string) - Tool sluginput(object) - Tool inputuser_identifier(string, optional)
66. POST /free-tools/install
Install free tool. Auth: Not required67. GET /recommender/examples
Get recommendation examples. Auth: Not required68. POST /recommender/status
Recommender service status. Auth: Not required69. POST /recommender
Get AI-powered tool recommendation. Auth: OptionalRequest Body:
query(string) - User query
70. GET /settings/embedding
Get embedding settings. Auth: Required71. POST /settings/embedding
Save embedding settings. Auth: RequiredRequest Body:
provider(string) - βopenaiβ or otheropenai_model(string) - Model name
π― User Servers (3)
72. GET /user-servers/servers
Get userβs enabled servers. Auth: RequiredExample Response:
73. POST /user-servers/servers
Sync user servers to backend. Auth: RequiredRequest Body:
installed_servers(array)installed_packs(array)
74. POST /user-servers/sync-trigger
Trigger server sync. Auth: Requiredπ Advanced Retrieval (4)
75. POST /v2/index_tools
Enrich and index tools. Auth: RequiredRequest Body:
tools(array) - Tools to indexskip_existing(boolean, optional)
76. POST /v2/track_installation
Track tool installation. Auth: RequiredRequest Body:
tool_name(string)server(string)pack_id(string, optional)
π€ Agent Execution (1)
77. POST /agent/execute
Execute Vibe Coding task. Auth: OptionalRequest Body:
query(string)
π Quick Reference Table
| # | Method | Path | Auth | Description |
|---|---|---|---|---|
| 1 | GET | /retrieve_tools | Opt | Semantic tool search |
| 2 | GET | /tools | Opt | List all tools |
| 3 | GET | /v2/retrieve_tools | Opt | Advanced retrieval |
| 4 | GET | /v2/capabilities | Opt | List capabilities |
| 5 | GET | /capabilities | Opt | Capabilities with counts |
| 6 | GET | /tools/registry | No | Tool registry |
| 7 | POST | /execute_tool | Yes | Execute tool (admin) |
| 8 | POST | /jobs/submit | Yes | Submit async job |
| 9 | GET | /jobs/ | Yes | Get job status |
| 10 | DELETE | /jobs/ | Yes | Cancel job |
| 11 | GET | /jobs | Yes | List user jobs |
| 12 | GET | /mcp_servers | Yes | List MCP servers |
| 13 | POST | /mcp_servers/toggle | Yes | Toggle server |
| 14 | GET | /tools/installed | Yes | List installed tools |
| 15 | GET | /mcp_registry | No | Get registry |
| 16 | GET | /mcp_registry/ | No | Get registry entry |
| 17 | POST | /admin/mcp_registry | Yes | Create registry entry |
| 18 | PATCH | /admin/mcp_registry/ | Yes | Update registry entry |
| 19 | DELETE | /admin/mcp_registry/ | Yes | Delete registry entry |
| 20 | POST | /admin/mcp_registry/sync-to-supabase | Yes | Sync to Supabase |
| 21 | GET | /health | No | Health check |
| 22 | POST | /auth/login | Yes | Login |
| 23 | POST | /auth/cli/start | No | Start CLI auth |
| 24 | POST | /auth/cli/poll | No | Poll CLI status |
| 25 | POST | /auth/cli/complete | Yes | Complete CLI auth |
| 26 | GET | /packs | Opt | List packs |
| 27 | GET | /packs/ | Opt | Get pack |
| 28 | GET | /packs//servers | Opt | Get pack servers |
| 29 | POST | /packs/enable | Yes | Enable pack |
| 30 | POST | /custom-packs/mcp-servers | Yes | Create custom server |
| 31 | GET | /custom-packs/mcp-servers | Yes | List custom servers |
| 32 | POST | /custom-packs/packs | Yes | Create custom pack |
| 33 | GET | /custom-packs/packs | Yes | List custom packs |
| 34 | GET | /custom-packs/packs/ | Yes | Get custom pack |
| 35 | PATCH | /custom-packs/packs/ | Yes | Update custom pack |
| 36 | DELETE | /custom-packs/packs/ | Yes | Delete custom pack |
| 37 | PUT | /custom-packs/packs//servers | Yes | Replace pack servers |
| 38 | POST | /custom-packs/packs//servers | Yes | Add server to pack |
| 39 | DELETE | /custom-packs/packs//servers/ | Yes | Remove server from pack |
| 40 | GET | /custom-packs/packs//install | Yes | Get install command |
| 41 | POST | /usage/event | Opt | Record usage |
| 42 | POST | /query/log | Opt | Log query |
| 43 | GET | /queries | Yes | Get query history |
| 44 | POST | /tools/selection-log | Opt | Log selection |
| 45 | POST | /mcp-analytics/analytics/track | No | Track analytics |
| 46 | GET | /mcp-analytics/servers//analytics | Yes | Get analytics |
| 47 | GET | /mcp-analytics/analytics/dashboard | Yes | Analytics dashboard |
| 48 | GET | /mcp-analytics/analytics/search-trends | Yes | Search trends |
| 49 | POST | /mcp-moderation/servers//flags | Yes | Flag server |
| 50 | GET | /mcp-moderation/servers//flags | No | Get flags |
| 51 | PATCH | /mcp-moderation/flags/ | Yes | Resolve flag |
| 52 | GET | /mcp-moderation/servers//verification | No | Get verification |
| 53 | PATCH | /mcp-moderation/servers//verification | Yes | Update verification |
| 54 | POST | /mcp-moderation/servers//reviews | Yes | Create review |
| 55 | GET | /mcp-moderation/servers//reviews | No | Get reviews |
| 56 | GET | /mcp-moderation/servers/featured | No | Featured servers |
| 57 | GET | /mcp-moderation/moderation/dashboard | Yes | Moderation dashboard |
| 58 | GET | /billing/plans | No | Get plans |
| 59 | GET | /billing/user-limits | Yes | Get user limits |
| 60 | POST | /billing/create-order | Yes | Create order |
| 61 | POST | /billing/verify-payment | Yes | Verify payment |
| 62 | POST | /billing/webhook | Special | Razorpay webhook |
| 63 | GET | /admin/users | Yes | List users |
| 64 | GET | /admin/users/ | Yes | Get user |
| 65 | PATCH | /admin/users//role | Yes | Update role |
| 66 | DELETE | /admin/users/ | Yes | Delete user |
| 67 | GET | /free-tools/status | No | Tool status |
| 68 | POST | /free-tools/run | Opt | Run tool |
| 69 | POST | /free-tools/install | No | Install tool |
| 70 | GET | /recommender/examples | No | Get examples |
| 71 | POST | /recommender/status | No | Status |
| 72 | POST | /recommender | Opt | Get recommendation |
| 73 | GET | /settings/embedding | Yes | Get settings |
| 74 | POST | /settings/embedding | Yes | Save settings |
| 75 | POST | /observability/tool-logs | Opt | Ingest logs |
| 76 | GET | /observability/tool-insights | Opt | Get insights |
| 77 | GET | /user-servers/servers | Yes | Get servers |
| 78 | POST | /user-servers/servers | Yes | Sync servers |
| 79 | POST | /user-servers/sync-trigger | Yes | Trigger sync |
| 80 | POST | /v2/index_tools | Yes | Index tools |
| 81 | POST | /v2/track_installation | Yes | Track install |
| 82 | POST | /agent/execute | Opt | Execute agent |
β¨ Features by Endpoint Type
π’ Public (No Auth Required)
- GET /health
- GET /tools/registry
- GET /mcp_registry
- GET /mcp_registry/
- POST /auth/cli/start
- POST /auth/cli/poll
- GET /mcp-moderation/servers//flags
- GET /mcp-moderation/servers//verification
- GET /mcp-moderation/servers//reviews
- GET /mcp-moderation/servers/featured
- GET /billing/plans
- GET /free-tools/status
- POST /free-tools/install
- GET /recommender/examples
- POST /recommender/status
- POST /mcp-analytics/analytics/track
π‘ Optional Auth
- GET /retrieve_tools
- GET /tools
- GET /v2/retrieve_tools
- GET /v2/capabilities
- GET /capabilities
- GET /packs
- GET /packs/
- GET /packs//servers
- POST /usage/event
- POST /query/log
- POST /tools/selection-log
- POST /observability/tool-logs
- GET /observability/tool-insights
- POST /free-tools/run
- POST /recommender
- POST /agent/execute
π΄ Required Auth
- POST /auth/login
- POST /auth/cli/complete
- POST /jobs/submit
- GET /jobs/
- DELETE /jobs/
- GET /jobs
- GET /mcp_servers
- POST /mcp_servers/toggle
- GET /tools/installed
- All /custom-packs/* endpoints
- GET /queries
- POST /packs/enable
- All /admin/* endpoints
- All /billing/* endpoints (except GET /billing/plans)
- All authenticated /mcp-analytics/* endpoints
- All authenticated /mcp-moderation/* endpoints
- All /user-servers/* endpoints
- All /v2/* authenticated endpoints
- GET /settings/embedding
- POST /settings/embedding
π Admin Only
- POST /execute_tool
- POST /admin/mcp_registry
- PATCH /admin/mcp_registry/
- DELETE /admin/mcp_registry/
- POST /admin/mcp_registry/sync-to-supabase
- GET /mcp-analytics/servers//analytics
- GET /mcp-analytics/analytics/dashboard
- GET /mcp-analytics/analytics/search-trends
- PATCH /mcp-moderation/flags/
- PATCH /mcp-moderation/servers//verification
- GET /mcp-moderation/moderation/dashboard
- GET /admin/users
- GET /admin/users/
- PATCH /admin/users//role
- DELETE /admin/users/