v5
latestOpenAPI 3.1.02026-08-081,0211,3082.1 MBPUBLIC_SNIPPETS
Get Snippets
List all code snippets with pagination and filtering.
This endpoint is for service users (PUBLIC_TENANT) to retrieve code snippets stored in Weaviate.
get/public/snippets
Query parameters
pageinteger
Page number (1-indexed)
Page number (1-indexed)
page_sizeinteger
Items per page
Items per page
database_typestring nullable
Filter by database type (e.g., clickhouse, postgres)
Filter by database type (e.g., clickhouse, postgres)
tagsstring[] nullable
Filter by tags (multiple allowed)
Filter by tags (multiple allowed)
snippet_typestring nullable
Filter by type (data_definition or sql_example)
Filter by type (data_definition or sql_example)
Response
Successful Response