Send Opensearch dashboard results to external API?

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Opensearch 2.17.1

Describe the issue:

I have created data table visualization on my tenant dashboard, with selective filter for respective scopes.

and getting filter entity id list (table)

Now I have to send this Legal entity id list from the data table to my other application through API calls.

Second application : which handles entity details so this list of entities should be visible in this application from opensearch scope (filtered data).

Can anyone help me to guide to achive this?

Thanks