Using python-genai with googleapis.com

Python integration

✓ Official SDK
Install
pip install python-genai
Quick start
import python-genai

# Use an OAuth2 access token
client = python_genai.Client(access_token="YOUR_ACCESS_TOKEN")
Gets the latest state of a long-running operation. Clients can use this metho…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://datalabeling.googleapis.com/v1beta1/{name}
Starts asynchronous cancellation on a long-running operation. The server make…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://datalabeling.googleapis.com/v1beta1/{name}:cancel
Lists operations that match the specified filter in the request. If the serve…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://datalabeling.googleapis.com/v1beta1/{name}/operations
SDK on GitHub 📄 API Docs
SDK
python-genai
Python
API
googleapis.com
googleapis.com:datalabeling
At a glance
Language Python
Endpoints28
Base URLhttps://datalabeling.googleapis.com
✓ Official