List chunks with cursor-based pagination.
Cursor-based pagination is more efficient than offset-based for large datasets:
Args: collection_id: Optional filter by collection content_id: Optional filter by parent content cursor: Cursor from previous response for next page (None for first page) limit: Number of items to return (default: 50, max: 500) include_embedding: Include embedding vectors in response
Returns: ChunksListResponse with chunks, next_cursor, and has_more flag
Examples: First page of all chunks: GET /chunks?limit=50
Next page (using cursor from previous response): GET /chunks?cursor=chunk_xyz123&limit=50
List chunks for a specific collection: GET /chunks?collection_id=col_123&limit=50
Continue pagination for collection: GET /chunks?collection_id=col_123&cursor=chunk_abc456&limit=50
List chunks for specific content: GET /chunks?content_id=content_456&limit=20
List with embeddings: GET /chunks?collection_id=col_123&include_embedding=true&limit=10
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The workspace ID
Filter by collection ID
Filter by content ID
Cursor for pagination (use next_cursor from previous response)
Number of items to return
1 <= x <= 500Include embedding vectors
Successful Response
Response model for listing chunks with cursor-based pagination.