Skip to content

Conversation

idalithb
Copy link
Contributor

  • Adding Using API Key Section

@idalithb idalithb requested a review from a team as a code owner July 15, 2025 23:11
@idalithb idalithb requested a review from mitchhs12 July 15, 2025 23:11
Copy link
Contributor

@mitchhs12 mitchhs12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
Not sure if we should also include an example curl command for the bearer token as well though?
For example:

curl -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer {api-key}" \
  -d '{"query": "{ graphNetworks(first: 5) { id controller graphToken epochManager } graphAccounts(first: 5) { id names { id } defaultName { id } createdAt } }", "operationName": "Subgraphs", "variables": {}}' \
  https://gateway.thegraph.com/api/subgraphs/id/DZz4kDTdmzWLWsV373w2bSmoar3umKKH9y82SUKr5qmp

Copy link
Contributor

@benface benface left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@idalithb idalithb merged commit 9e4d9e0 into main Jul 19, 2025
4 checks passed
@idalithb idalithb deleted the support-fix branch July 19, 2025 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants