Generate text for a specific workflow
The API key to use for authentication
The input text to generate a response for
1"Tell me about renewable energy"
"event"The slug of the Workflow to use for generation
"my_great_workflow"
Optional attachments to include in the generation
[
{
"file": "file_data",
"mimeType": "application/pdf"
},
{
"file": "image_data",
"mimeType": "image/png"
},
{ "file": "https://example.com/image.jpg" }
]Optional context slugs to add contexts to the run
["special-docs", "admin-files"]