{
  "info": {
    "_postman_id": "1c58e269-3cea-4700-8377-9c52f52d1c07",
    "name": "Coveo Activity Activities Semantic Encoder 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:32:32.000Z",
    "updatedAt": "2026-07-28T01:32:32.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-1c58e269-3cea-4700-8377-9c52f52d1c07"
  },
  "item": [
    {
      "name": "rest",
      "item": [
        {
          "name": "organizations",
          "item": [
            {
              "name": "{organizationId}",
              "item": [
                {
                  "name": "machinelearning",
                  "item": [
                    {
                      "name": "configuration",
                      "item": [
                        {
                          "name": "semanticencoder",
                          "item": [
                            {
                              "name": "preview",
                              "item": [
                                {
                                  "name": "Get Preview for Building an SE Model",
                                  "id": "16963d53-f7dc-40ac-b730-f08374587c43",
                                  "protocolProfileBehavior": {
                                    "disableBodyPruning": true
                                  },
                                  "request": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                      },
                                      {
                                        "key": "Accept",
                                        "value": "*/*"
                                      }
                                    ],
                                    "body": {
                                      "mode": "raw",
                                      "raw": "{\n  \"advancedQuery\": \"<string>\",\n  \"sources\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"filterConditions\": [\n    {\n      \"field\": \"<string>\",\n      \"operator\": \"EQUALS\",\n      \"value\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"operator\": \"NOT_EQUALS\",\n      \"value\": \"<string>\"\n    }\n  ]\n}",
                                      "options": {
                                        "raw": {
                                          "headerFamily": "json",
                                          "language": "json"
                                        }
                                      }
                                    },
                                    "url": {
                                      "raw": "{{baseUrl}}/rest/organizations/:organizationId/machinelearning/configuration/semanticencoder/preview",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "rest",
                                        "organizations",
                                        ":organizationId",
                                        "machinelearning",
                                        "configuration",
                                        "semanticencoder",
                                        "preview"
                                      ],
                                      "variable": [
                                        {
                                          "id": "07fd726e-9888-448b-b450-9945f99c1b96",
                                          "key": "organizationId",
                                          "value": "<string>",
                                          "description": "(Required) The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:** `mycoveocloudv2organizationg8tp8wu3`"
                                        }
                                      ]
                                    },
                                    "description": "Show how many documents matching various SE requirements are in the selection.<br /><br /><details><summary>Privilege required</summary>\n```\n{\"owner\":\"COVEO_ML\",\"targetDomain\":\"ALLOW_CONTENT_PREVIEW\",\"type\":\"ENABLE\",\"targetId\":\"*\"}\n```\n</details>"
                                  },
                                  "response": [
                                    {
                                      "id": "f5d9ec89-3f95-4494-99ae-57abe535d7fd",
                                      "name": "OK",
                                      "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  \"advancedQuery\": \"<string>\",\n  \"sources\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"filterConditions\": [\n    {\n      \"field\": \"<string>\",\n      \"operator\": \"EQUALS\",\n      \"value\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"operator\": \"NOT_EQUALS\",\n      \"value\": \"<string>\"\n    }\n  ]\n}",
                                          "options": {
                                            "raw": {
                                              "headerFamily": "json",
                                              "language": "json"
                                            }
                                          }
                                        },
                                        "url": {
                                          "raw": "{{baseUrl}}/rest/organizations/:organizationId/machinelearning/configuration/semanticencoder/preview",
                                          "host": [
                                            "{{baseUrl}}"
                                          ],
                                          "path": [
                                            "rest",
                                            "organizations",
                                            ":organizationId",
                                            "machinelearning",
                                            "configuration",
                                            "semanticencoder",
                                            "preview"
                                          ],
                                          "variable": [
                                            {
                                              "key": "organizationId"
                                            }
                                          ]
                                        }
                                      },
                                      "status": "OK",
                                      "code": 200,
                                      "_postman_previewlanguage": "text",
                                      "header": [
                                        {
                                          "key": "Content-Type",
                                          "value": "*/*"
                                        }
                                      ],
                                      "cookie": [],
                                      "responseTime": null,
                                      "body": "{\n  \"query\": \"<string>\",\n  \"numberOfDocumentsInSources\": \"<long>\",\n  \"numberOfValidDocuments\": \"<long>\",\n  \"numberOfDocumentsInSourcesMatchingFilters\": \"<long>\",\n  \"numberOfDocumentsInSourcesMatchingFiltersWithPermanentId\": \"<long>\",\n  \"documentLimit\": \"<long>\",\n  \"documentRequirementStatus\": \"INSUFFICIENT_DOCUMENTS\"\n}",
                                      "createdAt": "2026-07-28T01:32:33.000Z",
                                      "updatedAt": "2026-07-28T01:32:33.000Z",
                                      "uid": "35240-f5d9ec89-3f95-4494-99ae-57abe535d7fd"
                                    }
                                  ],
                                  "createdAt": "2026-07-28T01:32:32.000Z",
                                  "updatedAt": "2026-07-28T01:32:32.000Z",
                                  "uid": "35240-16963d53-f7dc-40ac-b730-f08374587c43"
                                }
                              ],
                              "id": "21516030-d85f-48af-bc6a-2006c6e7798e",
                              "createdAt": "2026-07-28T01:32:32.000Z",
                              "updatedAt": "2026-07-28T01:32:32.000Z",
                              "uid": "35240-21516030-d85f-48af-bc6a-2006c6e7798e"
                            }
                          ],
                          "id": "aa8afb4c-61df-436e-a2dd-fe9fd4538cf4",
                          "createdAt": "2026-07-28T01:32:32.000Z",
                          "updatedAt": "2026-07-28T01:32:32.000Z",
                          "uid": "35240-aa8afb4c-61df-436e-a2dd-fe9fd4538cf4"
                        }
                      ],
                      "id": "114e3d3d-c8c6-4d1e-ba8c-635534ea7056",
                      "createdAt": "2026-07-28T01:32:32.000Z",
                      "updatedAt": "2026-07-28T01:32:32.000Z",
                      "uid": "35240-114e3d3d-c8c6-4d1e-ba8c-635534ea7056"
                    }
                  ],
                  "id": "f4cf59ea-cbd3-47c3-b10d-6b776ad44421",
                  "createdAt": "2026-07-28T01:32:32.000Z",
                  "updatedAt": "2026-07-28T01:32:32.000Z",
                  "uid": "35240-f4cf59ea-cbd3-47c3-b10d-6b776ad44421"
                }
              ],
              "id": "ddffa347-dda6-45c2-b4ea-6fa6c20af5d8",
              "createdAt": "2026-07-28T01:32:32.000Z",
              "updatedAt": "2026-07-28T01:32:32.000Z",
              "uid": "35240-ddffa347-dda6-45c2-b4ea-6fa6c20af5d8"
            }
          ],
          "id": "8c552cad-2294-431c-87da-e9e8691c531c",
          "createdAt": "2026-07-28T01:32:32.000Z",
          "updatedAt": "2026-07-28T01:32:32.000Z",
          "uid": "35240-8c552cad-2294-431c-87da-e9e8691c531c"
        }
      ],
      "id": "c35079c4-4480-48f6-9ef7-3dea11df347a",
      "createdAt": "2026-07-28T01:32:32.000Z",
      "updatedAt": "2026-07-28T01:32:32.000Z",
      "uid": "35240-c35079c4-4480-48f6-9ef7-3dea11df347a"
    }
  ],
  "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"
    }
  ]
}