action configcat_get_setting_value_by_sdkkey { label: "Get value" description: "This endpoint returns the value of a Feature Flag or Setting \nin a specified Environment identified by the SDK key passed in the `X-CONFIGCAT-SDKKEY` header.\n\nThe most important attributes in the response are the `value`, `rolloutRules` and `percentageRules`.\nThe `value` represents what the clients will get when the evaluation requests of our SDKs \nare not matching to any of the defined Targeting or Percentage Rules, or when there are no additional rules to evaluate.\n\nThe `rolloutRules` and `percentageRules` attributes are representing the current \nTargeting and Percentage Rules configuration of the actual Feature Flag or Setting \nin an **ordered** collection, which means the order of the returned rules is matching to the\nevaluation order. You can read more about these rules [here](https://configcat.com/docs/advanced/targeting/)." provider: configcat method: GET path: "/v1/settings/{settingKeyOrId}/value" encoding: json input: { type: "object" properties: { "X-CONFIGCAT-SDKKEY": { type: "string" } settingKeyOrId: { type: "string" } } required: ["settingKeyOrId"] additionalProperties: false } output: { type: "object" properties: { config: { type: "object" properties: { configId: { type: "string" format: "uuid" } description: { type: "string" } name: { type: "string" } order: { type: "integer" format: "int32" } product: { type: "object" properties: { description: { type: "string" } name: { type: "string" } order: { type: "integer" format: "int32" } organization: { type: "object" properties: { name: { type: "string" } organizationId: { type: "string" format: "uuid" } } additionalProperties: false } productId: { type: "string" format: "uuid" } reasonRequired: { type: "boolean" } } additionalProperties: false } } additionalProperties: false } environment: { type: "object" properties: { color: { type: "string" } description: { type: "string" } environmentId: { type: "string" format: "uuid" } name: { type: "string" } order: { type: "integer" format: "int32" } product: { type: "object" additionalProperties: true } reasonRequired: { type: "boolean" } } additionalProperties: false } integrationLinks: { type: "array" items: { type: "object" properties: { description: { type: "string" } integrationLinkType: { type: "string" enum: ["trello", "jira", "monday"] } key: { type: "string" } url: { type: "string" } } additionalProperties: false } } lastUpdaterUserEmail: { type: "string" } lastUpdaterUserFullName: { type: "string" } readOnly: { type: "boolean" } rolloutPercentageItems: { type: "array" description: "The percentage rule collection." items: { type: "object" required: ["percentage"] properties: { percentage: { type: "integer" format: "int64" description: "The percentage value for the rule." } value: { description: "The value to serve when the user falls in the percentage rule. It must respect the setting type." type: "object" } } additionalProperties: false } } rolloutRules: { type: "array" description: "The targeting rule collection." items: { type: "object" properties: { comparator: { type: "string" enum: ["isOneOf", "isNotOneOf", "contains", "doesNotContain", "semVerIsOneOf", "semVerIsNotOneOf", "semVerLess", "semVerLessOrEquals", "semVerGreater", "semVerGreaterOrEquals", "numberEquals", "numberDoesNotEqual", "numberLess", "numberLessOrEquals", "numberGreater", "numberGreaterOrEquals", "sensitiveIsOneOf", "sensitiveIsNotOneOf"] } comparisonAttribute: { type: "string" description: "The user attribute to compare." } comparisonValue: { type: "string" description: "The value to compare against." } segmentComparator: { type: "string" enum: ["isIn", "isNotIn"] } segmentId: { type: "string" format: "uuid" description: "The segment to compare against." } value: { description: "The value to serve when the comparison matches. It must respect the setting type." type: "object" } } additionalProperties: false } } setting: { type: "object" properties: { createdAt: { type: "string" format: "date-time" } creatorEmail: { type: "string" } creatorFullName: { type: "string" } hint: { type: "string" } isWatching: { type: "boolean" } key: { type: "string" } name: { type: "string" } order: { type: "integer" format: "int32" } settingId: { type: "integer" format: "int32" } settingType: { type: "string" enum: ["boolean", "string", "int", "double"] } } additionalProperties: false } settingTags: { type: "array" items: { type: "object" properties: { color: { type: "string" } name: { type: "string" } settingTagId: { type: "integer" format: "int64" } tagId: { type: "integer" format: "int64" } } additionalProperties: false } } updatedAt: { type: "string" format: "date-time" } value: { description: "The value to serve. It must respect the setting type." type: "object" } } additionalProperties: false } }