// tag::console[]

To get started with {esql} in Console, open the main menu and select
*Dev Tools*.

The general structure of an <<esql-query-api,{esql} query API>> request is:

[source,txt]
----
POST /_query?format=txt
{
  "query": """

  """
}
----

Enter the actual {esql} query between the two sets of triple quotes. For
example:

[source,txt]
----
POST /_query?format=txt
{
  "query": """
FROM sample_data
  """
}
----
// end::console[]


// tag::discover[]

include::../../esql/esql-kibana.asciidoc[tag=esql-mode]

After switching to {esql} mode, the query bar shows a sample query. You can
replace this query with the queries in this getting started guide.

include::../../esql/esql-kibana.asciidoc[tag=autocomplete]

include::../../esql/esql-kibana.asciidoc[tag=compact]

// end::discover[]
