OpenSearch REST API

OpenSearch REST API

Call the full OpenSearch REST API on any Logit.io stack at https://{stack-id}-es.logit.io. This section applies to both:

  • Logs stacks — OpenSearch behind Logstash and OpenSearch Dashboards
  • OpenSearch stacks — dedicated hosted OpenSearch clusters

Authentication, ports, and API paths are the same. Copy credentials from Settings → Endpoints in the dashboard.

Not sure which API you need?

  • Stack OpenSearch REST API (this section) — query, index, and manage data on {stack-id}-es.logit.io
  • OpenSearch Dashboards REST API — Dashboards features via kibana.logit.io and Profile proxy credentials
  • Logit Developer API — account and stack management via dashboard.logit.io/api

Start here:

  1. Connect to Your Cluster — endpoint, authentication, ports (Logs and OpenSearch stacks)
  2. API Overview — map API families to guides and upstream docs
  3. Examples — connect, query, export to CSV, and more
  4. Pick an API guide below for copy-ready curl and Python snippets

When signed in, examples auto-fill @opensearch.* placeholders from your stack's Endpoints page (Logs and OpenSearch stacks).

OpenSearch REST API