younifyd
Menu

Get Source Snapshot

Get Source Snapshot

GET/rest/organizations/{organizationId}/sources/{sourceId}/configuration/snapshot

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Get Source Snapshot action (under Source).
  3. Fill in the fields below, then reference the result from later steps as {{getSourceSnapshot.response.data}}.

Request

Path parameters

organizationIdstringrequired

The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:** `mycoveocloudv2organizationg8tp8wu3`

sourceIdstringrequired

The unique identifier of the target [source](https://docs.coveo.com/en/246/).<br />**Example:** `mycoveocloudv2organizationg8tp8wu3-gravodalyysjsu34camnvxm2d2y`

Query parameters

activityIdstringrequired

Response

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

configurationobject
addressPatternsarray<object>3 fields
caseSensitivePatternsboolean
dataFilesobject
dbConnectionStringstring
documentConfigobject8 fields
documentConsumerURIstring
indexIdentifierstring
parametersobject
permissionsarray<object>2 fields
reportingServiceUristring
securityProvidersobject
sourceInformationobject11 fields
sourceSecurityOptionstring

One ofRetrieveSpecifiedMerge

startingAddressesarray<string>
userIdentitiesobject
mappingsarray<object>
fieldNamestring
idstring
rulesarray<string>
sourceIdstring
typestring
json
{
  "configuration": {
    "addressPatterns": [
      {
        "allowed": false,
        "expression": "string",
        "patternType": "Wildcard"
      }
    ],
    "caseSensitivePatterns": false,
    "dataFiles": {},
    "dbConnectionString": "string",
    "documentConfig": {
      "documentProcessorConfig": {
        "addRawTextDataStream": false,
        "beautifyDocuments": false,
        "charsetDetectionHint": {
          "charset": "string",
          "confidence": 0
        },
        "excelFloatingPointPrecision": 0,
        "excerptSource": "Document",
        "extensionSettings": {
          "byContentTypes": [
            {
              "extensionSetting": null,
              "extensions": null
            }
          ],
          "byExtensions": [
            {
              "extensionSetting": null,
              "extensions": null
            }
          ],
          "noExtension": {
            "type": null,
            "description": null
          },
          "other": {
            "type": null,
            "description": null
          }
        },
        "fieldMappingOrigin": "string",
        "generateHTML": false,
        "generateMarkdown": false,
        "imageMinimumSize": 0,
        "indexExcelNumbers": false,
        "indexMeta": false
      },
      "fieldConfigTag": "string",
      "indexLogicalId": "string",
      "indexUri": "string",
      "parameters": {},
      "postConversions": [
        {
          "parameters": {
            "condition": {},
            "deleteOnError": false,
            "memoryLimit": 0,
            "name": "string",
            "streams": [
              null
            ],
            "values": {}
          },
          "type": "string"
        }
      ],
      "preConversions": [
        {
          "parameters": {
            "condition": {},
            "deleteOnError": false,
            "memoryLimit": 0,
            "name": "string",
            "streams": [
              null
            ],
            "values": {}
          },
          "type": "string"
        }
      ],
      "sourceConfigTag": "string"
    },
    "documentConsumerURI": "string",
    "indexIdentifier": "string",
    "parameters": {},
    "permissions": [
      {
        "name": "string",
        "permissionSets": [
          {
            "allowAnonymous": false,
            "allowedPermissions": [
              null
            ],
            "deniedPermissions": [
              null
            ],
            "name": "string"
          }
        ]
      }
    ],
    "reportingServiceUri": "string",
    "securityProviders": {},
    "sourceInformation": {
      "documentsTotalSize": 0,
      "lastFullRefreshEndDate": "2025-01-01T00:00:00Z",
      "lastIncrementalRefreshEndDate": "2025-01-01T00:00:00Z",
      "lastOperation": {
        "errorCode": "string",
        "id": "string",
        "initialBuild": false,
        "numberOfAddedDocuments": 0,
        "numberOfDocuments": 0,
        "numberOfFilteredDocuments": 0,
        "numberOfRemovedDocuments": 0,
        "numberOfUnchangedDocuments": 0,
        "numberOfUpdatedDocuments": 0,
        "operationType": "REBUILD",
        "result": "string",
        "startedDate": "2025-01-01T00:00:00Z"
      },
      "lastRebuildEndDate": "2025-01-01T00:00:00Z",
      "lastRefreshEndDate": "2025-01-01T00:00:00Z",
      "nextOperation": {
        "operationType": "REBUILD",
        "timestamp": "2025-01-01T00:00:00Z"
      },
      "numberOfDocuments": 0,
      "rebuildRequired": false,
      "rebuildRequiredReasons": [
        "SOURCE_CONFIGURATION_UPDATED"
      ],
      "sourceStatus": {
        "activityId": "string",
        "allowedOperations": [
          "APPLY"
        ],
        "createdDate": "2025-01-01T00:00:00Z",
        "extendedCurrentStatus": "CREATING",
        "initialBuild": false,
        "numberOfAddedDocuments": 0,
        "numberOfDocuments": 0,
        "numberOfFilteredDocuments": 0,
        "numberOfProcessedDocuments": 0,
        "numberOfRemovedDocuments": 0,
        "numberOfUnchangedDocuments": 0,
        "numberOfUpdatedDocuments": 0
      }
    }
  },
  "mappings": [
    {
      "fieldName": "string",
      "id": "string",
      "rules": [
        "string"
      ],
      "sourceId": "string",
      "type": "string"
    }
  ]
}

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