Create a publishable key
Creates a publishable key for an agent and returns the full key. Publishable keys are safe to use in the browser, so the value can be retrieved again later.
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.
Path Parameters
The agent this resource is scoped to (the UUID returned by createAgent / listAgents).
Body
Human label for the key (e.g. "Marketing site").
The exact browser origins allowed to load the widget with this key (scheme + host, e.g. https://example.com). Requests from other origins are rejected.
live for production embeds, test for a sandbox key.
live, test Optional per-minute request cap for this key (protects against abuse from a public embed).
When true, visitors must pass caller identity verification before the agent will act on sensitive requests.