atom.conversations.list
Listar conversas com a Atom. Histórico de conversas do usuário na conta atual, da mais recente para a mais antiga.
- Endpoint:
POST https://app.atomiks.com.br/api/v1/atom.conversations.list(corpo JSON) - Quem pode chamar: membro da conta
- Escopo da chave: nenhum (qualquer chave serve)
- Grava dados: não
- Pela chave de API: não (só pela interface)
- Ferramenta MCP: não
- Ficha em JSON:
https://app.atomiks.com.br/api/v1/openapi.json(operationIdatom.conversations.list)
Entrada
| Campo | Tipo | Obrigatório | Nota |
|---|---|---|---|
limit | integer | não | padrão 30 |
before | string (date-time) | não |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"limit": {
"default": 30,
"type": "integer",
"minimum": 1,
"maximum": 50
},
"before": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
}
}Exemplo
curl -X POST https://app.atomiks.com.br/api/v1/atom.conversations.list \
-H "Authorization: Bearer $ATOMIKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":30}'Saída
Sucesso: {"data": ...} com o formato abaixo.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"preview": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
},
"required": [
"id",
"title",
"preview",
"updatedAt"
],
"additionalProperties": false
}
},
"nextBefore": {
"type": [
"string",
"null"
]
}
},
"required": [
"items",
"nextBefore"
],
"additionalProperties": false
}Erros
{"error": {"code", "message", "requestId"}}. Códigos: invalid_input (400), unauthorized (401), forbidden / account_pending / scope_missing (403), not_found (404), limit_reached (409), internal (500).