1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "productName": "AI Tool Listing Readiness Auditor",
12 "targetMarketplace": "Apify Store",
13 "title": "AI Tool Listing Readiness Auditor",
14 "tagline": "Public-safe launch checklist for AI tools and marketplace listings.",
15 "description": "This Actor reviews public-safe marketplace listing copy and returns a compact readiness report. It checks whether the listing has a clear title, useful tagline, sufficient description, pricing explanation, support note, evidence note, clear limitations, and avoids unsupported claims or private data exposure.",
16 "pricingText": "Pay-per-result pricing. Each completed audit produces one default dataset item.",
17 "supportText": "Support is provided through the Actor issue tab. This tool does not guarantee approval, legal compliance, marketplace acceptance, or revenue.",
18 "evidenceText": "Synthetic default input validates the Actor. No scraping, proxy, browser automation, credentials, or private dashboard access is used.",
19 "limitationsText": "This is a launch-readiness checklist and copy-risk audit, not legal, financial, compliance, security, or marketplace-approval advice.",
20 "dataHandlingText": "Use only public-safe listing copy. Do not paste secrets, customer data, private dashboards, confidential code, or unpublished implementation details."
21};
22
23
24const run = await client.actor("pbt-guard/ai-tool-listing-readiness-auditor").call(input);
25
26
27console.log('Results from dataset');
28console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
29const { items } = await client.dataset(run.defaultDatasetId).listItems();
30items.forEach((item) => {
31 console.dir(item);
32});
33
34