GET /v1/agents/{id}/test-set
GET
/v1/agents/{id}/test-set
const url = 'https://seu-endereco-da-api/v1/agents/example/test-set';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/test-set \ --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
cases
required
Conversations of the tenant kept as the agent’s fixed test set, in the order they were chosen
Array<object>
object
conversationId
required
string format: uuid
contactName
required
string
lastMessageAt
required
string format: date-time
addedAt
required
string format: date-time
maxCases
required
How many conversations the set holds at most
number
estimate
required
Estimated charge of one run of the whole set, by the same rule as the model catalog; null when the agent’s model has no price
object
minCents
required
Estimated charge, in cents of real, of a short conversation (about 5 messages)
number
maxCents
required
Estimated charge, in cents of real, of a long conversation (about 20 messages)
number
Example generated
{ "cases": [ { "conversationId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "contactName": "example", "lastMessageAt": "2026-04-15T12:00:00Z", "addedAt": "2026-04-15T12:00:00Z" } ], "maxCases": 1, "estimate": { "minCents": 1, "maxCents": 1 }}