{% extends "layout-full.html" %} {% block head %} {% endblock %} {% block body %}
{{csrf_token()}}
Query
Variables {{valid.summary("variables")}} Variables must be a single valid JSON object.
cURL request
echo {{json}} | curl --json @- \
    --oauth2-bearer "$bearer_token" \
    {{get_api(site, external=True)}}/query
Get an OAuth 2 bearer token on meta.sr.ht {{icon('caret-right')}}
Warning: This GraphQL API is hooked up to production! You are working with real, live production data and your API requests will affect your actual account.
Result {{results}}
{% endblock %} {% block scripts %} {% endblock %}