PUBLIC_SNIPPETS

Update Snippet Endpoint

Update an existing snippet in Weaviate.

This endpoint updates a specific snippet's properties. Only non-null fields in the request will be updated.

patch/public/snippets/{snippet_id}

Request

  • Base URL: https://api.myaltimate.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.myaltimate.com/public/snippets/{snippet_id}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

snippet_idstring required

Request body

titlestring nullable

Title or name of the snippet

descriptionstring nullable

Description of what the snippet does

database_typestring nullable

Database type

tagsstring[] nullable

Capability tags

full_contentobject nullable

Full snippet content

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

Changes

No recorded changes to this operation across all 82 revisions of this API.