Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion pages/en/studio/subgraph-studio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,20 @@ The Studio will list out existing API keys, which will give you the ability to m
- View the current usage of the API key with stats:
- Number of queries
- Amount of GRT spent
2. Under **Manage Security Settings**, 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:
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:
- View and manage the domain names authorized to use your API key
- Assign subgraphs that can be queried with your API key
3. Under **Indexer Preference**, you’ll be able to set different preferences for Indexers who are indexing subgraphs that your API key is used for. You can assign up to 5 points for each of these:
- **Fastest Speed**: Time between the query and the response from an indexer. If you mark this as important we will optimize for fast indexers.
- **Lowest Price**: The amount paid per query. If you mark this as important we will optimize for the less expensive indexers.
- **Data Freshness**: How recent the latest block an indexer has processed for the subgraph you are querying. If you mark this as important we will optimize to find the indexers with the freshest data.
- **Economic Security**: The amount of GRT an indexer can lose if they respond incorrectly to your query. If you mark this as important we will optimize for indexers with a large stake.
4. Under **Budget**, you’ll be able to update the maximum price per query. Note that we have a dynamic setting for that that's based on a volume discounting algorithm.
**We strongly recommend using the default settings unless you are experiencing a specific problem.**
Otherwise, you can update it under "Set a custom maximum budget". On this page you can also view different KPIs (in GRT and USD):
- Average cost per query
- Failed queries over max price
- Most expensive query

## How to Manage your Subgraph

Expand Down