API ReferenceVault
Trigger a vault re-index
Starts a background (re)index of the vault. Returns started=false with already_running=true when a scan is already in flight. Requires a write-scoped key.
Authorization
bearerAuth AuthorizationBearer <token>
Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.
In: header
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/admin/vault/scan"{ "started": true, "already_running": false}{ "detail": "OnlyFans API не подключён — задайте ключ и аккаунт в настройках"}{ "detail": "Not authenticated"}Vault index status
Returns indexed folder/item/tagged counts, the last-indexed time, and whether a scan is currently running. Requires a read-scoped key.
Top content + tags by revenue
Returns the top-selling vault media and tags over a time window, each with its unlock-rate (which content sells). Requires a read-scoped key.