TEASEDocs
API ReferenceVault

Content library (top vault media)

Returns the top vault media for the content library. sort=buyers (default) / sort=tips rank by all-time vault counters; sort=sales ranks by captured sales in the window. Account-wide stats. Requires a read-scoped key.

Authorization

bearerAuth
AuthorizationBearer <token>

Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.

In: header

Query Parameters

sort?string

Ranking key.

Default"buyers"

Value in

  • "buyers"
  • "tips"
  • "sales"
limit?integer

Maximum items.

Range1 <= value <= 200
Default60
from_ts?|

Window start (Unix seconds) for sort=sales.

to_ts?|

Window end (Unix seconds) for sort=sales.

Response Body

application/json

application/json

application/json

GET
/api/admin/content
curl -X GET "https://example.com/api/admin/content"
{  "items": [    {      "content_id": 84217,      "media_type": "video",      "buyers_count": 412,      "tips_cents": 18900,      "likes_count": 530,      "has_cover": true,      "vendor_created_at": "2026-03-11T09:22:00Z",      "period_sales": 0,      "period_revenue_cents": 0    }  ],  "total": 3187}
{  "detail": "Not authenticated"}
{  "detail": {    "code": "engine_not_connected",    "message": "Connect your engine to access this data."  }}