API reference
Sync rules
Fetch active pre-call rules for a Pylva SDK runtime.
The SDK uses this Agent SDK endpoint to keep its local rule cache current. Direct use is possible, but most teams should let the SDK call it automatically.
This endpoint is SDK rule sync only. Use the dashboard to create, review, activate, disable, or roll back rules. For the control rollout path, see Controls Workflow.
Authentication
Use an Agent SDK key inX-Pylva-Key.
Response
Notes
- The endpoint returns active, enabled, pre-call rules only.
- Cache the response for
ttl_seconds. - The endpoint does not accept query parameters.
- Use the dashboard for rule mutations and the Admin API custom-pricing endpoints for pricing mutations.