---
title: "Get configurations"
method: GET
path: "/v1/config"
tags: ["Config API"]
---

# Get configurations

`GET /v1/config`

This API endpoint responds with active configuration (result response)

---
**Note**
The `credentials` field in the `services` configuration and

The `private_key` and `key` fields in the `keys` configuration will be omitted from the API response

---

## Query parameters

- `pretty` boolean

## Response `200`

Success

- 200SingleResult
  - `result` object
    - `services` object — The types of services
      - `acmecorp` object
        - `url` string
    - `labels` object — Labels
      - `id` string — Label ID
      - `version` string — Version
    - `keys` object — Keys
      - `global-key` object — Global Key
        - `scope` string — Scope
    - `decision_logs` object — Logs
      - `service` string — Service
    - `status` object — Status
      - `service` string — Service
    - `bundles` object — Bundles
      - `authz` object — Auth
        - `service` string — Service
    - `default_authorization_decision` string
    - `default_decision` string

## Other responses

- `500` — Server error

---

[API](https://skmtc.net/open-policy-agent/apis/open-policy-agent-opa-rest-api.md) · [All operations](https://skmtc.net/open-policy-agent/apis/open-policy-agent-opa-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/open-policy-agent/open-policy-agent-opa-rest-api/revisions/47f6f2062932/schema)
