Skip to main content

assistant.threads.setStatus method

Usage info

Use this method to push status updates to users in apps using AI features.

This method helps apps set expectations for potentially slow responses; e.g. "app is thinking...". The status will be automatically cleared when the app sends a reply. Sending an empty string in the status field will also clear the status indicator. This can be handy if you want to clear the status indicator without sending a new message.

The status is displayed as <App Name> <status>, and Slack automatically inserts the <App Name>. So for the example below, if the app's name is YourAssistantJeeves, the status would render as YourAssistantJeeves is working on your request....

You can also set a custom loading state via the loading_messages parameter. The loading_messages parameter is an array of strings that Slack will rotate through showing to serve as a loading indicator.

Consider the following

Localizing the status indicator and loading state messages for the end user is a great way to provide a smooth user experience for everyone.

Example request:

{
"status": "is working on your request...",
"channel_id": "D324567865",
"thread_ts": "1724264405.531769"
}

Response