MCP Gateway
ApiSdk proxy

Sdk Cache Set

Write to cache. Keys are auto-namespaced by ``user_id`` and ``skill_id`` to prevent cross-tenant leakage.

PUT
/api/v1/sdk/cache/{key}

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

Path Parameters

key*string
access_token?|

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://loading/api/v1/sdk/cache/string" \  -H "Content-Type: application/json" \  -d '{    "value": null  }'
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}