# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand. overlay: 1.0.0 info: title: API Evangelist conversational phrasing for Nylas Threads API version: 1.0.0 extends: openapi/nylas-threads-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: 4 - target: $.paths['/v3/grants/{grant_id}/threads'].get update: x-apievangelist-phrasing: intent: List or search email threads effect: read questions: - Which email conversations have unread messages? - Can I find threads with attachments from a specific sender? - How can I list threads whose latest message came in after a date? instructions: - text: List email threads for grant {grant}. slots: grant: path.grant_id - text: Find threads on {grant} from {from} with subject {subject}. slots: grant: path.grant_id from: query.from subject: query.subject - text: Show unread threads in folder {in} for {grant}. slots: in: query.in grant: path.grant_id method: generated generated: '2026-09-26' - target: $.paths['/v3/grants/{grant_id}/threads/{thread_id}'].get update: x-apievangelist-phrasing: intent: Get one email thread effect: read questions: - What messages and participants are in a particular conversation? - Can I fetch a single thread by its ID? instructions: - text: Show thread {thread} for grant {grant}. slots: thread: path.thread_id grant: path.grant_id - text: Get the conversation {thread} on {grant}. slots: thread: path.thread_id grant: path.grant_id method: generated generated: '2026-09-26' - target: $.paths['/v3/grants/{grant_id}/threads/{thread_id}'].put update: x-apievangelist-phrasing: intent: Star, mark read or move a thread effect: write questions: - Can I mark a whole conversation as read in one call? - How do I move a thread to a different folder? instructions: - text: Mark thread {thread} on grant {grant} as read. slots: thread: path.thread_id grant: path.grant_id - text: Move thread {thread} for {grant} into folders {folders}. slots: thread: path.thread_id grant: path.grant_id folders: requestBody.folders - text: Star thread {thread} on {grant}. slots: thread: path.thread_id grant: path.grant_id method: generated generated: '2026-09-26' - target: $.paths['/v3/grants/{grant_id}/threads/{thread_id}'].delete update: x-apievangelist-phrasing: intent: Move a thread to the trash effect: destructive questions: - What happens to the messages when I delete a thread? - How do I trash an entire email conversation? instructions: - text: Trash thread {thread} for grant {grant}. slots: thread: path.thread_id grant: path.grant_id - text: Delete conversation {thread} and all its messages on {grant}. slots: thread: path.thread_id grant: path.grant_id method: generated generated: '2026-09-26'