Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
Path Parameters
Request Body
Full JSON Body Example
Request Body Fields
cacheSettings Fields
EnumCacheKeyType
QUERY_PARAMS- Use query parameters as cache keyCUSTOM- Use custom variables as cache key (requires variableList)
EnumCacheStorageType
LOCAL- Local cache (per worker instance)DISTRIBUTED- Distributed cache (shared across all workers)
EnumCacheHandlingAction
CONTINUE- Return cached response and continue to backend (for logging/monitoring)STOP- Return cached response and stop (do not call backend)
Variable Object (for variableList when cacheKeyType=CUSTOM)
EnumVariableType
HEADER- Extract from HTTP headerPARAMETER- Extract from query parameterBODY- Extract from request bodyCONTEXT_VALUES- Extract from context valuesCUSTOM- Custom variable
EnumConditionVariableDataType
NUMERIC- Numeric valueSTRING- String valueDATE- Date value
Response
Success Response (200 OK)
deploy=true is specified:
Response Fields
Error Response (400 Bad Request)
Common Causes
- Missing required field
handlingAction - Invalid enum values
- Invalid cache configuration
Error Response (401 Unauthorized)
Error Response (404 Not Found)
cURL Example
Example 1: Basic Cache Configuration
Example 2: Custom Cache Key
Example 3: Save and Deploy
Notes and Warnings
- handlingAction: Required field.
CONTINUEallows backend call for logging,STOPprevents backend call - Cache Key: When
cacheKeyType=CUSTOM, providevariableListto define cache key components - Storage Type:
LOCALcache is faster but not shared;DISTRIBUTEDcache is shared across workers - TTL: Cache entries expire after TTL seconds
- Capacity: Maximum number of cache entries (older entries are evicted when limit reached)
- GET Only: When
cacheOnlyHttpGetRequests=true, only GET requests are cached (endpoint-level cache can override) - Null Values: When
cacheNullValue=false, null/empty responses are not cached - Deploy: When
deploy=true, the API proxy is automatically deployed to the specified environments after saving
Permissions
User must haveAPI_MANAGEMENT + MANAGE permission in the project.
Related Documentation
- Update CORS Settings - Update CORS settings
- Get API Proxy - Get API proxy details

