---
title: "GET /resourcepolicy/{resourceArn}"
method: GET
path: "/resourcepolicy/{resourceArn}"
---

# GET /resourcepolicy/{resourceArn}

`GET /resourcepolicy/{resourceArn}`

Retrieves the resource policy associated with a knowledge base.

## Path parameters

- `resourceArn` string, required

## Response `200`

Success

- GetResourcePolicyResponse
  - `resourceArn` string, required — The ARN of the knowledge base that the resource policy is associated with.
  - `policy` string, required — The JSON-formatted resource policy associated with the knowledge base.
  - `revisionId` string, required — The revision identifier of the resource policy.

## Other responses

- `480` — ThrottlingException
- `481` — AccessDeniedException
- `482` — ValidationException
- `483` — InternalServerException
- `484` — ResourceNotFoundException

---

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