---
title: "Retrieves Policy Bundle for a given decision log ID"
method: GET
path: "/owner/{ownerID}/context/{context}/decision/{decisionID}/policy-bundle"
tags: ["Policy Management"]
---

# Retrieves Policy Bundle for a given decision log ID

`GET /owner/{ownerID}/context/{context}/decision/{decisionID}/policy-bundle`

## Request

- Base URL: `https://circleci.com/api/v2`
- URL: `https://circleci.com/api/v2/owner/{ownerID}/context/{context}/decision/{decisionID}/policy-bundle`
- Auth: one of:
  - API key in header `Circle-Token`
  - HTTP bearer
  - HTTP basic
  - API key in query parameter `circle-token`

This endpoint will retrieve a policy bundle for a given decision log ID

## Path parameters

- `ownerID` string, required
- `context` string, required
- `decisionID` string, required

## Response `200`

Policy-Bundle retrieved successfully for given decision log ID

- PolicyBundle

## Other responses

- `400`: The request is malformed (e.g, a given path parameter is invalid)
- `401`: The request is unauthorized
- `403`: The user is forbidden from making this request
- `404`: There was no decision log found for given decision_id, and owner_id.
- `500`: Something unexpected happened on the server.

---

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