Optimizely System Lists API
The System Lists API from Optimizely — 8 operation(s) for system lists.
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
Ask an LLM
“How can I see all the system lists that drive dropdowns in my commerce admin?”
“Can I filter system lists by name and return only selected fields?”
Tell an agent
List all system lists.
List system lists matching {filter}.
Ask an LLM
“How do I add a new system list of predefined values?”
“What do I need to supply when creating a system list, like additional info?”
Tell an agent
Create a system list named {name} described as {description} with additional info {additionalInfo}.
Add system list {name} ({description}), notes {additionalInfo}, retiring on {deactivateOn}.
GET
/api/v1/admin/SystemLists({id})
Get one system list by id · Returns the entity with the key from SystemLists
#
Ask an LLM
“How can I look up a single system list by its id?”
“Can I expand a system list's values when I fetch it?”
Tell an agent
Show system list {id}.
Fetch system list {id} expanding {expand}.
PUT
/api/v1/admin/SystemLists({id})
Replace a system list entirely · Replace entity in EntitySet SystemLists
#
Ask an LLM
“How do I overwrite every field of a system list in one call?”
“Will a full replace of a system list drop fields I omit?”
Tell an agent
Replace system list {id} with name {name}, description {description} and info {additionalInfo}.
Overwrite the full record of system list {id}.
DELETE
/api/v1/admin/SystemLists({id})
Delete one system list · Delete entity in EntitySet SystemLists
#
Ask an LLM
“How do I remove one system list permanently?”
“Can I guard a system list delete with an If-Match ETag?”
Tell an agent destructive · confirm first
Delete system list {id}.
Remove system list {id} only if the ETag matches {etag}.
PATCH
/api/v1/admin/SystemLists({id})
Update some fields of a system list · Update entity in EntitySet SystemLists
#
Ask an LLM
“How can I change only the description of a system list?”
“Can I set a deactivation date on a system list without replacing it?”
Tell an agent
Update the description of system list {id} to {description}.
Deactivate system list {id} on {deactivateOn}.
GET
/api/v1/admin/SystemLists/Default.Default()
Get default values for a new system list · Call operation Default
#
Ask an LLM
“What defaults does a new system list come with?”
“Where do I grab an empty system list template?”
Tell an agent
Fetch the default system list template.
Show the starting values for new system lists.
POST
/api/v1/admin/SystemLists/Default.archive
Archive system lists with the archive action · Call operation archive
#
Ask an LLM
“How do I archive system lists using the archive action?”
“Can I retire several system lists without deleting them?”
Tell an agent destructive · confirm first
Archive system lists {ids} via the archive action.
Call the system list archive operation for {ids}.
DELETE
/api/v1/admin/systemlists/archive
Archive system lists via the DELETE route · System lists archive route
#
Ask an LLM
“Is there a DELETE route for archiving system lists by id?”
“Can I archive system lists through /systemlists/archive?”
Tell an agent destructive · confirm first
Send the archive DELETE for system lists {ids}.
Archive system lists {ids} through the systemlists/archive route.
DELETE
/api/v1/admin/systemlists/delete
Bulk delete system lists by ids · System lists delete route
#
Ask an LLM
“How do I delete a batch of system lists at once?”
“Can I pass multiple ids to remove several system lists?”
Tell an agent destructive · confirm first
Bulk delete system lists {ids}.
Permanently delete every system list in {ids}.
GET
/api/v1/admin/systemlists({key})/customproperties({custompropertyKey})
Get a custom property of a system list · System lists get custom property by key and custompropertykey
#
Ask an LLM
“Where can I read a custom property on a system list?”
“How do I fetch one custom attribute stored on a system list?”
Tell an agent
Get custom property {custompropertyKey} of system list {key}.
Read custom field {custompropertyKey} on system list {key}.
GET
/api/v1/admin/systemlists({key})/values({systemlistvalueKey})
Get one value from a system list · System lists get value by key and systemlistvaluekey
#
Ask an LLM
“How do I read a single option value inside a system list?”
“Which value entries belong to a given system list?”
Tell an agent
Get value {systemlistvalueKey} from system list {key}.
Show list entry {systemlistvalueKey} in system list {key}.