{
  "info": {
    "_postman_id": "df43aa75-a82c-4b5d-bdb4-2c917c0b5ac9",
    "name": "Coveo Activity Activities Predictive Query Suggest Configuration API",
    "description": "API for Coveo Platform\n\nContact Support:\n Name: Coveo",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:30:31.000Z",
    "updatedAt": "2026-07-28T01:30:31.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-df43aa75-a82c-4b5d-bdb4-2c917c0b5ac9"
  },
  "item": [
    {
      "name": "rest",
      "item": [
        {
          "name": "organizations",
          "item": [
            {
              "name": "{organizationId}",
              "item": [
                {
                  "name": "machinelearning",
                  "item": [
                    {
                      "name": "configuration",
                      "item": [
                        {
                          "name": "pqs",
                          "item": [
                            {
                              "name": "model",
                              "item": [
                                {
                                  "name": "Create PQS Model Resources",
                                  "id": "a09bc0d5-f30c-47d9-9f2c-07a0ad34da0d",
                                  "protocolProfileBehavior": {
                                    "disableBodyPruning": true
                                  },
                                  "request": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                      },
                                      {
                                        "key": "Accept",
                                        "value": "*/*"
                                      }
                                    ],
                                    "body": {
                                      "mode": "raw",
                                      "raw": "{\n  \"catalogId\": \"<string>\",\n  \"modelDisplayName\": \"<string>\",\n  \"trackingIds\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"exportPeriod\": \"<string>\",\n  \"intervalTime\": null,\n  \"intervalUnit\": \"DAY,WEEK,MONTH\",\n  \"commonFilter\": \"<string>\",\n  \"searchEventFilter\": \"<string>\",\n  \"modelId\": \"<string>\"\n}",
                                      "options": {
                                        "raw": {
                                          "headerFamily": "json",
                                          "language": "json"
                                        }
                                      }
                                    },
                                    "url": {
                                      "raw": "{{baseUrl}}/rest/organizations/:organizationId/machinelearning/configuration/pqs/model",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "rest",
                                        "organizations",
                                        ":organizationId",
                                        "machinelearning",
                                        "configuration",
                                        "pqs",
                                        "model"
                                      ],
                                      "variable": [
                                        {
                                          "id": "49cb9bd8-c3b1-44ff-a0b2-408d2cce4a24",
                                          "key": "organizationId",
                                          "value": "<string>",
                                          "description": "(Required) The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:** `mycoveocloudv2organizationg8tp8wu3`"
                                        }
                                      ]
                                    },
                                    "description": "Creates resources for a Predictive Query Suggest (PQS) model.<br /><br /><details><summary>Privilege required</summary>\n```\n{\"owner\":\"COVEO_ML\",\"targetDomain\":\"MODELS\",\"type\":\"CREATE\",\"targetId\":\"*\"}\n```\n</details>"
                                  },
                                  "response": [
                                    {
                                      "id": "36725117-f83c-49ef-be49-34d4fcd57421",
                                      "name": "Created",
                                      "originalRequest": {
                                        "method": "POST",
                                        "header": [
                                          {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                          },
                                          {
                                            "key": "Accept",
                                            "value": "*/*"
                                          },
                                          {
                                            "description": "Added as a part of security scheme: oauth2",
                                            "key": "Authorization",
                                            "value": "<token>"
                                          }
                                        ],
                                        "body": {
                                          "mode": "raw",
                                          "raw": "{\n  \"catalogId\": \"<string>\",\n  \"modelDisplayName\": \"<string>\",\n  \"trackingIds\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"exportPeriod\": \"<string>\",\n  \"intervalTime\": null,\n  \"intervalUnit\": \"DAY,WEEK,MONTH\",\n  \"commonFilter\": \"<string>\",\n  \"searchEventFilter\": \"<string>\",\n  \"modelId\": \"<string>\"\n}",
                                          "options": {
                                            "raw": {
                                              "headerFamily": "json",
                                              "language": "json"
                                            }
                                          }
                                        },
                                        "url": {
                                          "raw": "{{baseUrl}}/rest/organizations/:organizationId/machinelearning/configuration/pqs/model",
                                          "host": [
                                            "{{baseUrl}}"
                                          ],
                                          "path": [
                                            "rest",
                                            "organizations",
                                            ":organizationId",
                                            "machinelearning",
                                            "configuration",
                                            "pqs",
                                            "model"
                                          ],
                                          "variable": [
                                            {
                                              "key": "organizationId"
                                            }
                                          ]
                                        }
                                      },
                                      "status": "Created",
                                      "code": 201,
                                      "_postman_previewlanguage": "text",
                                      "header": [
                                        {
                                          "key": "Content-Type",
                                          "value": "*/*"
                                        }
                                      ],
                                      "cookie": [],
                                      "responseTime": null,
                                      "body": "{\n  \"catalogId\": \"<string>\",\n  \"modelDisplayName\": \"<string>\",\n  \"trackingIds\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"exportPeriod\": \"<string>\",\n  \"intervalTime\": null,\n  \"intervalUnit\": \"DAY,WEEK,MONTH\",\n  \"commonFilter\": \"<string>\",\n  \"searchEventFilter\": \"<string>\",\n  \"modelId\": \"<string>\"\n}",
                                      "createdAt": "2026-07-28T01:30:31.000Z",
                                      "updatedAt": "2026-07-28T01:30:31.000Z",
                                      "uid": "35240-36725117-f83c-49ef-be49-34d4fcd57421"
                                    }
                                  ],
                                  "createdAt": "2026-07-28T01:30:31.000Z",
                                  "updatedAt": "2026-07-28T01:30:31.000Z",
                                  "uid": "35240-a09bc0d5-f30c-47d9-9f2c-07a0ad34da0d"
                                }
                              ],
                              "id": "ac2ed30d-b375-48bd-a7b6-ed9fe4a96797",
                              "createdAt": "2026-07-28T01:30:31.000Z",
                              "updatedAt": "2026-07-28T01:30:31.000Z",
                              "uid": "35240-ac2ed30d-b375-48bd-a7b6-ed9fe4a96797"
                            }
                          ],
                          "id": "c9b62641-96f7-416a-81f5-df5116498a55",
                          "createdAt": "2026-07-28T01:30:31.000Z",
                          "updatedAt": "2026-07-28T01:30:31.000Z",
                          "uid": "35240-c9b62641-96f7-416a-81f5-df5116498a55"
                        }
                      ],
                      "id": "8ec4eb48-a853-4143-8d80-d438e2216af4",
                      "createdAt": "2026-07-28T01:30:31.000Z",
                      "updatedAt": "2026-07-28T01:30:31.000Z",
                      "uid": "35240-8ec4eb48-a853-4143-8d80-d438e2216af4"
                    }
                  ],
                  "id": "016a9adc-f0d1-44ce-b779-666f5eca2901",
                  "createdAt": "2026-07-28T01:30:31.000Z",
                  "updatedAt": "2026-07-28T01:30:31.000Z",
                  "uid": "35240-016a9adc-f0d1-44ce-b779-666f5eca2901"
                }
              ],
              "id": "80ea240e-cd8f-4690-8bd0-7c9df8c21de0",
              "createdAt": "2026-07-28T01:30:31.000Z",
              "updatedAt": "2026-07-28T01:30:31.000Z",
              "uid": "35240-80ea240e-cd8f-4690-8bd0-7c9df8c21de0"
            }
          ],
          "id": "53cbff20-6402-4f61-8b07-113a4c882d5a",
          "createdAt": "2026-07-28T01:30:31.000Z",
          "updatedAt": "2026-07-28T01:30:31.000Z",
          "uid": "35240-53cbff20-6402-4f61-8b07-113a4c882d5a"
        }
      ],
      "id": "39b333d2-0151-4231-b9f2-d71082e54f14",
      "createdAt": "2026-07-28T01:30:31.000Z",
      "updatedAt": "2026-07-28T01:30:31.000Z",
      "uid": "35240-39b333d2-0151-4231-b9f2-d71082e54f14"
    }
  ],
  "auth": {
    "type": "oauth2",
    "oauth2": [
      {
        "key": "scope",
        "value": "full",
        "type": "string"
      },
      {
        "key": "accessTokenUrl",
        "value": "https://platform.cloud.coveo.com/oauth/token",
        "type": "string"
      },
      {
        "key": "authUrl",
        "value": "https://platform.cloud.coveo.com/oauth/authorize",
        "type": "string"
      },
      {
        "key": "grant_type",
        "value": "authorization_code",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://platform.cloud.coveo.com"
    }
  ]
}