SDKs
Last updated November 4, 2026.
Official libraries for the aivisibilityskill API. Both retry safely (a check is never charged twice), verify webhook signatures, and cover every endpoint: checks, projects and analytics, fixes, keys, usage, webhooks, events, the audit log and data deletion.
TypeScript and JavaScript
npm install @aivisibilityskill/sdk
import { Aiv } from "@aivisibilityskill/sdk";
const aiv = new Aiv({ apiKey: process.env.AIV_KEY });
const job = await aiv.checks.create({ questions: ["best invoicing app for freelancers"] });
const done = await aiv.jobs.wait(job.id);
Typed from our OpenAPI document. No dependencies. Works in Node 20+, Deno, Bun and Cloudflare Workers, from your server.
Python
pip install aivisibilityskill
from aivisibilityskill import Aiv
aiv = Aiv(api_key=os.environ["AIV_KEY"])
job = aiv.checks.create(["best invoicing app for freelancers"])
done = aiv.jobs.wait(job["id"])
Python 3.9+. One dependency (httpx).
Verifying webhooks
// TypeScript
const event = await verifyWebhook(rawBody, request.headers, process.env.AIV_WEBHOOK_SECRET);
# Python
event = verify_webhook(raw_body, request.headers, os.environ["AIV_WEBHOOK_SECRET"])
Pass the body exactly as received. Signatures follow Standard Webhooks, so any library for it works too.
Other languages
The API is plain JSON over HTTPS with a bearer key: see the API reference, or generate a client from openapi.json.