TEASEDocs
API ReferenceVault

AI auto-tag the untagged backlog

AI tagging runs server-side over the untagged vault backlog. Explicit-trigger only, cost-capped (limit is clamped to a server cap), and idempotent (already-tagged items are skipped and never re-billed). 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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

POST
/api/admin/vault/auto-tag
curl -X POST "https://example.com/api/admin/vault/auto-tag" \  -H "Content-Type: application/json" \  -d '{    "all_untagged": true,    "limit": 100  }'
{  "tagged": [    {      "media_id": "501",      "tags": [        "cat:solo",        "mood:playful"      ]    }  ],  "tagged_count": 1,  "skipped": [    {      "media_id": "502",      "reason": "ineligible"    }  ],  "skipped_count": 1,  "errors": [],  "capped": false,  "requested": 100}
{  "detail": "Not authenticated"}