API: searchPhrase

Started by mschaeffler, November 27, 2026, 04:34:57 PM

Previous topic - Next topic
Hi,

Is there a specification how searchPhrase is to be used in detail? (here for hostdiscovery/service/search)

Can I use RegExp?

Can I search for searchPhrase1 or searchPhrase2 in one API call?


Thank you, Mathias

Not sure about regex, my guess is it's a plain substring match. Quick way to find out is to watch the network tab in dev tools while you search in the GUI, then try two phrases with a space or a pipe between them in curl and see what comes back.