younifyd
Menu

List Statement Groups

List statement groups of a pipeline

GET/rest/search/v2/admin/pipelines/{pipelineId}/statementGroups

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the List Statement Groups action (under Search).
  3. Fill in the fields below, then reference the result from later steps as {{listStatementGroups.response.data}}.

Request

Path parameters

pipelineIdstringrequired

The unique identifier of the target query pipeline.

Query parameters

organizationIdstring

The unique identifier of the target Coveo Cloud organization. Specifying a value for this parameter is only necessary when you are authenticating the API call with an OAuth2 token.

pageinteger (int32)

The 0-based number of the page of results to get.

Default 0

perPageinteger (int32)

The number of results to include per page.

Default 20

filterstring

The query filter to match. This allows you to search within query pipeline statement definitions and descriptions. By default, results are not required to match a specific query filter.

sortBystring

The sort criteria to apply on the results. `name` : Sort results in alphabetical order `status`: Sort results according to their activation status (i.e., `Active`, `Inactive`, `Not Yet Started`, `Expire`)

One ofnamestatusDefault "status"

isOrderAscendingboolean

Whether to sort the results in ascending order.

Default true

typesany

The type name of the statement group.

statusany

The status of the statement group.

Response

Returns 200 with an object. Read it in later steps with {{listStatementGroups.response.data.<field>}}.

groupCompositionobject
activeGroupCountinteger (int32)required

The number of active groups in the pipeline.

campaignGroupCountinteger (int32)required

The number of campaign groups in the pipeline.

expiredGroupCountinteger (int32)required

The number of expired groups in the pipeline.

inactiveGroupCountinteger (int32)required

The number of inactive groups in the pipeline.

notStartedGroupCountinteger (int32)required

The number of groups not started in the pipeline.

permanentGroupCountinteger (int32)required

The number of permanent groups in the pipeline.

groupsarray<oneOf>
totalCountinteger (int32)

The total number of matching statements across all pages of results.

json
{
  "groupComposition": {
    "activeGroupCount": 0,
    "campaignGroupCount": 0,
    "expiredGroupCount": 0,
    "inactiveGroupCount": 0,
    "notStartedGroupCount": 0,
    "permanentGroupCount": 0
  },
  "groups": [
    null
  ],
  "totalCount": 1
}

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

List Statement Groups — Coveo — Documentation