younifyd
Menu

Documents Index

Sends a batch of document write actions to the index.

POST/indexes('{indexName}')/docs/search.index

Use it in a workflow

  1. Add a step and choose the Azure AI Search connector.
  2. Pick the Documents Index action (under Documents).
  3. Fill in the fields below, then reference the result from later steps as {{documentsIndex.response.data}}.

Request

Path parameters

indexNamestringrequired

The name of the index.

Request body

Enter the body as JSON in the step's Body field.

valuearray<object>required

The actions in the batch.

@search.actionstring

The operation to perform on a document in an indexing batch.

One ofuploadmergemergeOrUploaddelete

json
{
  "value": [
    {
      "@search.action": "upload"
    }
  ]
}

Response

Returns 200 with a any. Read it in later steps with {{documentsIndex.response.data.<field>}}.

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