Usage documentation for _msearch

I want to run some join queries on an index using /_msearch APIs for multiple queries. There is the documentation for _msearch API but it doesn’t have usage example for it. I am using the syntax of _msearch of elasticsearch but that is also not working. I am using the below syntax

POST siren/<index_1>/_msearch
{}
{<join query>}
{"index": <index_1>}
{<join query>}

What error do you get ?

Related to xml parsing like below

{
  "error" : {
    "root_cause" : [
      {
        "type" : "x_content_e_o_f_exception",
        "reason" : "com.fasterxml.jackson.core.io.JsonEOFException: Unexpected end-of-input: expected close marker for Object (start marker at [Source: (org.elasticsearch.common.io.stream.ByteBufferStreamInput); line: 1, column: 1])\n at [Source: (org.elasticsearch.common.io.stream.ByteBufferStreamInput); line: 1, column: 2]"
      }
    ],
    "type" : "x_content_e_o_f_exception",
    "reason" : "com.fasterxml.jackson.core.io.JsonEOFException: Unexpected end-of-input: expected close marker for Object (start marker at [Source: (org.elasticsearch.common.io.stream.ByteBufferStreamInput); line: 1, column: 1])\n at [Source: (org.elasticsearch.common.io.stream.ByteBufferStreamInput); line: 1, column: 2]",
    "caused_by" : {
      "type" : "json_e_o_f_exception",
      "reason" : "Unexpected end-of-input: expected close marker for Object (start marker at [Source: (org.elasticsearch.common.io.stream.ByteBufferStreamInput); line: 1, column: 1])\n at [Source: (org.elasticsearch.common.io.stream.ByteBufferStreamInput); line: 1, column: 2]"
    }
  },
  "status" : 500
}

It seems your request is invalid. Make sure it is a proper NDJSON. Can you share the original request ?