---
title: "List Policies"
method: GET
path: "/v1/policies/"
tags: ["Agent Environment", "policies"]
---

# List Policies

`GET /v1/policies/`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/vijilai/apis/vijil-console-api-combined/docs/v1/policies/get.ts> (a function with typed inputs; its response is checked against the schema)

List policies with optional filters and paging.

## Query parameters

- `category` 'privacy' | 'ethics' | 'security' | 'compliance' | 'operational' | 'brand' | 'custom': Category of policy document.
- `status` 'draft' | 'active' | 'archived': Status of a policy document.
- `search` string, nullable
- `limit` integer: Maximum number of results (default 10)
- `offset` integer: Number of results to skip for paging

## Response `200`

Successful Response

- PolicyListResponse: Response model for list endpoints with pagination. - results: Items in the current page (length may be less than limit on last page). - total: Total number of items across all pages (before pagination).
  - `results` Policy[], required
    - `id` string, uuid, required
    - `team_id` string, uuid, required
    - `name` string, required
    - `description` string, nullable
    - `category` 'privacy' | 'ethics' | 'security' | 'compliance' | 'operational' | 'brand' | 'custom', required: Category of policy document.
    - `status` 'draft' | 'active' | 'archived': Status of a policy document.
    - `source_text` string, nullable
    - `file_path` string, nullable
    - `file_name` string, nullable
    - `file_type` string, nullable
    - `file_size_bytes` integer, nullable
    - `converted_file_path` string, nullable
    - `is_preset` boolean
    - `preset_source` string, nullable
    - `tags` string[], nullable
    - `created_at` integer, required
    - `updated_at` integer, required
    - `created_by` string, uuid, required
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/vijilai/apis/vijil-console-api-combined.md) - [All operations](https://skmtc.dev/vijilai/apis/vijil-console-api-combined/llms.txt) - [OpenAPI document](https://skmtc.dev/vijilai/apis/vijil-console-api-combined/revisions/a8b2ee2b2d06?raw)
