Skip to main content
Glama
pagination.ts•1 kB
/** * Generated by orval v7.17.0 🍺 * Do not edit manually. * superglue AI API * API for running superglue AI tools * OpenAPI spec version: 1.0.0 */ import type { PaginationType } from "./paginationType"; /** * Pagination configuration (HTTP/HTTPS only, not applicable to Postgres/FTP) */ export interface Pagination { type: PaginationType; /** Number of items per page. Becomes available as <<(sourceData) => sourceData.limit>> in request templates. */ pageSize?: string; /** JSONPath to extract next page cursor from response body (e.g. "meta.next_cursor" for {meta:{next_cursor:"abc"}}) */ cursorPath?: string; /** JavaScript function to determine when to stop pagination. Format: (response, pageInfo) => boolean - response: Object with {data: ..., headers: ...} - access response body via response.data - pageInfo: Object with {page: number, offset: number, cursor: any, totalFetched: number} - Return true to STOP pagination, false to continue */ stopCondition?: string; }

Latest Blog Posts

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/superglue-ai/superglue'

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