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

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
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Query parameters

pageinteger

Page number (1-indexed)

page_sizeinteger

Items per page

database_typestring nullable

Filter by database type (e.g., clickhouse, postgres)

tagsstring[] nullable

Filter by tags (multiple allowed)

snippet_typestring nullable

Filter by type (data_definition or sql_example)

Response

Successful Response

pageinteger required

Current page number

page_sizeinteger required

Number of items per page

has_moreboolean required

Whether there are more pages

totalinteger required

Total number of snippets matching filters

Changes

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