Policies

List all policies

Retrieve policies created by the authenticated user. Returns policy metadata (not full content). Supports filtering, sorting, and offset pagination.

get/api/v1/policies

Request

  • Base URL: https://policyforge.co
  • URL: https://policyforge.co/api/v1/policies
  • Auth: HTTP bearer

Query parameters

limitinteger

Page size (1–100).

offsetinteger

Number of results to skip.

status'draft' | 'published' | 'archived'

Filter by lifecycle status.

type'privacy_policy' | 'terms_of_service' | 'cookie_policy' | 'refund'

Filter by policy type (same values as POST).

sortBy'createdAt' | 'updatedAt' | 'name'

Sort field.

sortOrder'asc' | 'desc'

Sort direction.

Response

List of policies

totalinteger

Total number of policies matching the query

limitinteger

Page size applied to this query

offsetinteger

Offset applied to this query

Changes

No recorded changes to this operation across all 1 revision of this API.