Agents
Create an agent run and stream the response
Changed onExecutes an agent run and returns the result as a stream of server-sent events (SSE). Note: If the agent uses an input form trigger, all form fields (including optional fields) must be included in the input object.
post/rest/api/v1/agents/runs/stream
Request
- Base URL: https://instance-name-be.glean.com
- URL: https://instance-name-be.glean.com/rest/api/v1/agents/runs/stream
- Auth: HTTP bearer
Request body
Example request
{
"messages": [
{
"role": "USER"
}
]
}Response
Success
Changes
- info
the request property
//////became nullable - info
the request property
//////became nullable - info
the request property
////////became nullable - info
the request property
//////became nullable
- info
- info
endpoint deprecated
- info