Productive icon

Productive

Interact with the Productive API

Actions508

Teams → Get teams

AI-generated

Summary

Retrieve a list of teams from the Productive API, optionally filtering and paginating the results.

Inputs

  • Return All — Select whether to return all matching teams (true) or limit the number of results (false, default).
  • Limit — The maximum number of teams to return if not returning all (default 50).
  • Page Number — The page number to retrieve when not returning all (default 1).
  • Page Size — Number of teams per page when paginating (default 30, max 200).
  • Filter Query String — A literal filter query string to override other filters, following Productive API syntax.
  • Filters — One or more filters on team fields (Color ID, ID, Name) using operations such as equals, contains, greater than, etc. Ignored if Filter Query String is provided.

Output shape

a list of team objects returned by the Productive API matching the filter and pagination parameters

If 'Return All' is false, results are paginated according to 'Page Number' and 'Page Size' parameters; if true, all teams matching filters are returned. Filtering can be done either by the 'Filter Query String' parameter or by specifying individual filters. Errors in execution will return error information if 'Continue On Fail' mode is enabled.

Examples

Example 1: Retrieve all teams without filters

Set Return All to true

Example 2: Retrieve up to 100 teams on page 2

Set Return All to false, Limit to 100, Page Number to 2

Example 3: Retrieve teams filtered by name containing 'Dev'

Specify a filter with Filter Field 'Name' and Operation 'Contains' with value 'Dev'

Discussion