Skip to content

Clear Rule Override

DELETE
/api/agents/learning/rule-overrides/{project_id}/{agent_name}/{rule_id}

Drop a rule’s pin/hide setting; counts and weight stay intact.

Path-typed rule_id because handler-emitted rule ids contain dots (proseguard.stylistic.adverb_density) which FastAPI’s default path matcher would split otherwise.

project_id
required
Project Id
string
agent_name
required
Agent Name
string
rule_id
required
Rule Id
string

Successful Response

ClearRuleOverrideResponse

DELETE /api/agents/learning/rule-overrides/{project_id}/{agent_name}/{rule_id}.

object
success
required
Success
boolean

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object