Paginated list of content documents for the project. Filter by mode (CREATE or OPTIMIZE) and/or status (PENDING, IN_PROGRESS, COMPLETED, FAILED, STOPPED) to narrow results. Each row includes status, mode, title, linked prompt id/text, and timestamps but omits the full markdown content body — use GET /content/:id for the complete document. Pagination uses size (page length) with total/page/totalPages in the response, matching other v2 list endpoints.
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Page number (1-based).
x >= 1Page size (max 100); matches other v2 list endpoints.
1 <= x <= 100Sort field.
createdAt, updatedAt Sort direction.
asc, desc Filter by CREATE vs OPTIMIZE.
CREATE, OPTIMIZE Filter by generation status.
PENDING, IN_PROGRESS, COMPLETED, FAILED, STOPPED Default Response
Documents for the current page (no full markdown body).
Total documents matching filters (all pages).
x >= 0x >= 1Page length (same as request size).
x >= 1Ceil(total / size).
x >= 0