GET /v1/agents/{id}/readiness
GET
/v1/agents/{id}/readiness
const url = 'https://seu-endereco-da-api/v1/agents/example/readiness';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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).
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”id
required
string
Responses
Seção intitulada “Responses”Media typeapplication/json
object
impediments
required
Array<object>
object
code
required
string
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
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" } ]}