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 "brandDomains": [
12 "notion.com",
13 "notion.so",
14 ],
15 "competitors": [
16 "Confluence",
17 "Coda",
18 "ClickUp",
19 "Obsidian",
20 ],
21 "category": "note-taking and team wiki apps",
22 "prompts": [
23 "What are the best team wiki apps?",
24 "What is a good alternative to Confluence?",
25 ],
26 "models": [
27 "~openai/gpt-luna-latest",
28 "anthropic/claude-haiku-5.5",
29 "perplexity/sonar",
30 ],
31}
32
33
34run = client.actor("brightknot/ai-search-visibility-tracker").call(run_input=run_input)
35
36
37print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
38for item in client.dataset(run.default_dataset_id).iterate_items():
39 print(item)
40
41