To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-26 UTC."],[[["\u003cp\u003eThis service, apikeys.googleapis.com, manages API keys associated with developer projects, using Google's client libraries for streamlined interactions.\u003c/p\u003e\n"],["\u003cp\u003eThe service utilizes a Discovery Document, available at \u003ccode\u003e<https://apikeys.googleapis.com/$discovery/rest?version=v2>\u003c/code\u003e, to provide a machine-readable specification of its REST APIs.\u003c/p\u003e\n"],["\u003cp\u003eThe base service endpoint is \u003ccode\u003ehttps://apikeys.googleapis.com\u003c/code\u003e, with all related URIs being relative to this address.\u003c/p\u003e\n"],["\u003cp\u003eThere are three primary REST resources available: v2.keys for general key operations, v2.operations for long-running operation status, and v2.projects.locations.keys for managing keys within projects and locations, allowing for actions such as creating, deleting, and getting key metadata.\u003c/p\u003e\n"],["\u003cp\u003eThe v2.projects.locations.keys resource includes seven methods for API key management, including the creation, deletion, retrieval, and patching of API keys, as well as listing and undeleting them.\u003c/p\u003e\n"]]],[],null,["# API Keys API\n\nManages the API keys associated with developer projects.\n\n- [REST Resource: v2.keys](#v2.keys)\n- [REST Resource: v2.operations](#v2.operations)\n- [REST Resource: v2.projects.locations.keys](#v2.projects.locations.keys)\n\nService: apikeys.googleapis.com\n-------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://apikeys.googleapis.com/$discovery/rest?version=v2\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://apikeys.googleapis.com`\n\nREST Resource: [v2.keys](/api-keys/docs/reference/rest/v2/keys)\n---------------------------------------------------------------\n\nREST Resource: [v2.operations](/api-keys/docs/reference/rest/v2/operations)\n---------------------------------------------------------------------------\n\nREST Resource: [v2.projects.locations.keys](/api-keys/docs/reference/rest/v2/projects.locations.keys)\n-----------------------------------------------------------------------------------------------------"]]