Introduction
A comprehensive guide to ToolRouter APIs
Welcome
ToolRouter provides two types of API endpoints to serve different use cases:
1. Stack Specific Endpoints
These endpoints use stack tokens and are designed for application integration:
- Create a new Stack in the dashboard
- Click on “Use with API”
- Click on ”+ Create Secure Client”
- Copy URL and Token
- Use the URL and Token to connect your code to ToolRouter
2. Account Management API
These endpoints use API keys and provide programmatic control over your ToolRouter account:
- Log into your ToolRouter Dashboard
- Navigate to your account settings
- Generate a new API key
- Use the API key to manage stacks, servers, and tools programmatically
Screenshot placeholder: API key generation interface
Available Endpoints
Stack Specific Endpoints
List Tools Endpoint
Get a list of all available tools in your stack
Call Tool Endpoint
Execute a specific tool with your parameters
Account Management API
Authentication Guide
Learn how to authenticate with the Account Management API
Stack Management
Create, update, delete, and list your stacks
Server Management
Add servers from the marketplace to your stacks
Credentials Management
Securely manage credentials for your integrations
Tools Management
List and invoke tools from your stacks
Key Differences
Feature | Stack Specific Endpoints | Account Management API |
---|---|---|
Authentication | Stack token | API key |
Purpose | Application integration | Account management |
Base URL | api.toolrouter.ai/s/{client_id} | api.toolrouter.ai/v1 |
Use Case | Runtime tool execution | Stack configuration |
Rate Limits | Per stack | Per account |
Getting Started
- For application integration: Start with Stack Specific Endpoints
- For account automation: Start with Account Management API
Each endpoint is designed to securely connect your application with ToolRouter services. Refer to the specific documentation for detailed usage instructions.