- If this is set to
true
, it means you should retry this API. You do not need to wait before retrying since the API does some waiting itself. This is usuallytrue
when there is a delay in the queuing system for the communication channel being used. - If this is set to
false
, it means the message has been sent to the human (though it may not yet have been delivered, in case of email, and / or still may be unread by the human).
- It can also return a
400
status code if the session is in a different state (like waiting for a human response, or is still waiting to send a previous message). Therefore, we recommend that you only continue your agent workflow once the API has returned a200
status code, and not to call this API in the background of your agent workflow. - If the API returns a 5xx error, or is down, then you should wait for up to 1 second and try again.