Automattic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for WordPress.com REST API — wpcom/v2 namespace Experiments API

43 actions 43 updates phrasing extends openapi/automattic-experiments-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Automattic's API. It is a proposal applied on top of the contract, not a document Automattic publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 43 · first 16 shown; the file carries all of them

$.info
$.paths['/wpcom/v2/experiments/0.1.0/analyses/{experiment_id}'].get
$.paths['/wpcom/v2/experiments/0.1.0/analyses/{experiment_id}/latest'].get
$.paths['/wpcom/v2/experiments/0.1.0/assignments'].patch
$.paths['/wpcom/v2/experiments/0.1.0/assignments/log'].post
$.paths['/wpcom/v2/experiments/0.1.0/assignments/{platform}'].get
$.paths['/wpcom/v2/experiments/0.1.0/autocomplete/events'].get
$.paths['/wpcom/v2/experiments/0.1.0/autocomplete/events/{name}'].get
$.paths['/wpcom/v2/experiments/0.1.0/autocomplete/products'].get
$.paths['/wpcom/v2/experiments/0.1.0/autocomplete/transaction-types'].get
$.paths['/wpcom/v2/experiments/0.1.0/autocomplete/users'].get
$.paths['/wpcom/v2/experiments/0.1.0/experiments'].get
$.paths['/wpcom/v2/experiments/0.1.0/experiments'].post
$.paths['/wpcom/v2/experiments/0.1.0/experiments/guardrails/{platform}'].get
$.paths['/wpcom/v2/experiments/0.1.0/experiments/preset'].post
$.paths['/wpcom/v2/experiments/0.1.0/experiments/{experiment_id}'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for WordPress.com REST API — wpcom/v2 namespace Experiments API
  version: 1.0.0
extends: openapi/automattic-experiments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-12-02'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 42
- target: $.paths['/wpcom/v2/experiments/0.1.0/analyses/{experiment_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an experiment's analysis
      effect: read
      questions:
      - What did the analysis of an experiment look like?
      - Can I see an experiment's analysis for a given metric assignment?
      instructions:
      - text: Show the analysis of experiment {experiment_id}.
        slots:
          experiment_id: path.experiment_id
      - text: Get experiment {experiment_id}'s analysis for metric assignment {metric_assignment_id}.
        slots:
          experiment_id: path.experiment_id
          metric_assignment_id: query.metric_assignment_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/analyses/{experiment_id}/latest'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the latest analysis of an experiment
      effect: read
      questions:
      - What is the most recent analysis of an experiment?
      - Can I pull the latest analysis for one experiment?
      instructions:
      - text: Show the latest analysis of experiment {experiment_id}.
        slots:
          experiment_id: path.experiment_id
      - text: Get the newest analysis of experiment {experiment_id} for metric assignment {metric_assignment_id}.
        slots:
          experiment_id: path.experiment_id
          metric_assignment_id: query.metric_assignment_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/assignments'].patch
  update:
    x-apievangelist-phrasing:
      intent: Assign users to experiment variations
      effect: write
      questions:
      - How do I assign a logged-in user to an experiment variation?
      - Can I override a user's username when assigning them to an experiment?
      instructions:
      - text: Assign variations {variations} to the user {anon_id}.
        slots:
          variations: requestBody.variations
          anon_id: requestBody.anon_id
      - text: Assign {variations} to user {username_override} on the site.
        slots:
          variations: requestBody.variations
          username_override: requestBody.username_override
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/assignments/log'].post
  update:
    x-apievangelist-phrasing:
      intent: Log an experiment assignment for a user
      effect: write
      questions:
      - How do I record that a user was assigned to an experiment variation?
      - Can I log an experiment assignment using a hash of the user identifier?
      instructions:
      - text: Log experiment {experiment_id} variation {experiment_variation_id} for {flag_key} with hash {hash_value} on attribute {hash_attribute}.
        slots:
          experiment_id: requestBody.experiment_id
          experiment_variation_id: requestBody.experiment_variation_id
          flag_key: requestBody.flag_key
          hash_value: requestBody.hash_value
          hash_attribute: requestBody.hash_attribute
      - text: Record user {hash_value} on {hash_attribute} as assigned to variation {experiment_variation_id} of experiment {experiment_id} for flag {flag_key}.
        slots:
          hash_value: requestBody.hash_value
          hash_attribute: requestBody.hash_attribute
          experiment_variation_id: requestBody.experiment_variation_id
          experiment_id: requestBody.experiment_id
          flag_key: requestBody.flag_key
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/assignments/{platform}'].get
  update:
    x-apievangelist-phrasing:
      intent: List experiment assignments for a platform
      effect: read
      questions:
      - Which users were assigned to experiments on a given platform?
      - Can I filter experiment assignments by platform and user?
      instructions:
      - text: List experiment assignments for platform {platform}.
        slots:
          platform: path.platform
      - text: Show {platform} experiment assignments for users {anon_id}.
        slots:
          platform: path.platform
          anon_id: query.anon_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/autocomplete/events'].get
  update:
    x-apievangelist-phrasing:
      intent: List experiment event types
      effect: read
      questions:
      - What event types can I use in experiments?
      - Which experiment event types are available?
      instructions:
      - text: List all experiment event types.
      - text: Show the experiment event types I can use.
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/autocomplete/events/{name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Look up an experiment event type
      effect: read
      questions:
      - What does a specific experiment event type record?
      - Can I fetch one experiment event type by name?
      instructions:
      - text: Show experiment event type {name}.
        slots:
          name: path.name
      - text: Get the details of experiment event type {name}.
        slots:
          name: path.name
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/autocomplete/products'].get
  update:
    x-apievangelist-phrasing:
      intent: List experiment product types
      effect: read
      questions:
      - What product types can I target in experiments?
      - Which experiment product types are available?
      instructions:
      - text: List all experiment product types.
      - text: Show the experiment product types I can target.
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/autocomplete/transaction-types'].get
  update:
    x-apievangelist-phrasing:
      intent: List experiment transaction types
      effect: read
      questions:
      - What transaction types can I use in experiments?
      - Which experiment transaction types are available?
      instructions:
      - text: List all experiment transaction types.
      - text: Show the experiment transaction types I can use.
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/autocomplete/users'].get
  update:
    x-apievangelist-phrasing:
      intent: Autocomplete experiment user identifiers
      effect: read
      questions:
      - Can I autocomplete a user's identifier for experiments?
      - Which user identifiers are valid for experiment assignments?
      instructions:
      - text: Autocomplete an experiment user identifier.
      - text: Suggest experiment user identifiers matching a name.
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/experiments'].get
  update:
    x-apievangelist-phrasing:
      intent: List experiments
      effect: read
      questions:
      - What experiments are running on my site?
      - Can I include experiment analyses when listing experiments?
      instructions:
      - text: List all experiments.
      - text: List experiments including their analyses ({include_analyses}).
        slots:
          include_analyses: query.include_analyses
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/experiments'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an experiment
      effect: write
      questions:
      - How do I create a new experiment?
      - Can I set start and end dates, variations and metrics when creating an experiment?
      instructions:
      - text: Create experiment {name} on {platform} for {owner_login} with description {description} and variations {variations}, metrics {metric_assignments}, segments {segment_assignments}, exclusions
          {exclusion_group_tag_ids}.
        slots:
          name: requestBody.name
          platform: requestBody.platform
          owner_login: requestBody.owner_login
          description: requestBody.description
          variations: requestBody.variations
          metric_assignments: requestBody.metric_assignments
          segment_assignments: requestBody.segment_assignments
          exclusion_group_tag_ids: requestBody.exclusion_group_tag_ids
      - text: Create experiment {name} on {platform} for {owner_login} with variations {variations}, metrics {metric_assignments}, segments {segment_assignments}, exclusions {exclusion_group_tag_ids}, description
          {description}, starting {start_datetime} and ending {end_datetime}.
        slots:
          name: requestBody.name
          platform: requestBody.platform
          owner_login: requestBody.owner_login
          variations: requestBody.variations
          metric_assignments: requestBody.metric_assignments
          segment_assignments: requestBody.segment_assignments
          exclusion_group_tag_ids: requestBody.exclusion_group_tag_ids
          description: requestBody.description
          start_datetime: requestBody.start_datetime
          end_datetime: requestBody.end_datetime
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/experiments/guardrails/{platform}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get experiment guardrails for a platform
      effect: read
      questions:
      - What guardrails apply to experiments on a given platform?
      - Can I check the experiment guardrails for a platform?
      instructions:
      - text: Show the experiment guardrails for platform {platform}.
        slots:
          platform: path.platform
      - text: List the guardrails that apply to experiments on {platform}.
        slots:
          platform: path.platform
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/experiments/preset'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an experiment from a preset
      effect: write
      questions:
      - How do I create an experiment from a preset?
      - Can I generate an experiment from a preset on a platform?
      instructions:
      - text: Create an experiment from preset {name} on {platform}.
        slots:
          name: requestBody.name
          platform: requestBody.platform
      - text: Generate an experiment named {name} on {platform} using a preset.
        slots:
          name: requestBody.name
          platform: requestBody.platform
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/experiments/{experiment_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an experiment
      effect: read
      questions:
      - What are the details of a specific experiment?
      - Can I include participants when fetching an experiment?
      instructions:
      - text: Show experiment {experiment_id}.
        slots:
          experiment_id: path.experiment_id
      - text: Get experiment {experiment_id} including participants ({include_participants}).
        slots:
          experiment_id: path.experiment_id
          include_participants: query.include_participants
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/experiments/{experiment_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace an experiment
      effect: write
      questions:
      - How do I fully replace an experiment's details?
      - Can I overwrite an experiment's variations, metrics and segments?
      instructions:
      - text: Replace experiment {experiment_id} with name {name}, platform {platform}, owner {owner_login}, description {description}, variations {variations}, metrics {metric_assignments}, segments {segment_assignments},
          exclusions {exclusion_group_tag_ids}.
        slots:
          experiment_id: path.experiment_id
          name: requestBody.name
          platform: requestBody.platform
          owner_login: requestBody.owner_login
          description: requestBody.description
          variations: requestBody.variations
          metric_assignments: requestBody.metric_assignments
          segment_assignments: requestBody.segment_assignments
          exclusion_group_tag_ids: requestBody.exclusion_group_tag_ids
      - text: Overwrite experiment {experiment_id} with variations {variations}, metrics {metric_assignments}, segments {segment_assignments}, exclusions {exclusion_group_tag_ids}, name {name}, platform
          {platform}, owner {owner_login}, description {description}.
        slots:
          experiment_id: path.experiment_id
          variations: requestBody.variations
          metric_assignments: requestBody.metric_assignments
          segment_assignments: requestBody.segment_assignments
          exclusion_group_tag_ids: requestBody.exclusion_group_tag_ids
          name: requestBody.name
          platform: requestBody.platform
          owner_login: requestBody.owner_login
          description: requestBody.description
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/experiments/{experiment_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an experiment
      effect: write
      questions:
      - How do I end an experiment early?
      - Can I change an experiment's description or conclusion URL?
      instructions:
      - text: End experiment {experiment_id} with reason {end_reason}.
        slots:
          experiment_id: path.experiment_id
          end_reason: requestBody.end_reason
      - text: Set experiment {experiment_id}'s conclusion URL to {conclusion_url}.
        slots:
          experiment_id: path.experiment_id
          conclusion_url: requestBody.conclusion_url
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/experiments/{experiment_id}/apply-guardrails'].post
  update:
    x-apievangelist-phrasing:
      intent: Apply guardrails to an experiment
      effect: write
      questions:
      - How do I apply guardrails to an experiment?
      - Can I re-run an experiment with its guardrails applied?
      instructions:
      - text: Apply guardrails to experiment {experiment_id}.
        slots:
          experiment_id: path.experiment_id
      - text: Re-run experiment {experiment_id} with guardrails applied.
        slots:
          experiment_id: path.experiment_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/experiments/{experiment_id}/early-participants'].get
  update:
    x-apievangelist-phrasing:
      intent: List early participants in an experiment
      effect: read
      questions:
      - Who were the early participants in an experiment?
      - Can I see early participants from the last few hours?
      instructions:
      - text: List early participants in experiment {experiment_id}.
        slots:
          experiment_id: path.experiment_id
      - text: Show experiment {experiment_id}'s early participants from the last {hours} hours.
        slots:
          experiment_id: path.experiment_id
          hours: query.hours
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/experiments/{experiment_id}/status'].put
  update:
    x-apievangelist-phrasing:
      intent: Set an experiment's status
      effect: write
      questions:
      - How do I pause or resume an experiment?
      - Can I set an experiment's status to a specific value?
      instructions:
      - text: Set experiment {experiment_id} status to {status}.
        slots:
          experiment_id: path.experiment_id
          status: requestBody.status
      - text: Pause experiment {experiment_id} by setting its status to {status}.
        slots:
          experiment_id: path.experiment_id
          status: requestBody.status
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/flags'].get
  update:
    x-apievangelist-phrasing:
      intent: List experiment flags
      effect: read
      questions:
      - Which experiment flags are currently defined?
      - Can I filter experiment flags by status?
      instructions:
      - text: List all experiment flags.
      - text: List experiment flags with status {status}.
        slots:
          status: query.status
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/flags'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an experiment flag
      effect: write
      questions:
      - How do I define a new experiment flag?
      - Can I set a default value and value type when creating a flag?
      instructions:
      - text: Create experiment flag {experiment_flag_key} with default {default_value} and value type {value_type}.
        slots:
          experiment_flag_key: requestBody.experiment_flag_key
          default_value: requestBody.default_value
          value_type: requestBody.value_type
      - text: Add a new experiment flag {experiment_flag_key} described as {description}.
        slots:
          experiment_flag_key: requestBody.experiment_flag_key
          description: requestBody.description
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/flags/preset'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an experiment flag preset
      effect: write
      questions:
      - Can I save a flag definition as a preset?
      - How do I create a reusable experiment flag preset?
      instructions:
      - text: Create an experiment flag preset {experiment_flag_key}.
        slots:
          experiment_flag_key: requestBody.experiment_flag_key
      - text: Save flag preset {experiment_flag_key} described as {description}.
        slots:
          experiment_flag_key: requestBody.experiment_flag_key
          description: requestBody.description
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/flags/{experiment_flag_key}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an experiment flag
      effect: destructive
      questions:
      - How do I delete an experiment flag?
      - Can I remove a flag I no longer use?
      instructions:
      - text: Delete experiment flag {experiment_flag_key}.
        slots:
          experiment_flag_key: path.experiment_flag_key
      - text: Remove the {experiment_flag_key} experiment flag.
        slots:
          experiment_flag_key: path.experiment_flag_key
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/flags/{experiment_flag_key}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an experiment flag
      effect: write
      questions:
      - Can I change the default value of an existing experiment flag?
      - How do I deactivate an experiment flag?
      instructions:
      - text: Set the default value of {experiment_flag_key} to {default_value}.
        slots:
          experiment_flag_key: path.experiment_flag_key
          default_value: requestBody.default_value
      - text: Set the status of experiment flag {experiment_flag_key} to {status}.
        slots:
          experiment_flag_key: path.experiment_flag_key
          status: requestBody.status
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/flags/{experiment_flag_key}/details'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an experiment flag's details
      effect: read
      questions:
      - What are the rules and default value of a flag?
      - Can I see the details of one experiment flag?
      instructions:
      - text: Show the details of experiment flag {experiment_flag_key}.
        slots:
          experiment_flag_key: path.experiment_flag_key
      - text: Get the rules and default value for {experiment_flag_key}.
        slots:
          experiment_flag_key: path.experiment_flag_key
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/flags/{experiment_flag_key}/experiments'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an experiment to a flag
      effect: write
      questions:
      - How do I run a new experiment under an existing flag?
      - Can I set variation values when adding an experiment to a flag?
      instructions:
      - text: Add experiment {experiment_id} to flag {experiment_flag_key}.
        slots:
          experiment_id: requestBody.experiment_id
          experiment_flag_key: path.experiment_flag_key
      - text: Run experiment {experiment_id} under {experiment_flag_key} with variation values {variation_values}.
        slots:
          experiment_id: requestBody.experiment_id
          experiment_flag_key: path.experiment_flag_key
          variation_values: requestBody.variation_values
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/flags/{platform}'].get
  update:
    x-apievangelist-phrasing:
      intent: List experiment flags for a platform
      effect: read
      questions:
      - Which experiment flags are defined for a given platform?
      - Can I see the flags set up for a specific platform?
      instructions:
      - text: List experiment flags for {platform}.
        slots:
          platform: path.platform
      - text: Show {platform} experiment flags from source {source}.
        slots:
          platform: path.platform
          source: query.source
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/metrics'].get
  update:
    x-apievangelist-phrasing:
      intent: List experiment metrics
      effect: read
      questions:
      - What experiment metrics have been defined?
      - Can I see whether each metric is higher-is-better?
      instructions:
      - text: List all experiment metrics.
      - text: Show every experiment metric.
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/metrics'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an experiment metric
      effect: write
      questions:
      - How do I define a new experiment metric?
      - Can I mark a metric as higher-is-better when creating it?
      instructions:
      - text: Create experiment metric {name} described as {description} with higher-is-better {higher_is_better}.
        slots:
          name: requestBody.name
          description: requestBody.description
          higher_is_better: requestBody.higher_is_better
      - text: Define a new experiment metric {name} with event parameters {event_params}.
        slots:
          name: requestBody.name
          event_params: requestBody.event_params
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/metrics/{metric_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an experiment metric
      effect: read
      questions:
      - What are the parameters of a specific experiment metric?
      - Can I look up one experiment metric by id?
      instructions:
      - text: Show experiment metric {metric_id}.
        slots:
          metric_id: path.metric_id
      - text: Get the parameters of experiment metric {metric_id}.
        slots:
          metric_id: path.metric_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/metrics/{metric_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace an experiment metric
      effect: write
      questions:
      - How do I overwrite an existing experiment metric?
      - Can I change the description of a metric I already defined?
      instructions:
      - text: Replace experiment metric {metric_id} with name {name}, description {description} and higher-is-better {higher_is_better}.
        slots:
          metric_id: path.metric_id
          name: requestBody.name
          description: requestBody.description
          higher_is_better: requestBody.higher_is_better
      - text: Overwrite experiment metric {metric_id} with event parameters {event_params}.
        slots:
          metric_id: path.metric_id
          event_params: requestBody.event_params
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/metrics/{metric_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an experiment metric
      effect: destructive
      questions:
      - How do I delete an experiment metric?
      - Can I remove a metric I no longer track?
      instructions:
      - text: Delete experiment metric {metric_id}.
        slots:
          metric_id: path.metric_id
      - text: Remove the {metric_id} experiment metric.
        slots:
          metric_id: path.metric_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/segments'].get
  update:
    x-apievangelist-phrasing:
      intent: List experiment segments
      effect: read
      questions:
      - What user segments are defined for experiments?
      - Can I see the segment types available?
      instructions:
      - text: List all experiment segments.
      - text: Show every user segment defined for experiments.
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/segments'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an experiment segment
      effect: write
      questions:
      - How do I define a new user segment for experiments?
      - Can I choose the type of a new experiment segment?
      instructions:
      - text: Create experiment segment {name} of type {type}.
        slots:
          name: requestBody.name
          type: requestBody.type
      - text: Define a new user segment {name} for experiments.
        slots:
          name: requestBody.name
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/segments/{segment_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an experiment segment
      effect: read
      questions:
      - What type is a particular experiment segment?
      - Can I look up one experiment segment by id?
      instructions:
      - text: Show experiment segment {segment_id}.
        slots:
          segment_id: path.segment_id
      - text: Get the type of experiment segment {segment_id}.
        slots:
          segment_id: path.segment_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/segments/{segment_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an experiment segment
      effect: destructive
      questions:
      - How do I delete an experiment segment?
      - Can I remove a segment I no longer use?
      instructions:
      - text: Delete experiment segment {segment_id}.
        slots:
          segment_id: path.segment_id
      - text: Remove the {segment_id} experiment segment.
        slots:
          segment_id: path.segment_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/tags'].get
  update:
    x-apievangelist-phrasing:
      intent: List experiment tags
      effect: read
      questions:
      - What experiment tags exist?
      - Can I see the tags used to group experiments?
      instructions:
      - text: List all experiment tags.
      - text: Show every experiment tag.
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/tags'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a new experiment tag
      effect: write
      questions:
      - How do I register a new tag to group experiments?
      - Can I tag an experiment namespace with a description?
      instructions:
      - text: Create experiment tag {name} in namespace {namespace} described as {description}.
        slots:
          name: requestBody.name
          namespace: requestBody.namespace
          description: requestBody.description
      - text: Add tag {name} to {namespace} for experiments using {description}.
        slots:
          name: requestBody.name
          namespace: requestBody.namespace
          description: requestBody.description
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/tags/{tag_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an experiment tag
      effect: read
      questions:
      - What namespace and name does a specific experiment tag have?
      - Can I look up one experiment tag by id?
      instructions:
      - text: Show experiment tag {tag_id}.
        slots:
          tag_id: path.tag_id
      - text: Get the namespace and name of experiment tag {tag_id}.
        slots:
          tag_id: path.tag_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/tags/{tag_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an experiment tag
      effect: write
      questions:
      - How do I rename or redescribe an experiment tag?
      - Can I change the namespace of an existing experiment tag?
      instructions:
      - text: Update experiment tag {tag_id} to name {name} in namespace {namespace} described as {description}.
        slots:
          tag_id: path.tag_id
          name: requestBody.name
          namespace: requestBody.namespace
          description: requestBody.description
      - text: Rename experiment tag {tag_id} to {name}.
        slots:
          tag_id: path.tag_id
          name: requestBody.name
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/experiments/0.1.0/tags/{tag_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an experiment tag
      effect: destructive
      questions:
      - How do I remove an experiment tag?
      - Can I delete an experiment tag by its ID?
      instructions:
      - text: Delete experiment tag {tag_id}.
        slots:
          tag_id: path.tag_id
      - text: Remove the experiment tag {tag_id}.
        slots:
          tag_id: path.tag_id
      method: generated
      generated: '2026-12-02'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/automattic-experiments-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.