---
title: "List all directives based on a technique"
method: GET
path: "/techniques/{techniqueId}/directives"
tags: ["Techniques"]
---

# List all directives based on a technique

`GET /techniques/{techniqueId}/directives`

List all directives based on all version of a technique

## Path parameters

- `techniqueId` string, required — Technique ID

## Response `200`

Techniques information

- object
  - `result` 'success' | 'error', required — Result of the request
  - `action` 'listTechniquesDirectives', required — The id of the action
  - `data` object, required
    - `directives` Directive[], required
      - `id` string, uuid — Directive id
      - `displayName` string — Human readable name of the directive
      - `shortDescription` string — One line directive description
      - `longDescription` string, markdown — Description of the technique (rendered as markdown)
      - `techniqueName` string — Directive id
      - `techniqueVersion` string — Directive id
      - `priority` integer — Directive priority. `0` has highest priority.
      - `enabled` boolean — Is the directive enabled
      - `system` boolean — If true it is an internal Rudder directive
      - `policyMode` 'enforce' | 'audit' — Policy mode of the directive
      - `tags` object[]
      - `parameters` object — Directive parameters (depends on the source technique)

---

[API](https://skmtc.net/rudder/apis/rudder-api.md) · [All operations](https://skmtc.net/rudder/apis/rudder-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rudder/rudder-api/versions/eab988254fba/schema)
