Operations 10
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
/{clientId}/customblacklists
List custom blocklists · Get information about all custom blocklists
#
Ask an LLM
“Which custom blocklists does my Optimizely client have, and what hash algorithm does each use?”
“Can I limit the blocklists returned to one folder?”
Tell an agent
List custom blocklists for client {clientId}.
List up to {limit} custom blocklists in folder {folderId} for client {clientId}.
Ask an LLM
“How do I create a new blocklist to keep certain recipients out of mailings?”
“Can a custom blocklist store hashed patterns instead of plain ones?”
Tell an agent
Create a custom blocklist named {name} for client {clientId}.
Create blocklist {name} for client {clientId} using hash algorithm {hashAlgorithm}.
GET
/{clientId}/customblacklists/{customBlacklistId}/entries
List entries in a custom blocklist · Get information about all entries of a custom blocklist
#
Ask an LLM
“What patterns are in a custom blocklist, and why was each blocked?”
“Can I search a blocklist's entries for a matching pattern?”
Tell an agent
List entries in blocklist {customBlacklistId} for client {clientId}.
Find entries in blocklist {customBlacklistId} of client {clientId} matching {matchingPattern}.
POST
/{clientId}/customblacklists/{customBlacklistId}/entries
Add patterns to a custom blocklist · Create custom blocklist entries
#
Ask an LLM
“How do I block new email addresses or domains by adding them to a blocklist?”
“Can I record a reason when adding blocklist patterns?”
Tell an agent
Add patterns {patterns} to blocklist {customBlacklistId} for client {clientId}.
Block {patterns} in blocklist {customBlacklistId} of client {clientId} with reason {reason}.
DELETE
/{clientId}/customblacklists/{customBlacklistId}/entries
Clear all entries from a custom blocklist · Delete all entries from a custom blocklist
#
Ask an LLM
“How do I empty a blocklist completely while keeping the list itself?”
“Can I wipe every pattern from a custom blocklist at once?”
Tell an agent destructive · confirm first
Remove all entries from blocklist {customBlacklistId} for client {clientId}.
Wipe blocklist {customBlacklistId} of client {clientId} clean.
GET
/{clientId}/customblacklists/{customBlacklistId}/entries/{customBlacklistEntryId}
Get one custom blocklist entry · Get information about a custom blocklist entry
#
Ask an LLM
“When was a specific blocklist entry created and for what reason?”
“How do I read a single entry of a custom blocklist?”
Tell an agent
Get entry {customBlacklistEntryId} of blocklist {customBlacklistId} for client {clientId}.
Show why entry {customBlacklistEntryId} is in blocklist {customBlacklistId} (client {clientId}).
POST
/{clientId}/customblacklists/{customBlacklistId}/entries/{customBlacklistEntryId}
Update a custom blocklist entry's reason · Update a custom blocklist entry
#
Ask an LLM
“How do I change the reason recorded on a blocklist entry?”
“Can I edit an existing blocklist entry instead of recreating it?”
Tell an agent
Set the reason on entry {customBlacklistEntryId} in blocklist {customBlacklistId} for client {clientId} to {reason}.
Update blocklist entry {customBlacklistEntryId} in list {customBlacklistId} of client {clientId}.
DELETE
/{clientId}/customblacklists/{customBlacklistId}/entries/{customBlacklistEntryId}
Remove one entry from a custom blocklist · Delete a custom blocklist entry
#
Ask an LLM
“How do I unblock a single address by deleting its blocklist entry?”
“Can I remove just one pattern from a blocklist?”
Tell an agent destructive · confirm first
Delete entry {customBlacklistEntryId} from blocklist {customBlacklistId} for client {clientId}.
Unblock entry {customBlacklistEntryId} in blocklist {customBlacklistId} of client {clientId}.
GET
/{clientId}/customblacklists/{customBlacklistId}
Get a custom blocklist · Get information about a custom blocklist
#
Ask an LLM
“What is the name and hash algorithm of a specific blocklist?”
“How do I fetch details of one custom blocklist?”
Tell an agent
Get blocklist {customBlacklistId} for client {clientId}.
Show the hash algorithm of blocklist {customBlacklistId} (client {clientId}).
POST
/{clientId}/customblacklists/{customBlacklistId}
Rename or rehash a custom blocklist · Update a custom blocklist
#
Ask an LLM
“How do I rename an existing custom blocklist?”
“Can I change the hash algorithm a blocklist uses?”
Tell an agent
Rename blocklist {customBlacklistId} for client {clientId} to {name}.
Update blocklist {customBlacklistId} of client {clientId}: name {name}, hash algorithm {hashAlgorithm}.