younifyd
Menu

Replay

Replay a query with inspection details

POST/rest/search/v3/analysis/inspect/replay

Use it in a workflow

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

Request

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.

Request body

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

dateRangeobject

The date range within which to look for the request.

fromstring (date-time)required

The inclusive date at which to start looking for the request.

tostring (date-time)

The inclusive date at which to stop looking for the SearchUID. When omitted searches up until the most recent requests.

idstringrequired

The SearchUID of the request to replay.

json
{
  "id": "string",
  "dateRange": {
    "from": "2025-01-01T00:00:00Z",
    "to": "2025-01-01T00:00:00Z"
  }
}

Response

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

executionarray<any>
requestParametersobject
resultsarray<object>
clickUristringrequired

The hyperlinkable item URI. **Notes:** - Use the `clickUri` value when you want to create hyperlinks to the item, rather than the `uri` or `printableUri` value. - The `clickUri` value is not necessarily unique for each item.

fieldsobjectrequired

The list of fields that were included in the results.

rankingInfoobject3 fields
titlestringrequired
totalResultsCountinteger

The total number of items matching the query for the current user (security trimming applied).

json
{
  "execution": [
    null
  ],
  "requestParameters": {
    "aq": "@author=john",
    "q": "adventure books"
  },
  "results": [
    {
      "clickUri": "https://example.com/t/1/898/2",
      "fields": {},
      "title": "string",
      "rankingInfo": {
        "documentWeights": {
          "source": 240,
          "title": 1000,
          "uri": 500
        },
        "totalWeight": 0,
        "weightComposition": {
          "queryRankingExpressions": [
            {
              "expression": null,
              "origin": null,
              "score": null,
              "rule": null
            }
          ],
          "rankingFunctions": [
            {
              "expression": null,
              "origin": null,
              "score": null,
              "rule": null
            }
          ],
          "termsWeights": [
            {
              "term": null,
              "weightInfo": null
            }
          ]
        }
      }
    }
  ],
  "totalResultsCount": 0
}

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

Was this page helpful?