Publish an agent
Publishes the agent’s current draft as a new fixed version that live calls and chats will use. You can include an optional note describing the change.
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.
Headers
Client-supplied idempotency key on mutating POSTs. Retrying the same request with the same key returns the original result instead of creating a duplicate — send a fresh UUID per logical operation.
Path Parameters
The agent's unique ID (the UUID returned by createAgent / listAgents).
Body
Optional changelog note stored on the new version (e.g. "Added Spanish greeting").