Scaffold a draft agent
Generates a draft agent automatically from a website URL, a written procedure, or a plain-language description. Streams progress while it builds and returns the finished draft agent at the end of the stream. Review and publish the draft before it goes live.
Authorizations
Flowyte secret API key (Authorization: Bearer flowyte_sk_live_…). Scope-gated; is scoped to your organization — a key can never reach another tenant. The listed scopes in each operation's apiKey requirement are the scopes that key must hold. The tokenUrl is nominal: keys are minted in the dashboard.
Body
Which source populates the draft, and which field carries it: url → crawl the site at url; sop → read the uploaded document at file_id; describe → use the free-text brief in text.
url, sop, describe Website to crawl (required when input_type=url).
Uploaded SOP/document id from Uploads (required when input_type=sop).
Plain-language description of the business (required when input_type=describe).
Optional industry hint (e.g. "hvac", "dental") to bias persona and skills.