Pular para o conteúdo principal
GET
/
v1
/
agents
/
sessions
List sessions
curl --request GET \
  --url https://api.quintus.tec.br/v1/agents/sessions \
  --header 'X-API-Key: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "agent_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "user": {
        "id": "<string>",
        "reference": "<string>"
      },
      "messages_count": 0,
      "last_message_at": "2023-11-07T05:31:56Z",
      "closed_at": "2023-11-07T05:31:56Z",
      "context": {},
      "metadata": {}
    }
  ],
  "next_offset": 123
}

Documentation Index

Fetch the complete documentation index at: https://quintus.tec.br/docs/llms.txt

Use this file to discover all available pages before exploring further.

Autorizações

X-API-Key
string
header
obrigatório

Parâmetros de consulta

agent_id
string | null
user_id
string | null
user_reference
string | null
status
enum<string> | null

Filter by session status.

Opções disponíveis:
active,
closed,
expired
created_after
string<date-time> | null
created_before
string<date-time> | null
limit
integer
padrão:20
Intervalo obrigatório: 1 <= x <= 100
offset
integer
padrão:0
Intervalo obrigatório: x >= 0

Resposta

Successful Response

items
SessionResponse · object[]
obrigatório
next_offset
integer | null

Pass as offset to fetch the next page. Null = no more results.