v1

latestOpenAPI 3.0.02026-07-1761823.7 KB

Stream text

Stream text generation for a specific workflow (we strongly recommend using the SDK for this)

post/api/v1/stream/text

Request body

inputstring required

The input text to generate a response for

workflowSlugstring required

The slug of the Workflow to use for generation (can be found in the Itzam dashboard)

groupIdstring

Optional identifier for grouping related runs (e.g. user ID, session ID, etc.)

Example request

{
  "input": "Tell me about renewable energy",
  "workflowSlug": "my_great_workflow",
  "groupId": "my-group-id"
}

Response

Successfully streaming content