Build on VaultLens
The REST API does what the app does: list your Knack apps, start syncs, run archives, read the analytics copy and download archive files. Webhooks tell your systems when work finishes. The same plan limits and Knack API budget apply as in the app.
API reference
Every endpoint, rendered from the live OpenAPI document.
Getting started
Create a key and make your first call in two minutes.
AI connections
Connect Claude, ChatGPT and others through the MCP server.
The basics
- Base URL:
https://api.vaultlens.studio/v1 - Authentication: an API key from Settings → API keys, sent as
Authorization: Bearer vls_… - Scopes:
read,write,archive:run,data:query,phi:read. A key can also be limited to some apps, to IP addresses, or to an expiry date. - OpenAPI 3.1 document: openapi.json. Generate a typed client in your language with openapi-generator or openapi-typescript.
- Version 1.1.0: see the changelog, the versioning policy and the status page.
Rate limits by plan
| Plan | Requests per minute, per key |
|---|---|
| Analytics | 60 |
| Archive | 60 |
| Studio | 120 |
| Business | 300 |
Endpoints that call Knack (syncs, archive runs) also use your Knack API budget, exactly as in the app.
Guides
- Getting started: Create an API key, choose its scopes and limits, and make your first calls to the VaultLens REST API.
- Run a sync: Start a sync or clone for an app, then wait for it by polling the job or by listening for webhooks.
- Archive via the API: Preview an archive run, do a test run, run it for real, download the CSV files and look up an archived record.
- Read the analytics copy: Read records from your Postgres or BigQuery copy with filters, sorting and paging, and pull only what changed since your last run.
- Webhooks: Receive VaultLens events at your HTTPS endpoint, verify their signatures, and handle retries and duplicates.
- Errors and rate limits: The error format and codes, HTTP statuses, per-plan rate limits, Retry-After, safe retries with Idempotency-Key, and request ids.
- HIPAA workspaces: What changes for API keys in a HIPAA workspace: required expiry, the phi:read scope, and the audit trail of every call.
- Client libraries: There is no VaultLens package on npm or PyPI: generate a typed client from the OpenAPI document, or call the API directly.
- Versioning and deprecation: What can change within /v1, what counts as breaking, how a /v2 would be introduced, and how much notice you get.