AIController

Generate structured content for an attachment

Use output schemas to extract data from an attachment using AI

post/ai/structured-content/attachment

Request

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

Request body

attachmentIdstring required

Attachment ID to read and pass to AI

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

emailIdstring uuid nullable

Optional email ID for more context

Response

OK

Changes

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