Mentions
Get mention suggestions
Get suggestions for mentions (agents and users) based on a query string.
get/api/v1/w/{wId}/assistant/mentions/suggestions
Request
- Base URLhttps://dust.tt
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
wIdstring required
ID of the workspace
Query parameters
querystring required
Search query string to filter suggestions
selectstring[]
Array of mention types to include. Can be "agents", "users", or both. If not provided, defaults to agents and users.
currentboolean
Whether to include the current user in the suggestions.
Response
List of mention suggestions
Example response
{
"suggestions": [
{
"id": "7f3a9c2b1e",
"type": "agent",
"label": "My Assistant",
"pictureUrl": "https://example.com/avatar.png",
"description": "A helpful AI assistant",
"userFavorite": true
}
]
}Changes
No recorded changes to this operation across all 130 revisions of this API.