Collections are the primary way you organize and expose tools to AI clients. Think of them as curated toolboxes that control which tools are available to specific API keys.Documentation Index
Fetch the complete documentation index at: https://hypha-docs.plinqx.app/llms.txt
Use this file to discover all available pages before exploring further.
Why Collections Matter
Collections provide:- Access Control: API keys are scoped to Collections, limiting which tools AI clients can access
- Tool Curation: Choose exactly which tools from your providers, custom tools, and MCP servers are exposed
- Policy Scope: Apply governance policies at the Collection level
- Organization: Group related tools logically (e.g., “Salesforce Tools”, “Internal APIs”)
Creating a Collection
Adding Tools to Collections
Once you’ve created a collection, add tools from any source:Configuring Tools in Collections
Each tool in a collection can be individually configured:Tool Settings
Click the Settings icon next to any tool to configure:- Alias: Rename the tool for AI clients (e.g.,
sf_queryinstead ofSALESFORCE_PROD_sf_query) - Enabled: Toggle tool availability on/off
- Credential Policy: How credentials are resolved:
- System: Use tenant-level credentials
- User Required: Each user must connect their own credentials
- User Preferred: Use user credentials if available, fall back to system
Rate Limiting
Configure per-tool rate limits:- Window: Time window (per minute, per hour, per day)
- Limit: Maximum calls per window
- Scope: Apply to all principals or specific ones
Field Masking
Mask sensitive fields in tool responses:- Input Masking: Hide fields in request logs
- Output Masking: Redact fields from responses
Usage Quotas
Set daily or monthly quotas for tool usage:- Daily Quota: Maximum calls per day
- Monthly Quota: Maximum calls per month
Managing Collections
Editing Collections
Click Edit on a collection to:- Update name and description
- Configure cache settings
- View usage statistics
Deleting Collections
To delete a collection:- Open the collection
- Click Delete Collection
- Confirm the deletion
Linking API Keys
Collections must be linked to API keys for AI clients to access them:An API key can be linked to multiple collections, giving it access to all tools in those collections.
Collection Cache Settings
Collections support response caching to improve performance:- Cache Enabled: Toggle caching on/off
- TTL: Time-to-live for cached responses (in seconds)
- Tool-Specific Rules: Override collection cache settings per tool
Best Practices
Organize by Purpose
Create collections that group tools by use case (e.g., “Customer Support Tools”, “Data Analytics”)
Limit Scope
Only add tools that are needed for each collection’s purpose
Use Aliases
Create friendly aliases for complex tool names
Test First
Use the Playground to test tools before adding them to production collections
Next Steps
Create API Keys
Generate API keys for your collections
Set Up Policies
Configure governance policies for collections