Panel: Threads, Emails and Requests
API: Threads and emails section (/threads, /emails), Requests section (/relays), see the API reference. These are company-wide: folders do not limit them.
Threads
Every conversation, newest activity first: the user, the channel it came in on by name (such as "Website widget · shop site" or "Telegram · @acme_bot"), the status, the number of messages and the last activity.
| Status | Meaning |
|---|---|
| idle | Answered; waiting for the next message. |
| working | The assistant is working on it. |
| failed | It could not finish (for example the AI provider was down too long). |
A thread's page
Reads like a chat, latest at the bottom, refreshing every few seconds; older messages load as you scroll up.
- The user's messages and the replies, numbered 1, 2, 3, with "Answered from" naming the resources each reply drew on.
- For the main login and the platform admin, the work behind each reply: which resources were asked and what they answered, method calls, Determesh's own checks (an access refusal, "verify first", a channel restriction), actions carried out (an email sent, a message relayed, a file handed over, a note saved), the AI calls with their tokens, and each reply's quality score.
- Sub threads for work split into parallel tasks or a long background job, with their status and outcome.
- Files handed over: each file sent in the conversation, how (as a file or a download link), its state, expiry and downloads. Turn off stops one download link.
- Nudge (only on a conversation that failed): runs it again from its last step. What was already found is kept, and the user gets the answer on their channel.
- Delete thread removes it with its internal work.
Long conversations are summarised: when a conversation would no longer fit the AI model's context, the older messages are condensed, so the assistant keeps the context without re-reading everything. The same happens inside a long piece of work, and anything too big to read in one go (many documents, a large result) is read in batches. A Telegram or email conversation (or an API thread marked longRunning) that has grown large and gone quiet is also summarised just before the AI provider's cache of it expires, so the next message does not send it all again. The summary and batch calls are billed like any other AI use.
Clear threads deletes conversations last active before a date (or all), with their internal work. Threads being worked on right now are kept. Users' style notes stay. Threads are also deleted automatically after the retention period on the Company page (1825 days by default).
Emails
The emails sent for your resources: those a resource asked for (sendEmail in a method answer), those sent through the API, and those the assistant sent a user (for example "email me my payslip"). Each shows the recipient, subject, status (pending, sent, failed or bounced, with the reason), whether it went through Determesh's mail server or your own SMTP, who asked, when, and its thread.
- Before sending, the address is checked: disposable domains and addresses known to bounce are refused (the email fails unsent and is not charged).
- When an email the assistant sent a user fails or bounces, the user is told in their chat.
- Emails are plain text: subject up to 255 characters, text up to 50,000.
Requests
Messages your resources have Determesh send to a person, and their replies. Typical use: a leave request needs the manager's approval, so the leave resource asks Determesh to message the manager on Telegram and wait for the answer.
- A resource asks with
sendMessagein a method answer (channel: Telegram, email or API;to: the person's Telegram user ID, email address or API user ID;text; for email asubject;awaitReply), or you ask through the API (POST .../relayswith the resource, the message and a reply method). - The person gets the message on that channel. Their reply is matched to the request (a Telegram reply to the message, an email reply, an answer on the API thread; otherwise the assistant on their thread asks which request they mean) and goes back to the resource: to its assistant in the conversation of the user who asked, who is then told the outcome, or, for a request made through the API, to the reply method you named.
- Status: sending, waiting for the reply, replied, sent (no reply wanted), failed, cancelled. Cancel stops a request still sending or waiting.
- On Telegram the person must have opened a chat with your bot at least once, or Telegram refuses (the request fails with that reason). Someone not on the bot's allowed list is let in for that request only.