List rules
Rules
List rules
List all rules for your organization.
GET
List rules
Returns all rules in your organization. PassDocumentation Index
Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt
Use this file to discover all available pages before exploring further.
program_id to scope results to a single program. Archived rules are excluded by default; pass include_archived=true or filter by status to control which rules are returned. Use search to find rules by name.
Rules are returned in order sequence by default, which reflects their evaluation priority. Use sort_by and sort_dir to change the ordering.
For usage patterns and examples, see the Writing Rules guide.
Authorizations
API key passed in the X-API-Key header.
Query Parameters
Maximum number of results (default 50, max 200)
Required range:
x >= 1Pagination cursor from previous response
Filter by program ID
Include archived rules
Filter by rule status
Available options:
ACTIVE, SUSPENDED, ARCHIVED Search by rule name (partial match)
Sort field
Available options:
order, created_at, name Sort direction
Available options:
asc, desc