I tested deploying my agent to Vertex AI Agent Engine and able to query by listing/getting sessions and querying it via code. But, I also see API Urls in the Vertex Ai Agent Engine page, how to use them? Can you share an example for calling agent via API?
{
“class_method”: “stream_query”,
“input”: {
“user_id”: “test”,
“session_id”: “session_id which you created from step1”,
“message”: “What data do you have?”
}
}
Then you can convert the code to whatever you want to call the API.