Amazon Systems Manager Systems Manager Experimentdefinitions API

The Systems Manager Experimentdefinitions API from Amazon Systems Manager — 3 operation(s) for systems manager experimentdefinitions.

GitHub OpenAPI

Operations 5

POST /applications/{ApplicationIdentifier}/experimentdefinitions Create Experiment Definition #
DELETE /applications/{ApplicationIdentifier}/experimentdefinitions/{ExperimentDefinitionIdentifier} Delete Experiment Definition #
GET /applications/{ApplicationIdentifier}/experimentdefinitions/{ExperimentDefinitionIdentifier} Get Experiment Definition #
PATCH /applications/{ApplicationIdentifier}/experimentdefinitions/{ExperimentDefinitionIdentifier} Update Experiment Definition #
GET /experimentdefinitions List Experiment Definitions #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-systems-manager:amazon-systems-manager-experimentdefinitions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-systems-manager-experimentdefinitions-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Simple Systems Manager (SSM) Experimentdefinitions API
  version: '2014-11-06'
  description: Generated from AWS's published Smithy model for Amazon Simple Systems Manager (SSM). 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://appconfig.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /applications/{ApplicationIdentifier}/experimentdefinitions:
    post:
      operationId: CreateExperimentDefinition
      summary: Create Experiment Definition
      description: Creates an experiment definition in AppConfig. An experiment definition describes the purpose, scope, and
        operational configuration of an experiment, including the target audience, feature flag, and treatment configurations.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExperimentDefinition'
              example:
                ApplicationId: 339ohji
                AudienceRule: (eq $country "US")
                ConfigurationProfileId: ur8hx2f
                Control:
                  FlagValue:
                    Enabled: false
                  Key: c
                  Weight: 50.0
                CreatedAt: '2026-06-16T17:54:55.847Z'
                EnvironmentId: 54j1r29
                FlagKey: my-feature-flag
                Id: bsxyd7k
                Name: Example-Experiment-Definition
                Status: IDLE
                Treatments:
                - FlagValue:
                    Enabled: true
                  Key: t1
                  Weight: 50.0
                UpdatedAt: '2026-06-16T17:54:55.847Z'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppconfigInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppconfigResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppconfigServiceQuotaExceededException'
      parameters:
      - name: ApplicationIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The application ID or name.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Name:
                  type: string
                  description: A name for the experiment definition.
                ConfigurationProfileIdentifier:
                  type: string
                  description: The configuration profile ID or name that stores the feature flag.
                EnvironmentIdentifier:
                  type: string
                  description: The environment ID or name where the experiment will run.
                FlagKey:
                  type: string
                  description: The key of the existing feature flag to use with the experiment.
                Treatments:
                  type: array
                  items:
                    $ref: '#/components/schemas/TreatmentInput'
                  description: A list of treatments to evaluate during the experiment. Each treatment defines a distinct variation
                    compared to the control.
                Control:
                  $ref: '#/components/schemas/TreatmentInput'
                AudienceRule:
                  type: string
                  description: A rule that defines which users are eligible to be assigned to treatments during the experiment.
                Hypothesis:
                  type: string
                  description: A description of the goal or hypothesis the experiment is designed to validate.
                AudienceDescription:
                  type: string
                  description: A description of the intended audience for the experiment.
                LaunchCriteria:
                  type: string
                  description: Information about the conditions under which you would launch the winning treatment.
                Tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: The tags to assign to the experiment definition. Tags help organize and categorize your AppConfig
                    resources.
              required:
              - Name
              - ConfigurationProfileIdentifier
              - EnvironmentIdentifier
              - FlagKey
              - Treatments
              - Control
              - AudienceRule
            example:
              ApplicationIdentifier: 339ohji
              ConfigurationProfileIdentifier: ur8hx2f
              EnvironmentIdentifier: 54j1r29
              Name: Example-Experiment-Definition
              FlagKey: my-feature-flag
              Treatments:
              - Weight: 50
                FlagValue:
                  Enabled: true
              Control:
                Weight: 50
                FlagValue:
                  Enabled: false
              AudienceRule: (eq $country "US")
      tags:
      - Experimentdefinitions
  /applications/{ApplicationIdentifier}/experimentdefinitions/{ExperimentDefinitionIdentifier}:
    delete:
      operationId: DeleteExperimentDefinition
      summary: Delete Experiment Definition
      description: Deletes an experiment definition. You can archive the definition to hide it from the active list while
        preserving it for future reference, or permanently delete it along with all associated run history.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppconfigInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppconfigResourceNotFoundException'
      parameters:
      - name: ApplicationIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The application ID or name.
      - name: ExperimentDefinitionIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The experiment definition ID or name.
      - name: delete_type
        in: query
        schema:
          type: string
          enum:
          - ARCHIVE
          - DESTROY
        description: The type of deletion to perform. Valid values include archive (hide but preserve) and permanent (delete
          permanently).
      tags:
      - Experimentdefinitions
    get:
      operationId: GetExperimentDefinition
      summary: Get Experiment Definition
      description: Retrieves information about an experiment definition.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExperimentDefinition'
              example:
                ApplicationId: 339ohji
                AudienceRule: (eq $country "US")
                ConfigurationProfileId: ur8hx2f
                Control:
                  FlagValue:
                    Enabled: false
                  Key: c
                  Weight: 50.0
                CreatedAt: '2026-06-16T17:54:55.847Z'
                EnvironmentId: 54j1r29
                FlagKey: my-feature-flag
                Id: bsxyd7k
                Name: Example-Experiment-Definition
                Status: IDLE
                Treatments:
                - FlagValue:
                    Enabled: true
                  Key: t1
                  Weight: 50.0
                UpdatedAt: '2026-06-16T17:57:36Z'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppconfigInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppconfigResourceNotFoundException'
      parameters:
      - name: ApplicationIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The application ID or name.
      - name: ExperimentDefinitionIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The experiment definition ID or name.
      tags:
      - Experimentdefinitions
    patch:
      operationId: UpdateExperimentDefinition
      summary: Update Experiment Definition
      description: Updates an experiment definition. You can update treatments, the control, audience rules, and other properties.
        You cannot update an experiment definition while an experiment run is active.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExperimentDefinition'
              example:
                ApplicationId: 339ohji
                AudienceRule: (eq $country "US")
                ConfigurationProfileId: ur8hx2f
                Control:
                  FlagValue:
                    Enabled: false
                  Key: c
                  Weight: 50.0
                CreatedAt: '2026-06-16T17:54:55.847Z'
                EnvironmentId: 54j1r29
                FlagKey: my-feature-flag
                Hypothesis: Enabling the feature will increase conversion by 10%
                Id: bsxyd7k
                Name: Example-Experiment-Definition
                Status: IDLE
                Treatments:
                - FlagValue:
                    Enabled: true
                  Key: t1
                  Weight: 50.0
                UpdatedAt: '2026-06-16T18:04:33.632Z'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppconfigInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppconfigResourceNotFoundException'
      parameters:
      - name: ApplicationIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The application ID or name.
      - name: ExperimentDefinitionIdentifier
        in: path
        required: true
        schema:
          type: string
        description: The experiment definition ID or name.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Treatments:
                  type: array
                  items:
                    $ref: '#/components/schemas/TreatmentInput'
                  description: The updated list of treatments to evaluate during the experiment. Each treatment defines a
                    distinct variation compared to the control.
                Control:
                  $ref: '#/components/schemas/TreatmentInput'
                Hypothesis:
                  type: string
                  description: An updated hypothesis.
                AudienceRule:
                  type: string
                  description: An updated audience rule.
                AudienceDescription:
                  type: string
                  description: An updated audience description.
                LaunchCriteria:
                  type: string
                  description: Updated launch criteria.
            example:
              ApplicationIdentifier: 339ohji
              ExperimentDefinitionIdentifier: bsxyd7k
              Hypothesis: Enabling the feature will increase conversion by 10%
              AudienceRule: (eq $country "US")
      tags:
      - Experimentdefinitions
  /experimentdefinitions:
    get:
      operationId: ListExperimentDefinitions
      summary: List Experiment Definitions
      description: Lists the experiment definitions for an account. You can filter results by application, configuration profile,
        environment, or status.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExperimentDefinitions'
              example:
                Items:
                - ApplicationId: 339ohji
                  ConfigurationProfileId: ur8hx2f
                  CreatedAt: '2026-06-16T17:54:55.847Z'
                  EnvironmentId: 54j1r29
                  FlagKey: my-feature-flag
                  Id: bsxyd7k
                  Name: Example-Experiment-Definition
                  Status: IDLE
                  UpdatedAt: '2026-06-16T17:57:36Z'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppconfigInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppconfigResourceNotFoundException'
      parameters:
      - name: application_identifier
        in: query
        schema:
          type: string
        description: The application ID or name to filter results.
      - name: configuration_profile_identifier
        in: query
        schema:
          type: string
        description: The configuration profile ID or name to filter results.
      - name: environment_identifier
        in: query
        schema:
          type: string
        description: The environment ID or name to filter results.
      - name: status
        in: query
        schema:
          type: string
          enum:
          - ACTIVE
          - IDLE
          - ARCHIVED
        description: A filter for the experiment definition status.
      - name: max_results
        in: query
        schema:
          type: integer
        description: The maximum number of items to return for this call.
      - name: next_token
        in: query
        schema:
          type: string
        description: A token to start the list from a previously truncated response.
      tags:
      - Experimentdefinitions
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: appconfig
  schemas:
    AppconfigInternalServerException:
      type: object
      properties:
        Message:
          type: string
    AppconfigResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
        ResourceName:
          type: string
    AppconfigServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
    AttributeValue:
      type: object
      properties:
        StringValue:
          type: string
          description: A string value for the attribute.
        NumberValue:
          type: number
          description: A numeric value for the attribute.
        BooleanValue:
          type: boolean
          description: A Boolean value for the attribute.
        StringArray:
          type: array
          items:
            type: string
          description: An array of string values for the attribute.
        NumberArray:
          type: array
          items:
            type: number
          description: An array of numeric values for the attribute.
      description: Exactly one member is set.
    BadRequestDetails:
      type: object
      properties:
        InvalidConfiguration:
          type: array
          items:
            $ref: '#/components/schemas/InvalidConfigurationDetail'
          description: Detailed information about the bad request exception error when creating a hosted configuration version.
      description: Exactly one member is set.
    BadRequestException:
      type: object
      properties:
        Message:
          type: string
        Reason:
          type: string
          enum:
          - InvalidConfiguration
        Details:
          $ref: '#/components/schemas/BadRequestDetails'
    ConflictException:
      type: object
      properties:
        Message:
          type: string
    ExperimentDefinition:
      type: object
      properties:
        ApplicationId:
          type: string
          description: The application ID.
        Id:
          type: string
          description: The experiment definition ID.
        Name:
          type: string
          description: The name of the experiment definition.
        Hypothesis:
          type: string
          description: The hypothesis that the experiment is designed to validate.
        Status:
          type: string
          enum:
          - ACTIVE
          - IDLE
          - ARCHIVED
          description: 'The current status of the experiment definition. Valid values: ACTIVE, IDLE, ARCHIVED.'
        ConfigurationProfileId:
          type: string
          description: The configuration profile ID associated with the experiment.
        EnvironmentId:
          type: string
          description: The environment ID where the experiment runs.
        FlagKey:
          type: string
          description: The key of the feature flag used by the experiment.
        AudienceRule:
          type: string
          description: The rule that defines which users are eligible to be assigned to treatments.
        AudienceDescription:
          type: string
          description: A description of the intended audience for the experiment.
        LaunchCriteria:
          type: string
          description: The conditions under which the winning treatment should be launched.
        Treatments:
          type: array
          items:
            $ref: '#/components/schemas/Treatment'
          description: The list of treatments defined for the experiment.
        Control:
          $ref: '#/components/schemas/Treatment'
        CreatedAt:
          type: string
          format: date-time
          description: The date and time the experiment definition was created, in ISO 8601 format.
        UpdatedAt:
          type: string
          format: date-time
          description: The date and time the experiment definition was last updated, in ISO 8601 format.
        KmsKeyIdentifier:
          type: string
          description: The Amazon Resource Name (ARN) of the KMS key used to encrypt experiment data.
    ExperimentDefinitionSummary:
      type: object
      properties:
        ApplicationId:
          type: string
          description: The application ID.
        Id:
          type: string
          description: The experiment definition ID.
        Name:
          type: string
          description: The name of the experiment definition.
        Hypothesis:
          type: string
          description: The hypothesis that the experiment is designed to validate.
        Status:
          type: string
          enum:
          - ACTIVE
          - IDLE
          - ARCHIVED
          description: The current status of the experiment definition.
        ConfigurationProfileId:
          type: string
          description: The configuration profile ID associated with the experiment.
        EnvironmentId:
          type: string
          description: The environment ID where the experiment runs.
        FlagKey:
          type: string
          description: The key of the feature flag used by the experiment.
        CreatedAt:
          type: string
          format: date-time
          description: The date and time the experiment definition was created, in ISO 8601 format.
        UpdatedAt:
          type: string
          format: date-time
          description: The date and time the experiment definition was last updated, in ISO 8601 format.
    ExperimentDefinitions:
      type: object
      properties:
        Items:
          type: array
          items:
            $ref: '#/components/schemas/ExperimentDefinitionSummary'
          description: The list of experiment definitions.
        NextToken:
          type: string
          description: A token to use for the next set of results.
    FlagValue:
      type: object
      properties:
        Enabled:
          type: boolean
          description: Specifies whether the feature flag is enabled for this treatment.
        AttributeValues:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/AttributeValue'
          description: The attribute values associated with this flag value.
      required:
      - Enabled
    InvalidConfigurationDetail:
      type: object
      properties:
        Constraint:
          type: string
          description: The invalid or out-of-range validation constraint in your JSON schema that failed validation.
        Location:
          type: string
          description: Location of the validation constraint in the configuration JSON schema that failed validation.
        Reason:
          type: string
          description: The reason for an invalid configuration error.
        Type:
          type: string
          description: The type of error for an invalid configuration.
        Value:
          type: string
          description: Details about an error with Lambda when a synchronous extension experiences an error during an invocation.
    Treatment:
      type: object
      properties:
        Key:
          type: string
          description: The unique key that identifies this treatment.
        Weight:
          type: number
          description: The traffic allocation weight for this treatment.
        Description:
          type: string
          description: A description of the treatment.
        FlagValue:
          $ref: '#/components/schemas/FlagValue'
      required:
      - Weight
      - FlagValue
    TreatmentInput:
      type: object
      properties:
        Weight:
          type: number
          description: The traffic allocation weight for this treatment.
        Description:
          type: string
          description: A description of the treatment.
        FlagValue:
          $ref: '#/components/schemas/FlagValue'
      required:
      - Weight
      - FlagValue
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/appconfig/service/2019-10-09/appconfig-2019-10-09.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)