How to saved a query using API

I am filtering out the elastic sample data using the elasticsearch client but how could I achieve to create a saved object using API (using Elasticsearch client) and apply it

There is documentation for saved objects API but unable to get it.

Is there a way to achieve using elastic search client

Hello there @Azhar_Uddin1

Let me make sure I understand the question...
I think you would like to create a saved object using the python Elasticsearch client.
Is this correct?

@Azhar_Uddin1 after speaking to my colleagues perhaps you'd like to comment on this ticket:
Kibana low and high level language clients · Issue #36575 · elastic/kibana (github.com)

1 Like

exactly, also is there also a way to manipulate the saved object using elasticsearch.client.SqlClient