Skip to content

Commit 2c6c1ae

Browse files
idalithbbenface
andauthored
Managing API Keys-Update (#822)
* Updating copy * Update website/pages/en/querying/managing-api-keys.mdx Co-authored-by: Benoît Rouleau <[email protected]> --------- Co-authored-by: Benoît Rouleau <[email protected]>
1 parent ef6d199 commit 2c6c1ae

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

website/pages/en/querying/managing-api-keys.mdx

+14-4
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,33 @@
22
title: Managing your API keys
33
---
44

5-
Regardless of whether you’re a dapp developer or a subgraph developer, you’ll need to manage your API keys. This is important for you to be able to query subgraphs because API keys make sure the connections between application services are valid and authorized. This includes authenticating the end user and the device using the application.
5+
## Overview
66

7-
The "API keys" table lists out existing API keys, which will give you the ability to manage or delete them. For each key, you can see its status, the cost for the current period, the spending limit for the current period, as well as total query numbers. You can click the "three dots" menu to edit a given API key:
7+
API keys are needed to query subgraphs. They ensure that the connections between application services are valid and authorized, including authenticating the end user and the device using the application.
8+
9+
### Create and Manage API Keys
10+
11+
Go to [Subgraph Studio](https://thegraph.com/studio/) and click the **API Keys** tab to create and manage your API keys for specific subgraphs.
12+
13+
The "API keys" table lists existing API keys and allows you to manage or delete them. For each key, you can see its status, the cost for the current period, the spending limit for the current period, and the total number of queries.
14+
15+
You can click the "three dots" menu to the right of a given API key to:
816

917
- Rename API key
1018
- Regenerate API key
1119
- Delete API key
1220
- Manage spending limit: this is an optional monthly spending limit for a given API key, in USD. This limit is per billing period (calendar month).
1321

22+
### API Key Details
23+
1424
You can click on an individual API key to view the Details page:
1525

16-
1. The **Overview** section will allow you to:
26+
1. Under the **Overview** section, you can:
1727
- Edit your key name
1828
- Regenerate API keys
1929
- View the current usage of the API key with stats:
2030
- Number of queries
2131
- Amount of GRT spent
22-
2. Under **Security**, you’ll be able to opt into security settings depending on the level of control you’d like to have over your API keys. In this section, you can:
32+
2. Under the **Security** section, you can opt into security settings depending on the level of control you’d like to have. Specifically, you can:
2333
- View and manage the domain names authorized to use your API key
2434
- Assign subgraphs that can be queried with your API key

0 commit comments

Comments
 (0)