Spotlight
documentedSearch for users or rooms visible to the requesting user.
GET /api/v1/spotlightMiscellaneousno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
According to Rocket.Chat Spotlight API docs, the endpoint is GET /api/v1/spotlight and requires the X-Auth-Token and X-User-Id headers, with a required query parameter named 'query'. The real base URL is your Rocket.Chat server host (e.g., https://<server>/api/v1/spotlight). For the provided domain 'rocket.chat', the full URL would be https://rocket.chat/api/v1/spotlight?query=... .
npx -y keychains@latest curl "https://{{$server}}/api/v1/spotlight?query={{$query}}" \
-X GET \
-H "X-Auth-Token: {{OAUTH2_ACCESS_TOKEN}}" \
-H "X-User-Id: {{$user_id}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json"