---
title: "Retrieves the owner's decision audit logs."
method: GET
path: "/owner/{ownerID}/context/{context}/decision"
tags: ["Policy Management"]
---

# Retrieves the owner's decision audit logs.

`GET /owner/{ownerID}/context/{context}/decision`

This endpoint will return a list of decision audit logs that were made using this owner's policies.

## Path parameters

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

## Query parameters

- `status` string
- `after` string, date-time
- `before` string, date-time
- `branch` string
- `project_id` string
- `build_number` string
- `offset` integer

## Response `200`

Decision logs successfully retrieved.

- DecisionLog[]
  - `created_at` string, date-time
  - `decision` Decision
    - `enabled_rules` string[]
    - `hard_failures` Violation[]
      - `reason` string, required
      - `rule` string, required
    - `reason` string
    - `soft_failures` Violation[]
      - `reason` string, required
      - `rule` string, required
    - `status` string, required
  - `id` string, uuid
  - `metadata` object
    - `build_number` integer
    - `project_id` string, uuid
    - `ssh_rerun` boolean
    - `vcs` object
      - `branch` string
      - `origin_repository_url` string
      - `release_tag` string
      - `target_repository_url` string
  - `policies` object — policy-name-to-hash-map
  - `time_taken_ms` integer

## 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
- `500` — Something unexpected happened on the server.

---

[API](https://skmtc.net/circleci/apis/api-v2.md) · [All operations](https://skmtc.net/circleci/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/circleci/api-v2/revisions/b9c0e0c24058/schema)
