# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand. overlay: 1.0.0 info: title: API Evangelist conversational phrasing for Nylas Policies API version: 1.0.0 extends: openapi/nylas-policies-api-openapi.yml actions: - target: $.info update: x-apievangelist-phrasing: method: generated generated: '2026-09-26' generator: build-phrasing.py label: Generated by API Evangelist operations: 5 - target: $.paths['/v3/policies'].get update: x-apievangelist-phrasing: intent: List agent account policies effect: read questions: - What policies have I defined for my Agent Accounts? - Can I page through all of my application's policies? instructions: - text: List all policies in my application. - text: Show my policies, {limit} per page. slots: limit: query.limit method: generated generated: '2026-09-26' - target: $.paths['/v3/policies'].post update: x-apievangelist-phrasing: intent: Create a sending and spam policy effect: write questions: - How do I set message limits and spam detection for Agent Accounts? - Can a new policy link to existing rules? instructions: - text: Create a policy named {name}. slots: name: requestBody.name - text: Create policy {name} linked to rules {rules}. slots: name: requestBody.name rules: requestBody.rules method: generated generated: '2026-09-26' - target: $.paths['/v3/policies/{policy_id}'].get update: x-apievangelist-phrasing: intent: Get one policy effect: read questions: - What limits and spam settings does a particular policy have? - Can I look up a policy by its ID? instructions: - text: Show policy {policy}. slots: policy: path.policy_id - text: Get the limits and rules of policy {policy}. slots: policy: path.policy_id method: generated generated: '2026-09-26' - target: $.paths['/v3/policies/{policy_id}'].put update: x-apievangelist-phrasing: intent: Update a policy's limits, rules or spam settings effect: write questions: - Can I change the message limits on an existing policy? - Do I have to resend every field when updating a policy? instructions: - text: Rename policy {policy} to {name}. slots: policy: path.policy_id name: requestBody.name - text: Link rules {rules} to policy {policy}. slots: rules: requestBody.rules policy: path.policy_id method: generated generated: '2026-09-26' - target: $.paths['/v3/policies/{policy_id}'].delete update: x-apievangelist-phrasing: intent: Delete a policy effect: destructive questions: - Is deleting a policy reversible? - How do I get rid of a policy I no longer use? instructions: - text: Delete policy {policy}. slots: policy: path.policy_id - text: Permanently remove policy {policy}. slots: policy: path.policy_id method: generated generated: '2026-09-26'