
Sift — Reasoning Model Landing Page
Landing pages · AI products
Search by name, tag, category or type
Source and install need .
pnpm dlx shadcn@latest add @assembli/api-endpointOne API reference entry, docs-style: method badge, path with its parameters picked out, then path, query and body parameters with types, required, defaults, allowed values and expandable child attributes. Beside it, the request in cURL, JavaScript or Python, generated from the params with your base URL and a tinted key placeholder, plus responses by status. The language choice is remembered.
Other props pass through to the root element.
method*
ApiMethod
path*
string
Path with {param} placeholders, e.g. "/v1/customers/{customer}/invoices".
title
React.ReactNode
description
React.ReactNode
returns
React.ReactNode
What a successful call gives back, shown under the parameters.
baseUrl
string
Default "https://api.example.com"
apiKey
string
Default "YOUR_API_KEY"
Placeholder key written into every example and tinted so readers spot what to replace.
params
{ path?: ApiParam[]; query?: ApiParam[]; body?: ApiParam[] }
examples
Partial<Record<ApiLanguage, string>>
Replace a generated example. {{baseUrl}} and {{apiKey}} are substituted.
responses
ApiResponse[]
Default []
languages
ApiLanguage[]
Default ["curl", "javascript", "python"]
language
ApiLanguage
Controlled language. Uncontrolled, the choice is remembered and shared by every endpoint on the page.
onLanguageChange
(language: ApiLanguage) => void
| Description | |||
|---|---|---|---|
| method* | ApiMethod | – | |
| path* | string | – | Path with |
| title | React.ReactNode | – | |
| description | React.ReactNode | – | |
| returns | React.ReactNode | – | What a successful call gives back, shown under the parameters. |
| baseUrl | string | "https://api.example.com" | |
| apiKey | string | "YOUR_API_KEY" | Placeholder key written into every example and tinted so readers spot what to replace. |
| params | { path?: ApiParam[]; query?: ApiParam[]; body?: ApiParam[] } | – | |
| examples | Partial<Record<ApiLanguage, string>> | – | Replace a generated example. |
| responses | ApiResponse[] | [] | |
| languages | ApiLanguage[] | ["curl", "javascript", "python"] | |
| language | ApiLanguage | – | Controlled language. Uncontrolled, the choice is remembered and shared by every endpoint on the page. |
| onLanguageChange | (language: ApiLanguage) => void | – |

Landing pages · AI products

Sidebars