AIController

Generate structured content for an email

Use output schemas to extract data from an email using AI

post/ai/structured-content/email

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/ai/structured-content/email
  • Auth: API key in header x-api-key

Request body

emailIdstring uuid required

Email ID to read and pass to AI

contentSelector'RAW' | 'BODY' | 'BODY_ATTACHMENTS' nullable

Content selector to select part of email to operate on

instructionsstring nullable

Optional instructions for the AI to follow. Try to be precise and clear. You can include examples and hints.

transformIdstring uuid nullable

ID of transformer to apply

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.