Get conversation display rules
Get a project’s ordered regex find/replace rules that clean up chat message text when traces are viewed. Display only; stored traces and judge inputs are never changed.
GET
/v1/projects/{projectId}/conversation-display-rulesAuthorization
AuthorizationPersonal API key · headerrequiredYour personal API key from Settings > Personal API Keys, sent as Bearer <key>.
X-Organization-IdOrganization ID · headerrequiredThe organization to act in. Copy it with Copy organization ID in the organization menu or the settings sidebar.
Path parameters
projectIdstringrequiredResponses
200
Response for status 200
rulesobject[]requiredShow propertiesHide properties
Array of
objectpatternstringrequiredJavaScript regular expression source, without slashes. Always runs with the g and m flags.
min length 1 · max length 2000
replacementstringrequiredReplacement text. Empty removes the match. Supports $1 and $<name>, and \n / \t escapes. Rendered as Markdown.
max length 2000