# Elasticsearch api url cloud service

**URL:** <https://discuss.elastic.co/t/elasticsearch-api-url-cloud-service/270399>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [April 16, 2021, 3:02pm UTC](https://discuss.elastic.co/t/elasticsearch-api-url-cloud-service/270399 "2021-04-16T15:02:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeroen2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeroen2/32/55694_2.png) [@Jeroen2](https://discuss.elastic.co/u/Jeroen2)\
**Post date:** [April 16, 2021, 3:02pm UTC](https://discuss.elastic.co/t/elasticsearch-api-url-cloud-service/270399/1 "2021-04-16T15:02:12Z")

</div>

I've got a very basic question. What is the URL to query my indexes? I use elastic cloud services.

GET https://unique\_url\_key\_9sdf9asdf9.europe-west3.gcp.cloud.es.io:9243/message\_\*

I get the following message:

```auto
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Not Found"
}

```

I've looked into [Index APIs | Elasticsearch Guide [7.12] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices.html) but without success.

---

<div class="post-metadata">

**Author:** ![Jason\_Slater](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jason_slater/32/63484_2.png) [@Jason\_Slater](https://discuss.elastic.co/u/Jason_Slater)\
**Post date:** [April 17, 2021, 7:16am UTC](https://discuss.elastic.co/t/elasticsearch-api-url-cloud-service/270399/2 "2021-04-17T07:16:36Z")

</div>

see this page: [Search API | Elasticsearch Guide [7.12] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-search.html)

if your cluster is at https://unique\_url\_key\_9sdf9asdf9.europe-west3.gcp.cloud.es.io:9243  
and your data is in an index matched by message\*

GET https://unique\_url\_key\_9sdf9asdf9.europe-west3.gcp.cloud.es.io:9243/message\*/\_search

you will need to provide authentication (user/password or token) with your request

---

<div class="post-metadata">

**Author:** ![Jeroen2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeroen2/32/55694_2.png) [@Jeroen2](https://discuss.elastic.co/u/Jeroen2)\
**Post date:** [April 17, 2021, 8:39am UTC](https://discuss.elastic.co/t/elasticsearch-api-url-cloud-service/270399/3 "2021-04-17T08:39:22Z")

</div>

It was not clear for me the url key from Kibana is different from elasticsearch. For people having the same problem in the future;

`GET /`

Run get / in the developer tool in Kibana to get the es key.

---

<div class="post-metadata">

**Author:** ![Jason\_Slater](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jason_slater/32/63484_2.png) [@Jason\_Slater](https://discuss.elastic.co/u/Jason_Slater)\
**Post date:** [April 18, 2021, 3:36am UTC](https://discuss.elastic.co/t/elasticsearch-api-url-cloud-service/270399/4 "2021-04-18T03:36:06Z")

</div>

Glad you got it working.

Correct, Elasticsearch is the datastore, and Kibana is the frontend. Kibana's Dev Tools allows you to make REST calls to Elasticsearch, e.g.

`GET /`

`GET /my-index/_search`

etc.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 2, 2021, 3:36am UTC](https://discuss.elastic.co/t/elasticsearch-api-url-cloud-service/270399/5 "2021-05-02T03:36:26Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
