API reference / Troop
List standing rules
Standing rules that approve or deny a teammate's calls to one tool without asking, newest first: proposed and active ones unless status says otherwise. Troopy proposes one when people give the same answer to the same teammate's calls to the same tool three times in a row within 30 days.
/api/v1/rulesOther ways to call it
troopy rules listtroopy_list_rulesQuery parameters
pageinteger1-based page number
Default 1 · At least 1
limitintegerItems per page, at most 100
Default 20 · At least 1 · At most 100
statusenum<string>proposedactivedismissedstoppedwithdrawn
agentstringThe teammate's handle, like chief
At most 40 characters
Response
200 · application/jsondata*array<object>12 properties
id*stringA 24-character id
agent*stringThe teammate whose calls it decides
tool*stringlabel*stringeffect*enum<string>What it answers for a person
approvedeny
status*enum<string>proposed: offered after the same answer three times in a row within 30 days. withdrawn: a later answer went the other way
proposedactivedismissedstoppedwithdrawn
basedOn*array<string>The approvals it was proposed from, newest first
decidedBy*object | null3 properties
type*enum<string>personagentapi
id*stringname*stringdecidedAt*string | nulluses*integerHow many calls it has decided
lastUsedAt*string | nullcreatedAt*stringISO 8601 date and time
pagination*object4 properties
page*integerlimit*integertotal*integerpages*integer