PUBLIC_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
Changes
No recorded changes to this endpoint across all 28 revisions of this API.