Skip to main content
Glama

Gotas Commerce MCP Server

runs.mjs1.78 kB
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../../resource.mjs"; import { isRequestOptions } from "../../../core.mjs"; import * as OutputItemsAPI from "./output-items.mjs"; import { OutputItemListResponsesPage, OutputItems, } from "./output-items.mjs"; import { CursorPage } from "../../../pagination.mjs"; export class Runs extends APIResource { constructor() { super(...arguments); this.outputItems = new OutputItemsAPI.OutputItems(this._client); } /** * Create a new evaluation run. This is the endpoint that will kick off grading. */ create(evalId, body, options) { return this._client.post(`/evals/${evalId}/runs`, { body, ...options }); } /** * Get an evaluation run by ID. */ retrieve(evalId, runId, options) { return this._client.get(`/evals/${evalId}/runs/${runId}`, options); } list(evalId, query = {}, options) { if (isRequestOptions(query)) { return this.list(evalId, {}, query); } return this._client.getAPIList(`/evals/${evalId}/runs`, RunListResponsesPage, { query, ...options }); } /** * Delete an eval run. */ del(evalId, runId, options) { return this._client.delete(`/evals/${evalId}/runs/${runId}`, options); } /** * Cancel an ongoing evaluation run. */ cancel(evalId, runId, options) { return this._client.post(`/evals/${evalId}/runs/${runId}`, options); } } export class RunListResponsesPage extends CursorPage { } Runs.RunListResponsesPage = RunListResponsesPage; Runs.OutputItems = OutputItems; Runs.OutputItemListResponsesPage = OutputItemListResponsesPage; //# sourceMappingURL=runs.mjs.map

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/caiovicentino/mcpGOTAS'

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