---
title: "List Collector Policies"
method: GET
path: "/v1/projects/{project_id}/fleet/collector-policies/"
tags: ["Projects"]
---

# List Collector Policies

`GET /v1/projects/{project_id}/fleet/collector-policies/`

## Request

- Base URL: `https://logfire-api.pydantic.dev/api`
- URL: `https://logfire-api.pydantic.dev/api/v1/projects/{project_id}/fleet/collector-policies/`
- Auth: OAuth 2
  - Authorization code: `api/oauth/authorize`
  - Token URL: `/api/oauth/token` scopes: `project:read_fleet`
- TypeScript: <https://skmtc.dev/pydantic/apis/pydantic-logfire-api/docs/v1/projects/:project_id/fleet/collector-policies/get.ts> (a function with typed inputs; its response is checked against the schema)

List the project's Collector assignments, the policies a host can enroll with.

## Path parameters

- `project_id` string, uuid, required

## Query parameters

- `cursor` string, nullable
- `limit` integer

## Response `200`

Successful Response

- FleetPageCollectorPolicyRead
  - `items` CollectorPolicyRead[], required
    - `id` string, uuid, required
    - `name` string, required
    - `revision` integer, required
    - `created_at` string, date-time, required
  - `next_cursor` string, nullable, required

## Other responses

- `404`: Fleet is not enabled
- `422`: Validation Error
- `429`: Rate limit exceeded

---

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