POST /1/push/{indexName}

Pushes records through the Pipeline, directly to an index. You can make the call synchronous by providing the watch parameter, for asynchronous calls, you can use the observability endpoints and/or debugger dashboard to see the status of your task. If you want to leverage the pre-indexing data transformation, this is the recommended way of ingesting your records. This method is similar to pushTask, but requires an indexName instead of a taskID. If zero or many tasks are found, an error will be returned.

Servers

Path parameters

Name Type Required Description
indexName String Yes

Name of the index on which to perform the operation.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Query parameters

Name Type Required Description
referenceIndexName String No

This is required when targeting an index that does not have a push connector setup (e.g. a tmp index), but you wish to attach another index's transformation to it (e.g. the source index name).

watch Boolean No

When provided, the push operation will be synchronous and the API will wait for the ingestion to be finished before responding.

Request body fields

Name Type Required Description
records[] Array Yes
records[].objectID String Yes

Unique record identifier.

action String Yes

Type of indexing operation.

Possible values:

  • "clear"
  • "addObject"
  • "partialUpdateObjectNoCreate"
  • "deleteObject"
  • "updateObject"
  • "partialUpdateObject"
  • "delete"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.