Shop API icon

Shop API

Call Shop API

Agents → Count

AI-generated

Summary

Count agents matching an optional JSON filter by sending a POST request to the agents search endpoint. Returns the API’s total count as one n8n item.

Inputs

  • Request filter — Optional JSON object used to filter agents. Invalid JSON or a non-object value is ignored; the request proceeds without filter fields.

Output shape

A single item with a total number field.

The request forces page and pageSize to 0. If the API response does not include total, the returned value is 0.

Links

Discussion