Pular para o conteúdo principal
GET
/
v1
/
agents
/
{id}
/
behavior-history
Histórico de comportamento
curl --request GET \
  --url https://api.timelyai.com.br/v1/agents/{id}/behavior-history \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "field": "<string>",
      "old_value": "<string>",
      "new_value": "<string>",
      "changed_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "page": 123,
    "limit": 123,
    "total": 123,
    "total_pages": 123
  }
}

Autorizações

x-api-key
string
header
obrigatório

Chave de API obtida no dashboard

Parâmetros de caminho

id
string<uuid>
obrigatório

ID do agente

Parâmetros de consulta

page
integer
padrão:1

Número da página

Intervalo obrigatório: x >= 1
limit
integer
padrão:20

Itens por página

Intervalo obrigatório: 1 <= x <= 100

Resposta

Histórico de comportamento

data
object[]
pagination
object