Pular para o conteúdo

GET /v1/agents/{id}/readiness

GET
/v1/agents/{id}/readiness
curl --request GET \
--url https://seu-endereco-da-api/v1/agents/example/readiness \
--header 'Authorization: Bearer <token>'

Permissão que a Chave de acesso precisa: Ler agentes de IA (agents:read).

id
required
string
Media typeapplication/json
object
impediments
required
Array<object>
object
code
required
string
Allowed values: no_channel no_way_to_answer no_calendar channel_taken model_unavailable empty_knowledge no_intent never_tested
title
required
string
action
required
string
conflict

Only on channel_taken: the channel and the active agent of AI that serves it; turning on with replaceOnChannels pauses that agent

object
channelId
required
string format: uuid
channelName
required
string
agentId
required

The active agent of AI that already serves the channel

string format: uuid
agentName
required
string
recommendations
required
Array<object>
object
code
required
string
Allowed values: no_channel no_way_to_answer no_calendar channel_taken model_unavailable empty_knowledge no_intent never_tested
title
required
string
action
required
string
conflict

Only on channel_taken: the channel and the active agent of AI that serves it; turning on with replaceOnChannels pauses that agent

object
channelId
required
string format: uuid
channelName
required
string
agentId
required

The active agent of AI that already serves the channel

string format: uuid
agentName
required
string

Example

{
"impediments": [
{
"code": "no_channel"
}
],
"recommendations": [
{
"code": "no_channel"
}
]
}