Publish a user guide to a product's help centre (Cloudflare Pages) and return its public URL.
/v1/abilities/guide.publishPublish a user guide to a product’s help centre (Cloudflare Pages) and return its public URL. Writes markdown into the product’s tenant guides dir and runs the Guide Center build and deploy. The key’s guideProducts allow-list decides which products it may publish to (fail-closed). Guide syntax: the Guide Center Markdown format.
Request body
Section titled “Request body”inputGuidePublishInputrequiredShow 12 properties
productstringrequiredrecipe name, e.g. sebenza
slugstringrequiredkebab-case; becomes the URL path
localestringoptionalDefault:"en"titlestringrequiredareastringrequiredindex section, e.g. Get paid / People / Start
summarystringoptionaltimestringoptionale.g. 5 min
coststringoptionale.g. R10
routestringoptionalin-app route the guide explains
ordernumberoptionalmarkdownstringrequiredguide body in the guide syntax (steps,
labels, > ! callouts, slip blocks)deploybooleanoptionalDefault:truefalse = write only, no build/deploy
contextCallContextoptionalOptional call context. The tenant always comes from the credential:
tenantIdis honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.Show 3 properties
tenantIdstringoptionalSub-tenant to act for (sub-tenant credentials only).
runIdstringoptionalThe trust run (from trust.preflight) this call executes under.
verticalIdstringoptionalVertical to attribute created records to.
Returns
Section titled “Returns”Schema shown for 200 · application/json
resultThe ability’s return value. Its shape depends on the ability.