...ons = data if isinstance(data, list) else data.get("conversations") or data.get("data") or []
if not isinstance(conversations, list):
    raise SystemExit("Unbekanntes JSON-Format: keine Conversation-Liste gefunden.")

# Chronologisch: alt -> neu nach create_time
def conv_time(c):
    return c.get("create_time") or 0
conversations.sort(key=conv_time)

index_rows = []
conv_seq = 0

for convo in conversa...