POST
/api/v1/pages/{slug}/cover/suggestSuggest a cover
Picks a cover from the built-in gallery for what the page is about, the way new pages get one, without saving it: cover is gallery:<id>. For people who can edit the page.
API token requiredOr edit secret30 per minute per IP
Guide: AI in pages
Code samples and Try itPath parameters
#slugstringRequiredThe document's address: the part after
markdrop.in/.
Headers
#X-Edit-SecretstringThe document's edit secret (
sk_…), for a document published without an account. See Edit key.
Responses
#200OK.401No token, or the token is revoked or mistyped.422The request didn't validate.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.