Skip to content

List snippets

GET
/snippets

Org-scoped. Filter by type, tag, or full-text query; sort by updated_at.

Authorizations

bearer
Type
HTTP (bearer)

Parameters

Query Parameters

cursor

Opaque pagination cursor from a previous response.

Type
string
limit

Page size (default 25, max 100).

Type
integer
Default
25
Maximum
100
type
Type
string
Valid values
"html""sql""json""txt"
tag
Type
string
q

Full-text query.

Type
string

Responses

A page of snippets.

application/json
JSON
{
  
"data": [
  
  
{
  
  
  
"id": "snp_7c4b2e09",
  
  
  
"org_id": "org_8f3a",
  
  
  
"type": "string",
  
  
  
"name": "Refund eligibility check — last 90 days",
  
  
  
"slug": "refund-eligibility-90d",
  
  
  
"category": "SQL queries / Reporting",
  
  
  
"tags": [
  
  
  
  
[
  
  
  
  
  
"stripe",
  
  
  
  
  
"refunds"
  
  
  
  
]
  
  
  
],
  
  
  
"visibility": "string",
  
  
  
"version": 7,
  
  
  
"public_url": "https://qd.sk/s/refund-eligibility-90d",
  
  
  
"body": "string",
  
  
  
"updated_at": "string"
  
  
}
  
],
  
"next_cursor": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

One vocabulary, every door.