POST

/api/context/load

~8 credits/1K tokens (new), free (cached)

Smart context loader

Automatically detects input type (URL, batch URLs, or search query) and

returns compressed high-quality cached content (HQCC). Checks global cache

first, fetches and compresses on miss.

curl -s -X POST "$BASE/api/context/load" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input": "https://example.com"}'

Request Body

FieldTypeReqDefaultDescription
inputstringY
inputTypestring (auto | url | urls | query)NautoForce input type detection
processUncachedbooleanNfalseProcess uncached URLs in batch mode
searchobjectN
topKintegerN15Search results limit
processingobjectN
maxConcurrentintegerN3Max parallel compressions
strategystring (auto | fast | quality)Nauto
returnobjectN
topKintegerN5Return results limit
formatstring (hqcc | raw | both)NhqccResponse format (both returns hqcc + raw)
rankingobjectN
presetstring (cache_first | relevance_first | balanced)N

Request Example

{
  "input": "https://www.figure.ai/news/helix"
}

Response Example

{
  "success": true,
  "requestId": "load_k2x9f",
  "mode": "single_url",
  "result": {
    "url": "https://www.figure.ai/news/helix",
    "title": "Helix: Vision-Language Action Model",
    "hqcc": "# Helix\n\n## Overview\n...",
    "cached": true,
    "cachedAt": "2026-01-07T10:30:00Z",
    "meta": {
      "strategy": "Technical Content",
      "model": "gpt-oss-120b"
    }
  },
  "cost": {
    "credits": 0,
    "cached": true
  },
  "processingTime": 45
}

Try it out

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