younifyd
Menu

Parse Expression To Structured

Convert query to structured expression

POST/rest/search/v3/analysis/expressions/structured

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Parse Expression To Structured action (under Search).
  3. Fill in the fields below, then reference the result from later steps as {{parseExpressionToStructured.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.

querystringrequired

A query using the Coveo query syntax.

json
{
  "query": "@altpopulation>=90000 AND @altcapital AND NOT (@source==\"Youtube\" OR @author==\"JohnSmith\")"
}

Response

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

structuredoneOf
json
{
  "structured": null
}

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