Optimizely System Settings API
The System Settings API from Optimizely — 14 operation(s) for system settings.
Operations 18
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 do I see every system setting configured in my Optimizely Configured Commerce admin?”
“Can I filter the system settings list down to ones whose name matches a condition?”
Tell an agent
List all system settings.
List system settings matching the filter {filter}.
POST
/api/v1/admin/SystemSettings
Create a system setting · Post a new entity to EntitySet SystemSettings
#
Ask an LLM
“How do I add a new named system setting with a value?”
“Can a new system setting be scoped to a single website?”
Tell an agent
Create a system setting named {name} with value {value}.
Add system setting {name} = {value} for website {websiteId}.
GET
/api/v1/admin/SystemSettings({id})
Get a system setting by its id · Returns the entity with the key from SystemSettings
#
Ask an LLM
“What value does the system setting with a given id currently hold?”
“Can I fetch one system setting record using its GUID id?”
Tell an agent
Get the system setting with id {id}.
Show the name and value of system setting record {id}.
PUT
/api/v1/admin/SystemSettings({id})
Replace a system setting · Replace entity in EntitySet SystemSettings
#
Ask an LLM
“How do I overwrite an entire system setting record rather than patching one field?”
“Can I fully replace a system setting's name and value in one call?”
Tell an agent
Replace system setting {id} with name {name} and value {value}.
Fully overwrite the record for system setting {id}.
DELETE
/api/v1/admin/SystemSettings({id})
Delete a system setting · Delete entity in EntitySet SystemSettings
#
Ask an LLM
“How do I remove a single system setting by its id?”
“Can I guard a system setting deletion with an ETag so I don't delete a changed record?”
Tell an agent destructive · confirm first
Delete system setting {id}.
Delete system setting {id} only if its ETag still matches {etag}.
PATCH
/api/v1/admin/SystemSettings({id})
Update a system setting's value · Update entity in EntitySet SystemSettings
#
Ask an LLM
“How do I change the value of an existing system setting?”
“Can I partially update a system setting without resending the whole record?”
Tell an agent
Update system setting {id} to value {value}.
Patch system setting {id} so it applies to website {websiteId}.
GET
/api/v1/admin/SystemSettings/Default.Default()
Get a blank default system setting · Call operation Default
#
Ask an LLM
“What does an empty system setting record look like before I fill it in?”
“Is there a default template object for a new system setting?”
Tell an agent
Get the default template for a new system setting.
Show me the blank default system setting object.
POST
/api/v1/admin/SystemSettings/Default.batch
Save many settings via the Default.batch action · Call operation batch
#
Ask an LLM
“Can I save a whole set of settings for a website in one OData batch action?”
“How do I bulk-set settings using the Default.batch operation?”
Tell an agent
Save settings {settings} for website {websiteId} using the Default.batch action.
Run the OData Default.batch action with settings {settings}.
POST
/api/v1/admin/SystemSettings/Default.restore
Restore settings via the Default.restore action · Call operation restore
#
Ask an LLM
“How do I restore a group of settings for a website with the Default.restore action?”
“Can I roll listed settings back using the OData restore operation?”
Tell an agent
Restore settings {settings} for website {websiteId} with the Default.restore action.
Call the OData Default.restore action for settings {settings}.
POST
/api/v1/admin/SystemSettings/Default.test
Test a settings group via Default.test · Call operation test
#
Ask an LLM
“Can I test a settings group's configuration before relying on it?”
“How do I run the Default.test action against a specific settings group?”
Tell an agent
Test settings group {settingsGroup} using the Default.test action.
Run the OData Default.test check on settings group {settingsGroup}.
GET
/api/v1/admin/SystemSettings/Default.Groups(websiteId={websiteId})
List setting groups via the Default.Groups function · Call operation Groups
#
Ask an LLM
“Which settings groups exist for a given website, via the OData Default.Groups function?”
“How do I call Default.Groups to see a website's setting groups?”
Tell an agent
Get setting groups for website {websiteId} using the Default.Groups function.
Call Default.Groups for website {websiteId}.
GET
/api/v1/admin/systemsettings({key})
Get a system setting by key · System settings get single by key
#
Ask an LLM
“How do I look up a system setting using its key on the lowercase systemsettings route?”
“Can I fetch a setting by key and pick only certain properties?”
Tell an agent
Get the system setting with key {key}.
Look up system setting key {key} and return only {select}.
GET
/api/v1/admin/systemsettings/groups(websiteId={websiteId})
List setting groups on the plain groups route · System settings get groups by websiteid 2
#
Ask an LLM
“What setting groups does a website have, using the lowercase systemsettings/groups route?”
“Is there a non-OData-action route to list a website's settings groups?”
Tell an agent
List settings groups for website {websiteId} from the systemsettings/groups route.
Fetch website {websiteId}'s setting groups via the plain groups endpoint.
POST
/api/v1/admin/systemsettings/test
Test settings on the plain test route · System settings test 2
#
Ask an LLM
“Is there a parameterless systemsettings/test route for checking settings?”
“Can I trigger a settings test through the lowercase test endpoint?”
Tell an agent
Run a settings test through the plain systemsettings/test route.
Call the lowercase settings test endpoint.
POST
/api/v1/admin/systemsettings/batch
Save settings on the plain batch route · System settings set settings 2
#
Ask an LLM
“Is there a plain systemsettings/batch route, separate from the Default.batch action?”
“Can I post a settings batch to the lowercase batch endpoint?”
Tell an agent
Post a settings batch to the plain systemsettings/batch route.
Save settings in bulk through the lowercase batch endpoint.
POST
/api/v1/admin/systemsettings/restore
Restore settings on the plain restore route · System settings restore settings 2
#
Ask an LLM
“Is there a plain systemsettings/restore route besides the Default.restore action?”
“Can I restore settings by posting to the lowercase restore endpoint?”
Tell an agent
Restore settings through the plain systemsettings/restore route.
Call the lowercase settings restore endpoint.
DELETE
/api/v1/admin/systemsettings/delete
Delete several system settings at once · System settings delete route
#
Ask an LLM
“How do I delete multiple system settings in a single request?”
“Can I bulk-remove system settings by passing a list of ids?”
Tell an agent destructive · confirm first
Delete the system settings with ids {ids}.
Bulk-remove system settings {ids}.
GET
/api/v1/admin/systemsettings({key})/customproperties({custompropertyKey})
Get a custom property of a system setting · System settings get custom property by key and custompropertykey
#
Ask an LLM
“Can system settings carry custom properties, and how do I read one?”
“How do I fetch one custom property attached to a system setting?”
Tell an agent
Get custom property {custompropertyKey} on system setting {key}.
Show the value of custom property {custompropertyKey} for setting {key}.