Menu
Documents Count
Queries the number of documents in the index.
GET
/indexes('{indexName}')/docs/$countUse it in a workflow
- Add a step and choose the Azure AI Search connector.
- Pick the Documents Count action (under Documents).
- Fill in the fields below, then reference the result from later steps as
{{documentsCount.response.data}}.
Request
Path parameters
Response
Returns 200 with a any. Read it in later steps with {{documentsCount.response.data.<field>}}.
Need more? See the Azure AI Search guide for connection setup and behaviour shared by every action.
Was this page helpful?