A valid request URL is required to generate request examples{
"success": true,
"data": {
"rules": [
{
"when": {
"explicitRequest": "sales",
"channelIn": [
"chat"
]
},
"routeTo": "external:dest_7a2c",
"ackMessage": "Connecting you to our sales team now."
}
],
"fallback": {
"routeTo": "email:support@example.com",
"visitorMessage": "Our team will follow up by email shortly."
}
}
}{
"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>"
}
]
}Get an agent's escalation policy
Return the agent’s DRAFT external-agent (AI Harness) escalation policy — the ordered deterministic routing rules + fallback. An agent with no policy returns an empty rule list.
A valid request URL is required to generate request examples{
"success": true,
"data": {
"rules": [
{
"when": {
"explicitRequest": "sales",
"channelIn": [
"chat"
]
},
"routeTo": "external:dest_7a2c",
"ackMessage": "Connecting you to our sales team now."
}
],
"fallback": {
"routeTo": "email:support@example.com",
"visitorMessage": "Our team will follow up by email shortly."
}
}
}{
"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.
Path Parameters
The agent id whose escalation policy you are reading or replacing (the same id returned by createAgent / listAgents).
Response
The agent's escalation policy.
A per-agent ordered escalation routing policy (deterministic, no LLM). The first rule whose conditions match AND whose route can be satisfied wins; a matched rule whose runtime gate fails falls through to the next rule, then the fallback, then the existing support handoff.
Show child attributes
Show child attributes
Show child attributes
Show child attributes