---
title: "Get"
method: GET
path: "/config/policy/all"
---

# Get

`GET /config/policy/all`

Get

## Response `200`

OK

- object
  - `polAttr` PolicyEntry[]
    - `policyIdent` string, required — Policy name
    - `policyInfo` object
      - `type` 0 | 1 — policy type(0-TrTCM, 1-SrTCM)
      - `colorAware` boolean — Policy color for QoS
      - `committedInfoRate` integer — policy type
      - `peakInfoRate` integer — policy type
      - `committedBlkSize` integer — policy type
      - `excessBlkSize` integer — policy type
    - `targetObject` object, required
      - `attachment` 0 | 1, required — Target Attachment(0-RuleName, 1-PortName)
      - `polObjName` string, required — Target Names

## Other responses

- `401` — Invalid authentication credentials
- `500` — Internal service error
- `503` — Maintenance mode

---

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