Pular para o conteúdo

GET /v1/agents/{id}/test-set

GET
/v1/agents/{id}/test-set
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).

id
required
string
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
nullable
lastMessageAt
required
string format: date-time
nullable
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
}
}