# đź› technical-support
alex
alex·3 replies

and also "from" and "to" payload for list sessions api, are they matched against to createdAt field?

Sahil | YourGPT
Sahil | YourGPT01/12/2026 07:53

yes @alex

alex
alex01/12/2026 08:34

just wondering, do you have any APIs that can query sessions by a period that matches the last message time? We currently use an AI to detect sentiment from the messages in a session. On our end, we need to get the sessions with the latest updates so we can analyze them again and get better AI results

Sahil | YourGPT
Sahil | YourGPT01/12/2026 09:36

We currently don’t have a dedicated API for this, but I’ve shared your request with our team. If there’s a way to achieve this, I’ll keep you updated.