Skip to main content
A recommendation is a group of articles NeetoKB suggests for a given page, used to surface contextual help. For fields and response details, see the API reference.

List recommendations

This command returns the recommended articles for a page. Use this when you want to preview what your in-app help widget would show for a URL, or to build your own contextual help surface.
--match-uri is the relative or full URL of the page you want suggestions for. Omit it to get the default recommendations.
Sample output (--json)
Each entry is a titled group holding the articles recommended for it. Pass an article id to neetokb articles show to read the full content.

Show a recommendation

This command shows a recommendation with the articles and categories it points to.
Required arguments:
  • <id> - Recommendation ID from recommendations list

Create a recommendation

This command creates a recommendation that suggests articles or categories on pages whose URL matches. Changing recommendations needs the Manage recommendations permission.
--matching-criteria takes contains (the default), exact_match or regex. With regex, --url must be a valid regular expression. The title and the URL are each unique in the workspace.

Update a recommendation

This command changes a recommendation. Only the flags you pass change.
Required arguments:
  • <id> - Recommendation ID from recommendations list
--entity replaces all entities. --clear-entities removes them all. Leave both out to keep them.

Delete a recommendation

This command deletes a recommendation.
Required arguments:
  • <id> - Recommendation ID from recommendations list