Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List and fetch Cesto baskets.
cesto.products
const products = await cesto.products.list(); // filter by category const defi = await cesto.products.list({ category: 'defi' });
includeBacktest
backtest
null
const products = await cesto.products.list({ includeBacktest: true }); products[0].backtest; // performance metrics, or null
const product = await cesto.products.get({ slug: 'my-basket-slug' }); product.id; // product id product.versionId; // current version id product.definition; // the basket's workflow definition
const detailed = await cesto.products.get({ slug: 'my-basket-slug', includeBacktestChart: true, chartTimeRange: '1y', // '7d' | '1m' | '3m' | '6m' | '1y' | 'all', default '1y' }); detailed.backtestChart; // chart data, or null on failure
1y