Documentation

The official Python client provides one-to-one mapping with Elasticsearch REST APIs.

Get to know the Python client

Connecting

Using the Python client

Developer docs

ℹ️ The elasticsearch-labs repo contains many interactive Python notebooks for testing out Elasticsearch using the Python client. These examples are mainly focused on vector search, hybrid search and generative AI use cases.

Explore by use case

Search my data

Create search experiences for your content, wherever it lives.

Observe my data

Follow our guides to monitor logs, metrics, and traces.

Protect my environment

Learn how to defend against threats across your environment.

View all Elastic docs