Optimizely Groups API
APIs to interact with mutual exclusion groups
Operations 12
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
GET
/projects/{project_id}/groups
List a project's exclusion groups by environment · List Exclusion Groups
#
Ask an LLM
“Which exclusion groups exist in my Feature Experimentation project for a given environment?”
“Can I search exclusion groups by name and show only enabled ones?”
Tell an agent
List exclusion groups in project {project_id} for environment {environment}.
Find exclusion groups in project {project_id} whose name or description contains {query}.
PATCH
/projects/{project_id}/groups
Patch several exclusion groups at once · Update Exclusion Groups
#
Ask an LLM
“Can I update multiple exclusion groups in a project with one JSON patch request?”
“What happens to read-only properties I include when patching groups in bulk?”
Tell an agent
Apply a JSON patch to several exclusion groups in project {project_id}.
Bulk update the exclusion groups of project {project_id}.
POST
/projects/{project_id}/groups
Create an exclusion group in an environment · Create an Exclusion Group
#
Ask an LLM
“How do I create a mutually exclusive group of flag rules in one environment?”
“Can I add rules to an exclusion group when I create it under a project path?”
Tell an agent
Create exclusion group {name} in project {project_id} for environment {environment_key}.
Create exclusion group {name} in project {project_id}, environment {environment_key}, containing rules {rules}.
Ask an LLM
“How do I hide exclusion groups I no longer use without deleting them?”
“Can I archive several exclusion groups by their keys in one go?”
Tell an agent
Archive exclusion groups {keys} in project {project_id}.
Move the exclusion groups with keys {keys} in project {project_id} to the archive.
POST
/projects/{project_id}/groups/unarchived
Restore archived exclusion groups · Unarchive Exclusion Groups
#
Ask an LLM
“How do I bring back exclusion groups I archived earlier?”
“Can I unarchive several exclusion groups at once by key?”
Tell an agent
Unarchive exclusion groups {keys} in project {project_id}.
Restore archived groups {keys} in project {project_id}.
DELETE
/projects/{project_id}/groups/{group_id}
Permanently delete an exclusion group · Delete an Exclusion Group
#
Ask an LLM
“How do I permanently delete an exclusion group so its data is gone?”
“Can a permanently deleted exclusion group ever be recovered?”
Tell an agent destructive · confirm first
Permanently delete exclusion group {group_id} from project {project_id}.
Erase group {group_id} in project {project_id} for good, not just archive it.
GET
/projects/{project_id}/groups/{group_id}
Fetch an exclusion group within a project · Fetch a Single Exclusion Group
#
Ask an LLM
“What rules and settings does one exclusion group in my project have?”
“Can I fetch a single exclusion group using both its project and group id?”
Tell an agent
Fetch exclusion group {group_id} in project {project_id}.
Show the details of group {group_id} under project {project_id}.
Ask an LLM
“Which exclusion groups exist in my Web Experimentation project?”
“Can I page through a project's exclusion groups by page number in the v2 API?”
Tell an agent
List exclusion groups for project {project_id} using the top-level groups endpoint.
Get page {page} of exclusion groups for project {project_id}, {per_page} per page.
Ask an LLM
“How do I make experiments mutually exclusive in Web Experimentation?”
“Can I put campaigns and experiments into a new exclusion group when I create it?”
Tell an agent
Create exclusion group {name} in project {project_id} with entities {entities}.
Create a Web Experimentation exclusion group {name} for project {project_id} described as {description}.
Ask an LLM
“Does calling DELETE on a Web Experimentation exclusion group archive it rather than erase it?”
“How do I retire a single exclusion group by its group id alone?”
Tell an agent destructive · confirm first
Archive exclusion group {group_id} via the delete endpoint.
Retire Web Experimentation group {group_id}.
Ask an LLM
“Which experiments are in a given exclusion group?”
“Can I look up an exclusion group with only its group id?”
Tell an agent
Get exclusion group {group_id}.
Show which experiments and campaigns are in group {group_id}.
Ask an LLM
“How do I add or remove experiments from an existing exclusion group?”
“Can I rename an exclusion group or mark it archived through an update?”
Tell an agent
Rename exclusion group {group_id} to {name}.
Set the members of group {group_id} to {entities}.