Skip to main content
Glama

LaunchDarkly MCP Server

Official
by launchdarkly
aiconfigtargeting.md297 kB
# AIConfigTargeting ## Example Usage ```typescript import { AIConfigTargeting } from "@launchdarkly/mcp-server/models/components"; let value: AIConfigTargeting = { createdAt: 0, defaults: { onVariation: 6, offVariation: 1, }, environments: { "key": { contextTargets: [ { contextKind: "contextKind", values: [ "values", "values", ], variation: 5, }, { contextKind: "contextKind", values: [ "values", "values", ], variation: 5, }, ], enabled: true, fallthrough: { variation: 5, rollout: { bucketBy: "bucketBy", contextKind: "contextKind", experimentAllocation: { canReshuffle: true, defaultVariation: 2, type: "type", }, seed: 7, variations: [ { untracked: true, variation: 9, weight: 3, }, { untracked: true, variation: 9, weight: 3, }, ], }, }, lastModified: 2, offVariation: 4, rules: [ { clauses: [ { attribute: "attribute", id: "id", negate: true, op: "op", values: [ "", "", ], }, { attribute: "attribute", id: "id", negate: true, op: "op", values: [ "", "", ], }, ], trackEvents: true, }, { clauses: [ { attribute: "attribute", id: "id", negate: true, op: "op", values: [ "", "", ], }, { attribute: "attribute", id: "id", negate: true, op: "op", values: [ "", "", ], }, ], trackEvents: true, }, ], targets: [ { contextKind: "contextKind", values: [ "values", "values", ], variation: 5, }, { contextKind: "contextKind", values: [ "values", "values", ], variation: 5, }, ], trackEvents: true, trackEventsFallthrough: true, environmentName: "_environmentName", version: 7, }, }, experiments: { baselineIdx: 1, items: [ { metricKey: "my-metric", metric: { experimentCount: 0, metricGroupCount: 0, guardedRolloutCount: 0, id: "5902deadbeef667524a01290", versionId: "version-id-123abc", key: "metric-key-123abc", name: "My metric", kind: "custom", attachedFlagCount: 0, links: { "parent": { href: "/api/v2/metrics/my-project", type: "application/json", }, "self": { href: "/api/v2/metrics/my-project/my-metric", type: "application/json", }, }, site: { href: "href", type: "type", }, access: { denied: [ { action: "action", reason: { resources: [ "proj/*:env/*;qa_*:/flag/*", ], notResources: [ "notResources", "notResources", ], actions: [ "*", ], notActions: [ "<value 1>", "<value 2>", ], effect: "allow", roleName: "role_name", }, }, { action: "action", reason: { resources: [ "proj/*:env/*;qa_*:/flag/*", ], notResources: [ "notResources", "notResources", ], actions: [ "*", ], notActions: [ "<value 1>", "<value 2>", ], effect: "allow", roleName: "role_name", }, }, ], allowed: [ { action: "action", reason: { resources: [ "proj/*:env/*;qa_*:/flag/*", ], notResources: [ "notResources", "notResources", ], actions: [ "*", ], notActions: [ "<value 1>", "<value 2>", ], effect: "allow", roleName: "role_name", }, }, { action: "action", reason: { resources: [ "proj/*:env/*;qa_*:/flag/*", ], notResources: [ "notResources", "notResources", ], actions: [ "*", ], notActions: [ "<value 1>", "<value 2>", ], effect: "allow", roleName: "role_name", }, }, ], }, tags: [], creationDate: 1, lastModified: { date: new Date("2021-08-05T19:46:31.148Z"), }, maintainerId: "569fdeadbeef1644facecafe", maintainer: { links: { "self": { href: "/api/v2/members/569f183514f4432160000007", type: "application/json", }, }, id: "569f183514f4432160000007", firstName: "Ariel", lastName: "Flores", role: "admin", email: "ariel@acme.com", }, description: "description", category: "Error monitoring", isNumeric: true, successCriteria: "HigherThanBaseline", unit: "unit", eventKey: "Order placed", randomizationUnits: [ "user", ], filters: { type: "contextAttribute", attribute: "country", op: "op", values: [ "JP", ], contextKind: "user", negate: false, }, unitAggregationType: "average", analysisType: "mean", percentileValue: 95, eventDefault: { disabled: true, value: 0, }, }, environments: [ "production", "test", "my-environment", ], environmentSettings: { "key": { startDate: 1, stopDate: 6, enabledPeriods: [ { startDate: 7, stopDate: 1, }, { startDate: 7, stopDate: 1, }, ], }, }, }, { metricKey: "my-metric", metric: { experimentCount: 0, metricGroupCount: 0, guardedRolloutCount: 0, id: "5902deadbeef667524a01290", versionId: "version-id-123abc", key: "metric-key-123abc", name: "My metric", kind: "custom", attachedFlagCount: 0, links: { "parent": { href: "/api/v2/metrics/my-project", type: "application/json", }, "self": { href: "/api/v2/metrics/my-project/my-metric", type: "application/json", }, }, site: { href: "href", type: "type", }, access: { denied: [ { action: "action", reason: { resources: [ "proj/*:env/*;qa_*:/flag/*", ], notResources: [ "notResources", "notResources", ], actions: [ "*", ], notActions: [ "<value 1>", "<value 2>", ], effect: "allow", roleName: "role_name", }, }, { action: "action", reason: { resources: [ "proj/*:env/*;qa_*:/flag/*", ], notResources: [ "notResources", "notResources", ], actions: [ "*", ], notActions: [ "<value 1>", "<value 2>", ], effect: "allow", roleName: "role_name", }, }, ], allowed: [ { action: "action", reason: { resources: [ "proj/*:env/*;qa_*:/flag/*", ], notResources: [ "notResources", "notResources", ], actions: [ "*", ], notActions: [ "<value 1>", "<value 2>", ], effect: "allow", roleName: "role_name", }, }, { action: "action", reason: { resources: [ "proj/*:env/*;qa_*:/flag/*", ], notResources: [ "notResources", "notResources", ], actions: [ "*", ], notActions: [ "<value 1>", "<value 2>", ], effect: "allow", roleName: "role_name", }, }, ], }, tags: [], creationDate: 1, lastModified: { date: new Date("2021-08-05T19:46:31.148Z"), }, maintainerId: "569fdeadbeef1644facecafe", maintainer: { links: { "self": { href: "/api/v2/members/569f183514f4432160000007", type: "application/json", }, }, id: "569f183514f4432160000007", firstName: "Ariel", lastName: "Flores", role: "admin", email: "ariel@acme.com", }, description: "description", category: "Error monitoring", isNumeric: true, successCriteria: "HigherThanBaseline", unit: "unit", eventKey: "Order placed", randomizationUnits: [ "user", ], filters: { type: "contextAttribute", attribute: "country", op: "op", values: [ "JP", ], contextKind: "user", negate: false, }, unitAggregationType: "average", analysisType: "mean", percentileValue: 95, eventDefault: { disabled: true, value: 0, }, }, environments: [ "production", "test", "my-environment", ], environmentSettings: { "key": { startDate: 1, stopDate: 6, enabledPeriods: [ { startDate: 7, stopDate: 1, }, { startDate: 7, stopDate: 1, }, ], }, }, }, ], }, key: "key", name: "name", tags: [ "tags", "tags", ], variations: [ { id: "_id", description: "description", name: "name", value: {}, }, { id: "_id", description: "description", name: "name", value: false, }, ], version: 4, }; ``` ## Fields | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `createdAt` | *number* | :heavy_check_mark: | Unix timestamp in milliseconds | | | `defaults` | [components.AIConfigTargetingDefaults](../../models/components/aiconfigtargetingdefaults.md) | :heavy_minus_sign: | N/A | {<br/>"onVariation": 6,<br/>"offVariation": 1<br/>} | | `environments` | Record<string, [components.AIConfigTargetingEnvironment](../../models/components/aiconfigtargetingenvironment.md)> | :heavy_check_mark: | N/A | | | `experiments` | [components.AiConfigsExperimentInfoRep](../../models/components/aiconfigsexperimentinforep.md) | :heavy_check_mark: | N/A | {<br/>"baselineIdx": 1,<br/>"items": [<br/>{<br/>"metricKey": "my-metric",<br/>"environments": [<br/>"production",<br/>"test",<br/>"my-environment"<br/>],<br/>"_environmentSettings": {<br/>"key": {<br/>"startDate": 1,<br/>"stopDate": 6,<br/>"enabledPeriods": [<br/>{<br/>"startDate": 7,<br/>"stopDate": 1<br/>},<br/>{<br/>"startDate": 7,<br/>"stopDate": 1<br/>}<br/>]<br/>}<br/>},<br/>"_metric": {<br/>"_maintainer": {<br/>"firstName": "Ariel",<br/>"lastName": "Flores",<br/>"role": "admin",<br/>"_links": {<br/>"self": {<br/>"href": "/api/v2/members/569f183514f4432160000007",<br/>"type": "application/json"<br/>}<br/>},<br/>"_id": "569f183514f4432160000007",<br/>"email": "ariel@acme.com"<br/>},<br/>"_links": {<br/>"parent": {<br/>"href": "/api/v2/metrics/my-project",<br/>"type": "application/json"<br/>},<br/>"self": {<br/>"href": "/api/v2/metrics/my-project/my-metric",<br/>"type": "application/json"<br/>}<br/>},<br/>"description": "description",<br/>"randomizationUnits": [<br/>"user"<br/>],<br/>"guardedRolloutCount": 0,<br/>"_access": {<br/>"allowed": [<br/>{<br/>"reason": {<br/>"role_name": "role_name",<br/>"notActions": [<br/>null,<br/>null<br/>],<br/>"notResources": [<br/>"notResources",<br/>"notResources"<br/>],<br/>"effect": "allow",<br/>"resources": [<br/>"proj/*:env/*;qa_*:/flag/*"<br/>],<br/>"actions": [<br/>"*"<br/>]<br/>},<br/>"action": "action"<br/>},<br/>{<br/>"reason": {<br/>"role_name": "role_name",<br/>"notActions": [<br/>null,<br/>null<br/>],<br/>"notResources": [<br/>"notResources",<br/>"notResources"<br/>],<br/>"effect": "allow",<br/>"resources": [<br/>"proj/*:env/*;qa_*:/flag/*"<br/>],<br/>"actions": [<br/>"*"<br/>]<br/>},<br/>"action": "action"<br/>}<br/>],<br/>"denied": [<br/>{<br/>"reason": {<br/>"role_name": "role_name",<br/>"notActions": [<br/>null,<br/>null<br/>],<br/>"notResources": [<br/>"notResources",<br/>"notResources"<br/>],<br/>"effect": "allow",<br/>"resources": [<br/>"proj/*:env/*;qa_*:/flag/*"<br/>],<br/>"actions": [<br/>"*"<br/>]<br/>},<br/>"action": "action"<br/>},<br/>{<br/>"reason": {<br/>"role_name": "role_name",<br/>"notActions": [<br/>null,<br/>null<br/>],<br/>"notResources": [<br/>"notResources",<br/>"notResources"<br/>],<br/>"effect": "allow",<br/>"resources": [<br/>"proj/*:env/*;qa_*:/flag/*"<br/>],<br/>"actions": [<br/>"*"<br/>]<br/>},<br/>"action": "action"<br/>}<br/>]<br/>},<br/>"_site": {<br/>"href": "href",<br/>"type": "type"<br/>},<br/>"key": "metric-key-123abc",<br/>"percentileValue": 95,<br/>"kind": "custom",<br/>"_attachedFlagCount": 0,<br/>"metricGroupCount": 0,<br/>"filters": {<br/>"op": "op",<br/>"negate": false,<br/>"values": [<br/>"JP"<br/>],<br/>"contextKind": "user",<br/>"attribute": "country",<br/>"type": "contextAttribute"<br/>},<br/>"_creationDate": 1,<br/>"tags": [],<br/>"eventDefault": {<br/>"disabled": true,<br/>"value": 0<br/>},<br/>"maintainerId": "569fdeadbeef1644facecafe",<br/>"unit": "unit",<br/>"successCriteria": "HigherThanBaseline",<br/>"_versionId": "version-id-123abc",<br/>"isNumeric": true,<br/>"eventKey": "Order placed",<br/>"experimentCount": 0,<br/>"name": "My metric",<br/>"_id": "5902deadbeef667524a01290",<br/>"lastModified": {<br/>"date": "2021-08-05T19:46:31.148Z"<br/>},<br/>"unitAggregationType": "average",<br/>"category": "Error monitoring",<br/>"analysisType": "mean"<br/>}<br/>},<br/>{<br/>"metricKey": "my-metric",<br/>"environments": [<br/>"production",<br/>"test",<br/>"my-environment"<br/>],<br/>"_environmentSettings": {<br/>"key": {<br/>"startDate": 1,<br/>"stopDate": 6,<br/>"enabledPeriods": [<br/>{<br/>"startDate": 7,<br/>"stopDate": 1<br/>},<br/>{<br/>"startDate": 7,<br/>"stopDate": 1<br/>}<br/>]<br/>}<br/>},<br/>"_metric": {<br/>"_maintainer": {<br/>"firstName": "Ariel",<br/>"lastName": "Flores",<br/>"role": "admin",<br/>"_links": {<br/>"self": {<br/>"href": "/api/v2/members/569f183514f4432160000007",<br/>"type": "application/json"<br/>}<br/>},<br/>"_id": "569f183514f4432160000007",<br/>"email": "ariel@acme.com"<br/>},<br/>"_links": {<br/>"parent": {<br/>"href": "/api/v2/metrics/my-project",<br/>"type": "application/json"<br/>},<br/>"self": {<br/>"href": "/api/v2/metrics/my-project/my-metric",<br/>"type": "application/json"<br/>}<br/>},<br/>"description": "description",<br/>"randomizationUnits": [<br/>"user"<br/>],<br/>"guardedRolloutCount": 0,<br/>"_access": {<br/>"allowed": [<br/>{<br/>"reason": {<br/>"role_name": "role_name",<br/>"notActions": [<br/>null,<br/>null<br/>],<br/>"notResources": [<br/>"notResources",<br/>"notResources"<br/>],<br/>"effect": "allow",<br/>"resources": [<br/>"proj/*:env/*;qa_*:/flag/*"<br/>],<br/>"actions": [<br/>"*"<br/>]<br/>},<br/>"action": "action"<br/>},<br/>{<br/>"reason": {<br/>"role_name": "role_name",<br/>"notActions": [<br/>null,<br/>null<br/>],<br/>"notResources": [<br/>"notResources",<br/>"notResources"<br/>],<br/>"effect": "allow",<br/>"resources": [<br/>"proj/*:env/*;qa_*:/flag/*"<br/>],<br/>"actions": [<br/>"*"<br/>]<br/>},<br/>"action": "action"<br/>}<br/>],<br/>"denied": [<br/>{<br/>"reason": {<br/>"role_name": "role_name",<br/>"notActions": [<br/>null,<br/>null<br/>],<br/>"notResources": [<br/>"notResources",<br/>"notResources"<br/>],<br/>"effect": "allow",<br/>"resources": [<br/>"proj/*:env/*;qa_*:/flag/*"<br/>],<br/>"actions": [<br/>"*"<br/>]<br/>},<br/>"action": "action"<br/>},<br/>{<br/>"reason": {<br/>"role_name": "role_name",<br/>"notActions": [<br/>null,<br/>null<br/>],<br/>"notResources": [<br/>"notResources",<br/>"notResources"<br/>],<br/>"effect": "allow",<br/>"resources": [<br/>"proj/*:env/*;qa_*:/flag/*"<br/>],<br/>"actions": [<br/>"*"<br/>]<br/>},<br/>"action": "action"<br/>}<br/>]<br/>},<br/>"_site": {<br/>"href": "href",<br/>"type": "type"<br/>},<br/>"key": "metric-key-123abc",<br/>"percentileValue": 95,<br/>"kind": "custom",<br/>"_attachedFlagCount": 0,<br/>"metricGroupCount": 0,<br/>"filters": {<br/>"op": "op",<br/>"negate": false,<br/>"values": [<br/>"JP"<br/>],<br/>"contextKind": "user",<br/>"attribute": "country",<br/>"type": "contextAttribute"<br/>},<br/>"_creationDate": 1,<br/>"tags": [],<br/>"eventDefault": {<br/>"disabled": true,<br/>"value": 0<br/>},<br/>"maintainerId": "569fdeadbeef1644facecafe",<br/>"unit": "unit",<br/>"successCriteria": "HigherThanBaseline",<br/>"_versionId": "version-id-123abc",<br/>"isNumeric": true,<br/>"eventKey": "Order placed",<br/>"experimentCount": 0,<br/>"name": "My metric",<br/>"_id": "5902deadbeef667524a01290",<br/>"lastModified": {<br/>"date": "2021-08-05T19:46:31.148Z"<br/>},<br/>"unitAggregationType": "average",<br/>"category": "Error monitoring",<br/>"analysisType": "mean"<br/>}<br/>}<br/>]<br/>} | | `key` | *string* | :heavy_check_mark: | N/A | | | `name` | *string* | :heavy_check_mark: | N/A | | | `tags` | *string*[] | :heavy_check_mark: | N/A | | | `variations` | [components.AIConfigTargetingVariation](../../models/components/aiconfigtargetingvariation.md)[] | :heavy_check_mark: | N/A | | | `version` | *number* | :heavy_check_mark: | N/A | |

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

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