Authorizations
The API key to use for authentication
Body
application/json
The input text to generate a response for
Minimum length:
1
Example:
"Tell me about renewable energy"
Allowed value:
"event"
The slug of the Workflow to use for generation
Example:
"my_great_workflow"
A valid JSON Schema object defining the structure of the expected response. Must have a 'type' property set to 'object', 'array', or 'string' (with enum). See https://json-schema.org/ for full specification.
Optional attachments to include in the generation
Example:
[
{
"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
Example:
["special-docs", "admin-files"]