UNPKG

@launchdarkly/mcp-server

Version:

The local [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for [LaunchDarkly](https://launchdarkly.com/) federal and European Union (EU) environments.

35 lines • 1.47 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetMetricRequest = { /** * The project key */ projectKey: string; /** * The metric key */ metricKey: string; /** * A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`. */ expand?: string | undefined; /** * The specific version ID of the metric */ versionId?: string | undefined; }; /** @internal */ export declare const GetMetricRequest$inboundSchema: z.ZodType<GetMetricRequest, z.ZodTypeDef, unknown>; /** @internal */ export type GetMetricRequest$Outbound = { projectKey: string; metricKey: string; expand?: string | undefined; versionId?: string | undefined; }; /** @internal */ export declare const GetMetricRequest$outboundSchema: z.ZodType<GetMetricRequest$Outbound, z.ZodTypeDef, GetMetricRequest>; export declare function getMetricRequestToJSON(getMetricRequest: GetMetricRequest): string; export declare function getMetricRequestFromJSON(jsonString: string): SafeParseResult<GetMetricRequest, SDKValidationError>; //# sourceMappingURL=getmetric.d.ts.map