Create an agent run and wait for the response
Changed onExecutes an agent run and returns the final response. Note: If the agent uses an input form trigger, all form fields (including optional fields) must be included in the input object.
Request
- Base URL: https://instance-name-be.glean.com
- URL: https://instance-name-be.glean.com/rest/api/v1/agents/runs/wait
- Auth: HTTP bearer
Request body
Example request
{
"messages": [
{
"role": "USER"
}
]
}Response
Success
Changes
- breaking
the response property
//////became nullable for the status - breaking
the response property
//////became nullable for the status - breaking
the response property
////////became nullable for the status - breaking
the response property
//////became nullable for the status - breaking
the response property
///////////became nullable for the status - breaking
the response property
///////////became nullable for the status - breaking
the response property
/////////////became nullable for the status - breaking
the response property
///////////became nullable for the status - info
the request property
//////became nullable - info
the request property
//////became nullable - info
the request property
////////became nullable - info
the request property
//////became nullable
- breaking
- info
added the optional property
////to the response with the status - info
added the optional property
/////////to the response with the status
- info