younifyd
Menu

Retrieve refined tag

Retrieve refined tag

GET/v1/refined_tags/{tag_name}/{tag_value}

Use it in a workflow

  1. Add a step and choose the Constructor connector.
  2. Pick the Retrieve refined tag action (under Refined Tags).
  3. Fill in the fields below, then reference the result from later steps as {{retrieveRefinedTag.response.data}}.

Request

Path parameters

tag_namestringrequired
tag_valuestringrequired

Query parameters

sectionstring

The section of the index to use. Defaults to `Products`.

cstring

The ID of the client and version that the request is coming from, such as `cio-js-2.90`.

Response

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

refined_tagsarray<object>
allow_automatic_rulesboolean

Specifies whether to allow automatic creation of rules

last_reviewed_atstring (date-time)

The date of the last review

last_reviewed_bystring

The user who last reviewed the refined tag

next_review_atstring (date-time)

The date of the next review

tag_namestringrequired
tag_valuestringrequired
boost_rulesarray<object>required12 fields
blacklist_rulesarray<object>required12 fields
whitelist_ruleobject12 fields
total_countinteger
json
{
  "refined_tags": [
    {
      "tag_name": "string",
      "tag_value": "string",
      "boost_rules": [
        {
          "id": 0,
          "rule": null,
          "rule_type": "boost",
          "request_tag_name": null,
          "request_tag_value": "string",
          "active": false,
          "start_time": "2025-01-01T00:00:00Z",
          "end_time": "2025-01-01T00:00:00Z",
          "campaign_id": 0,
          "automatically_generated": false,
          "created_at": "2025-01-01T00:00:00Z",
          "updated_at": "2025-01-01T00:00:00Z"
        }
      ],
      "blacklist_rules": [
        {
          "id": 0,
          "rule": null,
          "rule_type": "blacklist",
          "request_tag_name": null,
          "request_tag_value": "string",
          "active": false,
          "start_time": "2025-01-01T00:00:00Z",
          "end_time": "2025-01-01T00:00:00Z",
          "campaign_id": 0,
          "automatically_generated": false,
          "created_at": "2025-01-01T00:00:00Z",
          "updated_at": "2025-01-01T00:00:00Z"
        }
      ],
      "allow_automatic_rules": false,
      "last_reviewed_at": "2025-01-01T00:00:00Z",
      "last_reviewed_by": "string",
      "next_review_at": "2025-01-01T00:00:00Z",
      "whitelist_rule": {
        "id": 0,
        "rule": null,
        "rule_type": "whitelist",
        "request_tag_name": null,
        "request_tag_value": "string",
        "active": false,
        "start_time": "2025-01-01T00:00:00Z",
        "end_time": "2025-01-01T00:00:00Z",
        "campaign_id": 0,
        "automatically_generated": false,
        "created_at": "2025-01-01T00:00:00Z",
        "updated_at": "2025-01-01T00:00:00Z"
      }
    }
  ],
  "total_count": 0
}

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