A valid request URL is required to generate request examples{
"success": true,
"data": {
"id": "ver_7d2a",
"agentId": "agt_4f9c2b7e10a24d51",
"version": 8,
"note": "Added Spanish greeting and updated hours",
"publishedAt": "2026-07-13T10:10:00.000Z",
"publishedBy": "user_1a2b"
}
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}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.
A valid request URL is required to generate request examples{
"success": true,
"data": {
"id": "ver_7d2a",
"agentId": "agt_4f9c2b7e10a24d51",
"version": 8,
"note": "Added Spanish greeting and updated hours",
"publishedAt": "2026-07-13T10:10:00.000Z",
"publishedBy": "user_1a2b"
}
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}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.
- Token URL
- /api/v1/api-keys
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. The prefixes api_sms_send: and harness_initiate: are reserved for the platform's own records, so do not use them; an endpoint that records the key refuses one that starts with either with 400 validation_error.
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").