younifyd
Menu

Get Source Metadata Report

Retrieve metadata report for a source

GET/rest/organizations/{organizationId}/sources/{sourceId}/metadata

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Get Source Metadata Report action (under Source).
  3. Fill in the fields below, then reference the result from later steps as {{getSourceMetadataReport.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

pageinteger (int32)

Default 0

perPageinteger (int32)

Default 100

filterstring

Optional filter string. Must be at least 2 characters long to be applied.

sortBystring
orderstring

Default "ASC"

Response

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

creationDatestring (date-time)
documentErrorCountinteger (int32)
expirationDatestring (date-time)
itemsarray<object>
countinteger (int32)
indexedBystring

One ofNONEFIELDMAPPING

isMappedboolean
keystring
originstring
valuesarray<object>2 fields
sampledDocumentCountinteger (int32)
totalEntriesinteger (int64)
totalPagesinteger (int32)
json
{
  "creationDate": "2025-01-01T00:00:00Z",
  "documentErrorCount": 0,
  "expirationDate": "2025-01-01T00:00:00Z",
  "items": [
    {
      "count": 0,
      "indexedBy": "NONE",
      "isMapped": false,
      "key": "string",
      "origin": "string",
      "values": [
        {
          "count": 0,
          "metadataValue": {}
        }
      ]
    }
  ],
  "sampledDocumentCount": 0,
  "totalEntries": 0,
  "totalPages": 0
}

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