Create Sleepwalker visibility run
create_sleepwalker_visibility_runQueue a saved AI Visibility run from prompts x platforms or explicit probes.
Use this when the user wants reportable probe results, not just prompt ideas. This starts queued work and returns quickly with a run_id; poll get_sleepwalker_visibility_run_status until the run is terminal instead of creating duplicate runs. Platforms accept canonical slugs or common labels: perplexity, openai/ChatGPT, grok, gemini. To pin AI models, pass the models map with matrix mode (per platform) or set model on explicit probes (per probe); values are model ids from list_sleepwalker_visibility_models or the keywords latest / prior / default. Every model has its own per-probe price, defaults included; call list_sleepwalker_visibility_models for the exact credits_per_probe before quoting cost. Results record the exact model that answered each probe. The response includes credit fields when credits are reserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public page URL to analyze. | |
| models | No | Per-platform model overrides for matrix mode, e.g. {"openai": "latest", "perplexity": "sonar-pro"}. Values are model ids from list_sleepwalker_visibility_models or the keywords latest / prior / default. Platforms not listed run their default model at that model's own price; read every model's exact credits_per_probe from list_sleepwalker_visibility_models. | |
| probes | No | Explicit probe list. Use when prompts, models, or locales differ per platform; otherwise use prompts x platforms, optionally with the models map. | |
| country | No | Market context for analysis. Use ISO country codes such as US, NL, DE, or EE. | US |
| prompts | No | Questions to ask across selected AI platforms. | |
| language | No | Language for analysis and generated text. Use ISO language codes such as en, nl, de, or et. | en |
| platforms | No | AI platforms to query. Use perplexity, openai or ChatGPT, grok or xAI, and gemini. | |
| competitors | No | Optional competing brands or entities to track alongside the target. | |
| target_entity | Yes | Brand, product, person, or organization to track in AI answers. | |
| idempotency_key | No | Optional stable key for retries. Reusing it helps avoid duplicate queued runs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||