Skip to content

Quickstart

  1. Create an API key. Sign in to the VOL app, open Developer → API keys and click New key. Copy it now: the full key (vol_live_…) is shown only once.

  2. Check the API is up (public endpoint, no key needed):

    Terminal window
    curl https://vol.example.com/api/v1/health
    # {"status":"ok","ragflow":true,"version":"1.0.0"}
  3. List the available cases (corpora):

    Terminal window
    curl https://vol.example.com/api/v1/cases
  4. Ask a question. Pick a case with "available": true:

    Terminal window
    curl https://vol.example.com/api/v1/chat \
    -H "X-API-Key: $VOL_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"case":"papers","question":"Which methods combine knowledge graphs with LLMs?"}'
  5. Read the response. answer contains markers like [1]; each one maps to citations[0], and each citation has a nodeIndex you can use to locate it on the map.