younifyd
Menu

Get Algolia Search Index

Get an Index

GET/algolia-search/{hubId}/indexes/{indexId}

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Get Algolia Search Index action (under Search Indexes).
  3. Fill in the fields below, then reference the result from later steps as {{getAlgoliaSearchIndex.response.data}}.

Request

Path parameters

hubIdstringrequired

Hub ID

indexIdstringrequired

Index ID

Response

Returns 200 with an object. Read it in later steps with {{getAlgoliaSearchIndex.response.data.<field>}}.

idstring

ID

parentIdstring

ID of the replicas parent index

replicaCountnumber

Number of replica indexes for this index (only present on non-replica indexes)

namestring

Generated index name including the hub name and user defined suffix

suffixstring

Index suffix

labelstring

User defined index label

typestring

Type of index

One ofPRODUCTIONSTAGING

assignedContentTypesarray<object>

Assigned Content Types

idstringrequired

ID

contentTypeUristringrequired

Registered Content Type Schema

createdDatestring (date-time)required

Created Date

lastModifiedDatestring (date-time)required

Last Modified Date

_linksobjectrequired10 fields

Resource HAL links

createdDatestring (date-time)

Created Date

lastModifiedDatestring (date-time)

Last Modified Date

statusstring

Status

One ofACTIVEARCHIVED

_linksobject

Resource HAL links

selfany
indexany
hub-search-keyany
updateany
deleteany
list-replicasany
hubany
settingsany
update-settingsany
assigned-content-typesany
clearany
statsany
top-searchesany
top-hitsany
searches-with-no-resultsany
top-filters-no-result-searchany
searches-countany
users-countany
no-results-rateany
archiveany
unarchiveany
json
{
  "id": "00112233445566778899aabb",
  "name": "anya-finn.my-index",
  "suffix": "my-index",
  "label": "My Index",
  "type": "PRODUCTION",
  "assignedContentTypes": [
    {
      "id": "00112233445566778899aabb",
      "contentTypeUri": "http://deliver.bigcontent.io/schema/banner-type.json",
      "createdDate": "2019-01-01T00:00:00.000Z",
      "lastModifiedDate": "2019-01-01T00:00:00.000Z",
      "_links": {
        "self": null,
        "assigned-content-type": null,
        "content-type": null,
        "unassign": null,
        "webhook": null,
        "recreate-webhook": null,
        "active-content-webhook": null,
        "recreate-active-content-webhook": null,
        "archived-content-webhook": null,
        "recreate-archived-content-webhook": null
      }
    }
  ],
  "createdDate": "2019-01-01T00:00:00.000Z",
  "lastModifiedDate": "2019-01-01T00:00:00.000Z",
  "_links": {
    "self": null,
    "index": null,
    "hub-search-key": null,
    "update": null,
    "delete": null,
    "list-replicas": null,
    "hub": null,
    "settings": null,
    "update-settings": null,
    "assigned-content-types": null,
    "clear": null,
    "stats": null
  },
  "parentId": "00112233445566778899aabb",
  "replicaCount": 0,
  "status": "ACTIVE"
}

Need more? See the Amplience guide for connection setup and behaviour shared by every action.

Get Algolia Search Index — Amplience — Documentation