Skip to main content
GET
/
projects
/
{projectId}
/
indexes
cURL
curl --request GET \
  --url https://{baseUrl}/{version}/projects/{projectId}/indexes \
  --header 'content-type: <content-type>' \
  --header 'x-api-key: <x-api-key>'
{
  "indexes": [
    {
      "projectId": "<string>",
      "indexName": "<string>",
      "mappings": {},
      "numDocs": 123,
      "cloneSourceInfo": {
        "sourceProjectId": "<string>",
        "sourceIndexName": "<string>",
        "sourceIndexVersionId": "<string>"
      },
      "indexStatus": "CREATING",
      "indexClass": "STANDARD"
    }
  ]
}

Headers

content-type
string
default:application/json
required
x-api-key
string
required

Project API Key.

Path Parameters

projectId
string
required

Project ID.

Response

200 - application/json

A list of indexes matched with a projectId.

indexes
object[]