There's a documentation related: Create Run, Stream Output - Glean Developer Portal
But, I cannot figure out how must be the body of the request.
For example, I have an agent with a Chat message trigger, i want to access to it via the API, for that, I am doing this request with Postman:
POST https://my-instance-domain.glean.com/rest/api/v1/agents/runs/stream
Headers:
Authorization: Bearer <token>
Content-Type: application/json
Body:
I just get a 400 error.