Not sure what this tool is you’re using to send the query, but it looks like it has split your query into multiple parameters. The entire query, with the embedded newlines, needs to all be sent in the “relevance” parameter
Depending on the tool, you may want to consider passing the “relevance” parameter pre-url-encoded to help avoid such issues (assuming the tool doesn’t have an option to handle that for you). https://www.urlencoder.org/ can be handy to encode the relevance parameter to then pass to /api.query.