List content
Content
List content
Lists content documents for the project with pagination. Response rows are summary fields only; use GET /content/:id for the full document.
GET
List content
Authorizations
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Query Parameters
Page number (1-based).
Required range:
x >= 1Page size (max 100); matches other v2 list endpoints.
Required range:
1 <= x <= 100Sort field.
Available options:
createdAt, updatedAt Sort direction.
Available options:
asc, desc Filter by CREATE vs OPTIMIZE.
Available options:
CREATE, OPTIMIZE Filter by generation status.
Available options:
DRAFT, PENDING, IN_PROGRESS, COMPLETED, FAILED, STOPPED Response
Default Response
Documents for the current page (no full markdown body).
Total documents matching filters (all pages).
Required range:
x >= 0Required range:
x >= 1Page length (same as request size).
Required range:
x >= 1Ceil(total / size).
Required range:
x >= 0