Skip to main content
Glama
getV1RoutineFolders.ts1.17 kB
/** * Generated by Kubb (https://kubb.dev/). * Do not edit manually. */ import fetch from '@kubb/plugin-client/clients/axios' import type { GetV1RoutineFoldersQueryResponse, GetV1RoutineFoldersQueryParams, GetV1RoutineFoldersHeaderParams, GetV1RoutineFolders400, } from '../types/GetV1RoutineFolders.ts' import type { RequestConfig, ResponseErrorConfig } from '@kubb/plugin-client/clients/axios' function getGetV1RoutineFoldersUrl() { return `/v1/routine_folders` as const } /** * @summary Get a paginated list of routine folders available on the account. * {@link /v1/routine_folders} */ export async function getV1RoutineFolders( headers: GetV1RoutineFoldersHeaderParams, params?: GetV1RoutineFoldersQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}, ) { const { client: request = fetch, ...requestConfig } = config const res = await request<GetV1RoutineFoldersQueryResponse, ResponseErrorConfig<GetV1RoutineFolders400>, unknown>({ method: 'GET', url: getGetV1RoutineFoldersUrl().toString(), params, ...requestConfig, headers: { ...headers, ...requestConfig.headers }, }) return res.data }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrisdoc/hevy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server