v46

latestOpenAPI 3.0.0MITraw.githubusercontent.com2026-08-0311978417.1 KB
Mentions

Get mention suggestions

Get suggestions for mentions (agents and users) based on a query string.

get/api/v1/w/{wId}/assistant/mentions/suggestions

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
    }
  ]
}