Skip to main content
Glama

Squad AI

MetricRelationshipsPayload.ts1.82 kB
/* tslint:disable */ /* eslint-disable */ /** * Squad API * API for managing Squad resources * * The version of the OpenAPI document: 4.0.0 * Contact: help@meetsquad.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime.js'; /** * Request body for managing metric relationships * @export * @interface MetricRelationshipsPayload */ export interface MetricRelationshipsPayload { /** * Array of outcome IDs to associate with the metric * @type {Array<string>} * @memberof MetricRelationshipsPayload */ outcomeIds?: Array<string>; } /** * Check if a given object implements the MetricRelationshipsPayload interface. */ export function instanceOfMetricRelationshipsPayload(value: object): value is MetricRelationshipsPayload { return true; } export function MetricRelationshipsPayloadFromJSON(json: any): MetricRelationshipsPayload { return MetricRelationshipsPayloadFromJSONTyped(json, false); } export function MetricRelationshipsPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricRelationshipsPayload { if (json == null) { return json; } return { 'outcomeIds': json['outcomeIds'] == null ? undefined : json['outcomeIds'], }; } export function MetricRelationshipsPayloadToJSON(json: any): MetricRelationshipsPayload { return MetricRelationshipsPayloadToJSONTyped(json, false); } export function MetricRelationshipsPayloadToJSONTyped(value?: MetricRelationshipsPayload | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'outcomeIds': value['outcomeIds'], }; }

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/the-basilisk-ai/squad-mcp'

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