Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"id": "ver_6c19",
"agentId": "agt_4f9c2b7e10a24d51",
"version": 6,
"note": "Stable pre-holiday config",
"publishedAt": "2026-06-28T18:00: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>"
}
]
}Agents
Roll back to a previous version
Makes a previously published version the live one again. Pass the versionId of the version you want to restore.
POST
/
agents
/
{id}
/
rollback
Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"id": "ver_6c19",
"agentId": "agt_4f9c2b7e10a24d51",
"version": 6,
"note": "Stable pre-holiday config",
"publishedAt": "2026-06-28T18:00: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.
FlowClient Credentials
- Token URL
- /api/v1/api-keys
Scopes1
agents:write
Create/update/delete agents, publish, rollback.
Path Parameters
The agent's unique ID (the UUID returned by createAgent / listAgents).
Body
application/json
The published version to make live again (id from listAgentVersions).