TEASEDocs
API ReferencePages & Publish

Check if generated draft backgrounds exist

Probe that reports whether generated draft background variants are ready for the given domain and variant. 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

domain*string

Registered hostname, e.g. onlydasha.com.

variant?string

Which background variant to probe.

Default"mobile"

Value in

  • "mobile"
  • "desktop"

Response Body

application/json

application/json

GET
/api/admin/bg/draft/exists
curl -X GET "https://example.com/api/admin/bg/draft/exists?domain=string"
{  "exists": true,  "variant": "mobile",  "domain": "onlydasha.com"}
{  "detail": {    "code": "domain_not_found",    "message": "Domain 'onlydasha.com' is not registered"  }}