Builder

Three design directions (palette, font pairing, hero layout, corners) for a site that does not exist yet, from one small AI call (metered in Build Credits); send directionsId and feedback to refine them (at most 5 times). Every look meets WCAG AA contrast

post/builder/directions

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/builder/directions
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Query parameters

orgIdstring

Request body

promptstring required

What the site is for (the first message)

templatestring
directionsIdstring uuid

Refine these directions (at most 5 times)

feedbackstring

What the customer wants different

Response

Three looks

idstring uuid required
refinesLeftinteger required
creditsnumber required

Build Credits this call used

Changes

No recorded changes to this operation across all 1 revision of this API.