v5

latestOpenAPI 3.1.02026-08-081,0211,3082.1 MB
PUBLIC_SNIPPETS

Get Snippet

Get a single snippet by its Weaviate UUID.

This endpoint retrieves a specific snippet from either the DataDefinition or SqlExamples collection.

get/public/snippets/{snippet_id}

Path parameters

snippet_idstring required

Response

Successful Response

idstring required

Unique identifier for the snippet

titlestring required

Title or name of the snippet

descriptionstring required

Description of what the snippet does

database_typestring required

Database type (e.g., clickhouse, postgres)

tagsstring[]

Capability tags

typestring required

Snippet type: data_definition or sql_example

full_contentobject

Full snippet content