Get started

Quickstart

Get a key, build a brand profile, write prompts, run them on AI engines and read the result, with curl.

Before you start

You need a MoltMentions account, an API key and some balance. Every example uses acme.com. Swap in your own brand’s website.

Prefer to ask in plain language? Connect Claude with the MCP setup and say “Run an AI visibility assessment for acme.com.”

Your first assessment

1. Get an API key

Sign up at MoltMentions, open API keys in the app and create a key. It starts with tsk_live_ and is shown once, so copy it now. See Authentication.

2. Check your balance

The API is prepaid. Confirm your balance before anything that spends it. This call is free.

Request
curl https://api.thrivestack.ai/v1/wallet/balance \
  -H 'Authorization: Bearer tsk_live_YOUR_KEY'

3. Build the brand profile

Build the profile from the website. The full pass runs every step. To control each step, add step_id. Save the result with PUT /v1/brand/preferences.

Request
curl -X POST https://api.thrivestack.ai/v1/brand-kit/enrich \
  -H 'Authorization: Bearer tsk_live_YOUR_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"brand_domain": "acme.com"}'

4. Write and save prompts

Generate prompts for a topic. This saves nothing. Keep the ones you want with PUT /v1/prompts.

Request
curl -X POST https://api.thrivestack.ai/v1/prompts/generate-for-topics \
  -H 'Authorization: Bearer tsk_live_YOUR_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"brand_domain": "acme.com", "topics": ["project management for agencies"]}'

5. Price the run, then start it

Ask for a quote with POST /v1/wallet/quote, then start the run on the engines you choose. A run needs an Idempotency-Key.

Request
curl -X POST https://api.thrivestack.ai/v1/runs \
  -H 'Authorization: Bearer tsk_live_YOUR_KEY' \
  -H 'Idempotency-Key: run-acme-001' \
  -H 'Content-Type: application/json' \
  -d '{"brand_domain": "acme.com", "engines": ["chatgpt", "gemini"]}'

You get 202 with a run id and a status URL.

6. Wait for the run, then read it

Poll the run until it finishes, then read the results and the metrics.

Requests
curl https://api.thrivestack.ai/v1/runs/RUN_ID \
  -H 'Authorization: Bearer tsk_live_YOUR_KEY'

curl https://api.thrivestack.ai/v1/runs/RUN_ID/results \
  -H 'Authorization: Bearer tsk_live_YOUR_KEY'

curl 'https://api.thrivestack.ai/v1/prompts/metrics?brand_domain=acme.com' \
  -H 'Authorization: Bearer tsk_live_YOUR_KEY'

What next