---
title: "GET /workspaces/{workspace}/policies/decision-logs-v1/"
method: GET
path: "/workspaces/{workspace}/policies/decision-logs-v1/"
tags: ["workspaces"]
---

# GET /workspaces/{workspace}/policies/decision-logs-v1/

`GET /workspaces/{workspace}/policies/decision-logs-v1/`

List policy evaluation decision logs.

## Path parameters

- `workspace` string, required

## Query parameters

- `after_id` string
- `correlation_id` string, uuid
- `created_after` string, date-time, required
- `created_before` string, date-time
- `match` boolean, nullable
- `package_format` string[]
- `package_name` string
- `package_slug_perm` string
- `page` integer
- `page_size` integer
- `policy_slug_perm` string
- `repository_slug_perm` string
- `sort` string

## Response `200`

- PaginatedPolicyDecisionLogV1SummaryList
  - `results` PolicyDecisionLogV1Summary[], required
    - `id` string, required — A ULID which uniquely identifies this decision log in the context of the correlation_id.
    - `actions` object, required
    - `correlation_id` string, uuid, required — A UUID which identifies the group of decision logs which were generated off the back of a single evaluation trigger.
    - `ended_at` string, date-time, required
    - `match` boolean, required — Whether the policy evaluation matched the package.
    - `package_format` string, required — The format of the package which policy evaluation occurred for.
    - `package_name` string, required — The name of the package which policy evaluation occurred for.
    - `package_slug` string, required — The slug of the package which policy evaluation occurred for.
    - `package_slug_perm` string, required — The identifier of the package which policy evaluation occurred for.
    - `package_version` string, required — The version of the package which policy evaluation occurred for.
    - `policy_is_terminal` boolean, required — Whether the evaluated policy was terminal.
    - `policy_name` string, required — The name of the policy.
    - `policy_precedence` integer, required — The order in which the policy was evaluated relative to other policies in the same correlation_id group.
    - `policy_slug_perm` string, required — The identifier of the policy.
    - `policy_version` integer, required — The version of the policy.
    - `repository_name` string, required — The name of the repository which the package belongs to.
    - `repository_slug` string, required — The slug of the repository which the package belongs to.
    - `repository_slug_perm` string, required — The identifier of the repository which the package belongs to.
    - `started_at` string, date-time, required — The date and time at which policy evaluation started.

## Other responses

- `400` — Invalid query parameters.
- `401` — Authentication credentials were not provided.
- `403` — Insufficient permissions.
- `404` — Workspace not found.
- `422` — Invalid date/time range

---

[API](https://skmtc.net/cloudsmith/apis/cloudsmith-api.md) · [All operations](https://skmtc.net/cloudsmith/apis/cloudsmith-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudsmith/cloudsmith-api/versions/977ffbd0e8bd/schema)
