POST

/api/context/save

Free

Store content in cache

Deposit compressed content into the global context cache.

Supports single or batch mode (max 50 items).

curl -s -X POST "$BASE/api/context/save" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://my-app.com/docs/api-reference",
    "hqcc": "# API Reference\n\nCompressed documentation content...",
    "title": "My API Reference",
    "visibility": "private"
  }'

请求示例

{
  "url": "https://example.com/article",
  "hqcc": "# Article Title\n\nCompressed content...",
  "visibility": "private"
}

响应示例

{
  "success": true,
  "status": "created",
  "url": "https://example.com/article",
  "visibility": "private"
}

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test