Skip to main content
Glama

Model Context Protocol Server

getusageop.ts1.24 kB
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { ApiError, ApiError$zodSchema } from "./apierror.js"; import { UsageResponse, UsageResponse$zodSchema } from "./usageresponse.js"; export type GetUsageGlobals = { cloud_name?: string | undefined }; export const GetUsageGlobals$zodSchema: z.ZodType< GetUsageGlobals, z.ZodTypeDef, unknown > = z.object({ cloud_name: z.string().describe("The cloud name of your product environment.") .optional(), }); export type GetUsageRequest = { date?: string | undefined }; export const GetUsageRequest$zodSchema: z.ZodType< GetUsageRequest, z.ZodTypeDef, unknown > = z.object({ date: z.string().date().optional(), }); export type GetUsageResponse = { ContentType: string; StatusCode: number; RawResponse: Response; usage_response?: UsageResponse | undefined; api_error?: ApiError | undefined; }; export const GetUsageResponse$zodSchema: z.ZodType< GetUsageResponse, z.ZodTypeDef, unknown > = z.object({ ContentType: z.string(), RawResponse: z.instanceof(Response), StatusCode: z.number().int(), api_error: ApiError$zodSchema.optional(), usage_response: UsageResponse$zodSchema.optional(), });

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/kanwardeep007/random-mcp-server'

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