Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

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

application/json
input_type
enum<string>
required

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.

Available options:
url,
sop,
describe
url
string

Website to crawl (required when input_type=url).

file_id
string

Uploaded SOP/document id from Uploads (required when input_type=sop).

text
string

Plain-language description of the business (required when input_type=describe).

vertical
string

Optional industry hint (e.g. "hvac", "dental") to bias persona and skills.

Response

SSE stream of ScaffoldProgressEvent; terminal frame carries the draft Agent.

step
enum<string>
required
Available options:
crawling,
extracting,
persona,
skills,
knowledge,
done,
error
label
string
required
progress
object
message
string