1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "brand": "Notion",
10 "brandAliases": ["Notion AI"],
11 "brandDomain": "notion.so",
12 "competitors": [
13 "Coda",
14 "Obsidian",
15 "Confluence",
16 ],
17 "prompts": [
18 "What is the best note-taking app for small teams?",
19 "Which tools are good alternatives to Confluence for a startup wiki?",
20 ],
21 "providers": [
22 "openai",
23 "perplexity",
24 ],
25 "models": {
26 "openai": "gpt-6-luna",
27 "perplexity": "sonar",
28 },
29}
30
31
32run = client.actor("steadfeed/ai-search-visibility-tracker").call(run_input=run_input)
33
34
35print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
36for item in client.dataset(run.default_dataset_id).iterate_items():
37 print(item)
38
39