POST
/
api
/
v1
/
stream
/
object
curl --request POST \
  --url https://itz.am/api/v1/stream/object \
  --header 'Api-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "input": "Tell me about renewable energy",
  "workflowSlug": "my_great_workflow",
  "groupId": "my-group-id",
  "schema": {
    "title": "My great response",
    "description": "The response to the input",
    "type": "object"
  }
}'
{
  "type": "object",
  "object": {
    "text": "<string>"
  }
}

Authorizations

Api-Key
string
header
required

The API key to use for authentication

Body

application/json

Response

200
text/event-stream

Successfully streaming content

The response is of type object.