Delete cached content (Gemini format)

DELETE
/genai/v1beta/cachedContents/{cached_id}
AuthorizationBearer <token>

Bearer token authentication. Use your MPilot virtual-key JWT or admin JWT. Virtual keys (prefixed with sk-bf-) can also be passed here.

In: header

Path Parameters

cached_idstring

Header Parameters

x-model-provider?string

Response Body

curl -X DELETE "https://loading/{AI_GATEWAY_URL}/genai/v1beta/cachedContents/string" \  -H "x-model-provider: string"
{}
{
  "error": {
    "code": 0,
    "message": "string",
    "status": "string",
    "details": [
      {
        "@type": "string",
        "fieldViolations": [
          {
            "description": "string"
          }
        ]
      }
    ]
  }
}
On this page

On this page

No Headings