LogRocket · Capability

LogRocket GraphQL API

The LogRocket GraphQL API allows developers to query session replay and analytics data using GraphQL. It provides a flexible query interface for retrieving session information, user activity, error details, and performance metrics. Developers can use this API to build custom dashboards, integrate session data into internal tools, and perform advanced filtering and aggregation of LogRocket monitoring data.

Run with Naftiko LogrocketAPI

What You Can Do

POST
Executegraphqlquery — Execute a GraphQL query
/graphql

MCP Tools

executegraphqlquery

Execute a GraphQL query

Capability Spec

logrocket-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LogRocket GraphQL API
  description: The LogRocket GraphQL API allows developers to query session replay and analytics data using GraphQL. It provides
    a flexible query interface for retrieving session information, user activity, error details, and performance metrics.
    Developers can use this API to build custom dashboards, integrate session data into internal tools, and perform advanced
    filtering and aggregation of LogRocket monitoring data.
  tags:
  - Logrocket
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: logrocket
    baseUri: https://api.logrocket.com
    description: LogRocket GraphQL API HTTP API.
    authentication:
      type: apikey
      in: header
      name: Authorization
      value: '{{LOGROCKET_TOKEN}}'
    resources:
    - name: graphql
      path: /graphql
      operations:
      - name: executegraphqlquery
        method: POST
        description: Execute a GraphQL query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    port: 8080
    namespace: logrocket-rest
    description: REST adapter for LogRocket GraphQL API.
    resources:
    - path: /graphql
      name: executegraphqlquery
      operations:
      - method: POST
        name: executegraphqlquery
        description: Execute a GraphQL query
        call: logrocket.executegraphqlquery
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    port: 9090
    namespace: logrocket-mcp
    transport: http
    description: MCP adapter for LogRocket GraphQL API for AI agent use.
    tools:
    - name: executegraphqlquery
      description: Execute a GraphQL query
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: logrocket.executegraphqlquery
      outputParameters:
      - type: object
        mapping: $.
binds:
- namespace: env
  keys:
    LOGROCKET_TOKEN: LOGROCKET_TOKEN