---
title: "GET /public/self-serve/v1/resource-policy"
method: GET
path: "/public/self-serve/v1/resource-policy"
tags: ["cli_resource-policy_self-serve_v1_6"]
---

# GET /public/self-serve/v1/resource-policy

`GET /public/self-serve/v1/resource-policy`

## Request

- Base URL: `https://developers.conduktor.io` (the document declares no server; this is the origin it was published from)
- URL: `https://developers.conduktor.io/public/self-serve/v1/resource-policy`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/conduktor/apis/conduktor-console-api/docs/public/self-serve/v1/resource-policy/get.ts> (a function with typed inputs; its response is checked against the schema)

List ResourcePolicy resources

**Requires a paid license.** Returns 403 Forbidden on Free plan.

## Query parameters

- `application-instance` string
- `application` string

## Response `200`

- ResourcePolicyResourceV1[]
  - `apiVersion` string, required
  - `kind` 'ResourcePolicy', required
  - `metadata` ResourcePolicyMetadata, required
    - `name` string, required
    - `labels` MapLabelKeyString
  - `spec` ResourcePolicySpec, required
    - `targetKind` 'ApplicationGroup' | 'ApplicationInstancePermission' | 'Connector' | 'Subject' | 'Topic', required
    - `description` string
    - `rules` CelRule[]
      - `condition` string, required
      - `errorMessage` string, required

## Other responses

- `400`: The request is not valid
- `401`: The user is not authenticated
- `403`: The user doesn't have sufficient privilege to do this operation
- `404`: No resource-policy with this name exists
- `500`: An unexpected error occurred in the server

---

[API](https://skmtc.dev/conduktor/apis/conduktor-console-api.md) - [All operations](https://skmtc.dev/conduktor/apis/conduktor-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conduktor/apis/conduktor-console-api/revisions/24750c294805?raw)
