id: api-nerdgraph info: name: New Relic NerdGraph API Test author: zzeitlin severity: info reference: - https://docs.newrelic.com/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph/ metadata: max-request: 1 tags: token-spray,newrelic,nerdgraph self-contained: true http: - method: POST path: - "https://api.newrelic.com/graphql" headers: Content-Type: application/json API-Key: "{{token}}" body: "{ \"query\": \"{ requestContext { userId apiKey }}\" }" matchers: - type: word part: body negative: true words: - 'errors' # digest: 4a0a00473045022100e1a672546d931ae465f456a82e386e6931a281e3aa840fa387d1364b6807cc2702207dff5be88940ea66de9f7990bf8f803360466f54e233994742069ebe57993af6:922c64590222798bb761d5b6d8e72950