agentic platform - working with REST API
When working with the REST API call in agentic platform, it can be challenging because some of the docs are not updated. To help you get the REST API right, you can curl this endpoint It will list out all methods and parameter to pass to other services. curl -H "Authorization: Bearer $(gcloud auth print-access-token)" -H "Content-Type: application/json" https://us-central1-aiplatform.googleapis.com/v1/projects/project-YOUR-PROJECT-ID/locations/us-central1/reasoningEngines/REASONING_ENGINE_ID Some details include :- classMethods - has been deprecated - Use async_get_session instead list_sessions - has been deprecated - Use async_list_sessions instead create_session - has been deprecated - Use async_create_session instead To get sessions curl -H "Authorization: Bearer $(gcloud auth print-access-token)" -H "Content-Type: application/json" https://us-central1-aiplatform.clients6.google.com/v1beta1/projects/YOUR-PROJECT-ID/locations/us-central1/r...