Skip to main content
Glama

create_config

Create configuration files with cache, retry, and routing settings for API management in Portkey workspaces.

Instructions

Create a new configuration with cache, retry, and routing settings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName for the new configuration
workspace_idNoWorkspace ID to create config in
cache_modeNoCache mode: 'simple' or 'semantic'
cache_max_ageNoCache max age in seconds
retry_attemptsNoNumber of retry attempts (1-5)
retry_on_status_codesNoHTTP status codes to retry on (e.g., [429, 500, 502, 503])
strategy_modeNoRouting strategy: 'loadbalance' or 'fallback'
targetsNoArray of target providers with virtual keys

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/s-b-e-n-s-o-n/portkey-admin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server