Skip to content

Rulesets

A Ruleset can be created to store sets of rules and pull them in dynamically for faster iteration on LLM behavior in a deployed environment. A Ruleset takes a list of Rules. A Ruleset can be given an alias so it can be referenced by a user-provided unique identifier:

export GT_CLOUD_API_KEY=<your API key here>
export ALIAS=<your ruleset alias>
curl -H "Authorization: Bearer ${GT_CLOUD_API_KEY}" https://cloud.griptape.ai/api/rulesets?alias=${ALIAS}