University of Amsterdam Cache Settings API

The Cache Settings API from University of Amsterdam — 2 operation(s) for cache settings.

Operations 3

GET /cache/settings Get Cache Settings #
POST /cache/settings Update Cache Settings #
POST /cache/settings/test Test Cache Connection #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/university-of-amsterdam-cache-settings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

university-of-amsterdam-cache-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LiteLLM Cache Settings API
  description: "Enterprise Edition \n\nProxy Server to call 100+ LLMs in the OpenAI format. [**Customize Swagger Docs**](https://docs.litellm.ai/docs/proxy/enterprise#swagger-docs---custom-routes--branding)\n\n\U0001F449 [```LiteLLM Admin Panel on /ui```](/ui). Create, Edit Keys with SSO. Having issues? Try [```Fallback Login```](/fallback/login)\n\n\U0001F4B8 [```LiteLLM Model Cost Map```](https://models.litellm.ai/).\n\n\U0001F50E [```LiteLLM Model Hub```](/ui/model_hub_table). See available models on the proxy. [**Docs**](https://docs.litellm.ai/docs/proxy/ai_hub)"
  version: 1.95.0
  x-operator: institution
  x-provenance:
    method: probed
    source: https://llmproxy.uva.nl/openapi.json
    retrieved: '2026-08-19'
    note: Document is generated by the LiteLLM proxy software the University of Amsterdam self-hosts; the deployment, the key issuance and the host (llmproxy.uva.nl, UvA Azure) are the institution's. servers[] added by API Evangelist because the served document omits it; nothing else altered.
servers:
- url: https://llmproxy.uva.nl
  description: University of Amsterdam / Amsterdam University of Applied Sciences shared AI gateway
tags:
- name: Cache Settings
paths:
  /cache/settings:
    get:
      tags:
      - Cache Settings
      summary: Get Cache Settings
      description: 'Get cache configuration and available settings.


        Returns:

        - fields: List of all configurable cache settings with their metadata (type, description, default, options)

        - current_values: Current values of cache settings from database'
      operationId: get_cache_settings_cache_settings_get
      security:
      - APIKeyHeader: []
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CacheSettingsResponse'
    post:
      tags:
      - Cache Settings
      summary: Update Cache Settings
      description: 'Save cache settings to database and initialize cache.


        This endpoint:

        1. Encrypts sensitive fields (passwords, etc.)

        2. Saves to LiteLLM_CacheConfig table

        3. Reinitializes cache with new settings'
      operationId: update_cache_settings_cache_settings_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: litellm-changed-by
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability
          title: Litellm-Changed-By
        description: The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CacheSettingsUpdateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /cache/settings/test:
    post:
      tags:
      - Cache Settings
      summary: Test Cache Connection
      description: 'Test cache connection with provided credentials.


        Creates a temporary cache instance and uses its test_connection method

        to verify the credentials work without affecting global state.'
      operationId: test_cache_connection_cache_settings_test_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CacheTestRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CacheTestResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
components:
  schemas:
    CacheTestRequest:
      properties:
        cache_settings:
          additionalProperties: true
          type: object
          title: Cache Settings
          description: Cache settings to test connection with
      type: object
      required:
      - cache_settings
      title: CacheTestRequest
    CacheSettingsField:
      properties:
        field_name:
          type: string
          title: Field Name
        field_type:
          type: string
          title: Field Type
        field_value:
          title: Field Value
        field_description:
          type: string
          title: Field Description
        field_default:
          title: Field Default
        options:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Options
        ui_field_name:
          type: string
          title: Ui Field Name
        link:
          anyOf:
          - type: string
          - type: 'null'
          title: Link
        redis_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Redis Type
      type: object
      required:
      - field_name
      - field_type
      - field_value
      - field_description
      - ui_field_name
      title: CacheSettingsField
    CacheTestResponse:
      properties:
        status:
          type: string
          title: Status
          description: 'Connection status: ''success'' or ''failed'''
        message:
          type: string
          title: Message
          description: Connection result message
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
          description: Error message if connection failed
      type: object
      required:
      - status
      - message
      title: CacheTestResponse
    CacheSettingsUpdateRequest:
      properties:
        cache_settings:
          additionalProperties: true
          type: object
          title: Cache Settings
          description: Cache settings to save
      type: object
      required:
      - cache_settings
      title: CacheSettingsUpdateRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    CacheSettingsResponse:
      properties:
        fields:
          items:
            $ref: '#/components/schemas/CacheSettingsField'
          type: array
          title: Fields
          description: List of all configurable cache settings with metadata
        current_values:
          additionalProperties: true
          type: object
          title: Current Values
          description: Current values of cache settings
        redis_type_descriptions:
          additionalProperties:
            type: string
          type: object
          title: Redis Type Descriptions
          description: Descriptions for each Redis type option
      type: object
      required:
      - fields
      - current_values
      - redis_type_descriptions
      title: CacheSettingsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      description: Bearer token
      in: header
      name: x-litellm-api-key