younifyd
Menu

Bulk Get Statement Groups Operation

List statement groups of a pipeline

POST/rest/search/v2/admin/pipelines/{pipelineId}/statementGroups/bulkGet

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Bulk Get Statement Groups Operation action (under Search).
  3. Fill in the fields below, then reference the result from later steps as {{bulkGetStatementGroupsOperation.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

Request body

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

idsarray<string>

A list of resource identifiers to get. A maximum of **1000** can be sent.

json
{
  "ids": [
    "string"
  ]
}

Response

Returns 200 with an object. Read it in later steps with {{bulkGetStatementGroupsOperation.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.