PDFs

Generate Content With Pdfs

Generate content using RAG with PDF context support.

  • query: Question or topic for content generation
  • platform: Target platform (twitter, instagram, etc.)
  • tone: Desired tone (professional, casual, etc.)
  • pdf_ids: Optional comma-separated list of PDF IDs to include in context
  • domain: Optional domain filter for web content
  • content_type: Optional content type filter
  • top_k: Number of chunks to retrieve (1-20)
  • Returns generated content with PDF and web source attribution
post/api/pdfs/generate-content

Request

  • Base URL: https://voyant.io (the document declares no server; this is the origin it was published from)
  • URL: https://voyant.io/api/pdfs/generate-content
  • Auth: HTTP bearer

Response

Successful Response

textstring required

Generated content text

personality_used'the_architect' | 'human_first_closer' | 'default'

Available personality types for content generation.

template_idstring nullable

ID of the template used

persona_idstring nullable

Gypsum persona ID that was used

template_enhancedboolean

Whether custom template was used

persona_enhancedboolean

Whether persona context was applied

metadataobject

Generation metadata including enhancement details

Changes

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