Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Calling Vertex AI ADK Agent via api

Hi team,

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? 

URls I see: https://us-central1-aiplatform.googleapis.com/v1/projects/...:query

https://us-central1-aiplatform.googleapis.com/v1/projects/....:streamQuery?alt=sse

I have a simple agent to get the weather of a city (from google doc)

0 0 112
0 REPLIES 0