1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "items": [{
9 "id": "prompt-001",
10 "text": "Hello, my name is John Doe. My email is john.doe@enterprise.com, my phone number is +1-555-839-2918, and my corporate card is 4532-0150-1234-5678. Also here is my secret token: sk-live-99a81b2c3d4e5f.",
11 }] }
12
13
14run = client.actor("n4d.h1dr/llm-pii-vault").call(run_input=run_input)
15
16
17print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
18for item in client.dataset(run.default_dataset_id).iterate_items():
19 print(item)
20
21