googleapis.com

Manages the API keys associated with developer projects.

🔑 oauth2 8 endpoints analyticsmedia
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

mcp-toolbox-sdk-python ✓ Official
pip install mcp-toolbox-sdk-python
python-storage ✓ Official
pip install python-storage
python-aiplatform ✓ Official
pip install python-aiplatform
python-genai ✓ Official
pip install python-genai
js-genai ✓ Official
npm install js-genai
go-genai ✓ Official
go get github.com/googleapis/go-genai
sdk-platform-java ✓ Official
# Maven: see https://github.com/googleapis/sdk-platform-java
java-genai ✓ Official
# Maven: see https://github.com/googleapis/java-genai
dotnet-genai ✓ Official
# See https://github.com/googleapis/dotnet-genai
gax-java ✓ Official
# See https://github.com/googleapis/gax-java
curl examples
Gets the metadata for an API key. The key string of the API key isn't include…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://apikeys.googleapis.com/v2/{name}
Lists the API keys owned by a project. The key string of the API key isn't in…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://apikeys.googleapis.com/v2/{parent}/keys
Find the parent project and resource name of the API key that matches the key…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://apikeys.googleapis.com/v2/keys:lookupKey
Endpoints (8 total)
GET
/v2/{name}
Gets the metadata for an API key. The key string of the API key isn't include…
GET
/v2/{parent}/keys
Lists the API keys owned by a project. The key string of the API key isn't in…
GET
/v2/keys:lookupKey
Find the parent project and resource name of the API key that matches the key…
GET
/v2/{name}/keyString
Get the key string for an API key. NOTE: Key is a global resource; hence the …
POST
/v2/{parent}/keys
Creates a new API key. NOTE: Key is a global resource; hence the only support…
POST
/v2/{name}:undelete
Undeletes an API key which was deleted within 30 days. NOTE: Key is a global …
PATCH
/v2/{name}
Patches the modifiable fields of an API key. The key string of the API key is…
DELETE
/v2/{name}
Deletes an API key. Deleted key can be retrieved within 30 days of deletion. …
At a glance
Total SDKs10
Languages6
Endpoints8
Authoauth2
Categories2
https://apikeys.googleapis.com