Skip to content

[Prototype/Demo] Query app logs with GraphQL - #8687

Draft
rmcnews wants to merge 7 commits into
Shopify:mainfrom
rmcnews:rmc/logs-graphql-cli-prototype
Draft

rmcnews wants to merge 7 commits into
Shopify:mainfrom
rmcnews:rmc/logs-graphql-cli-prototype

Conversation

@rmcnews

@rmcnews rmcnews commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

Demo prototype for querying historical app logs. Not intended to merge.

WHAT is this pull request doing?

Accept GraphQL inline, from files, or stdin, with JSON variables and full JSON responses. Keep app logs schema for introspection.

How to manually test your changes?

shopify app logs --query '{
  app(key: "APP_CLIENT_ID") {
    logs(input: {
      startTime: "2026-10-01T15:00:00Z"
      endTime: "2026-10-01T16:00:00Z"
      types: [WEBHOOK_DELIVERY]
      limit: 10
    }) {
      events {
        timestamp
        shopDomain
        webhookDelivery { topic statusCode }
      }
      limitReached
    }
  }
}'

Co-authored by AI (GPT-6)

@rmcnews rmcnews changed the title [Prototype] Add GraphQL mode to shopify logs [Prototype] Add historical queries to shopify app logs Oct 1, 2026
Co-authored by AI (GPT-6)
@rmcnews rmcnews changed the title [Prototype] Add historical queries to shopify app logs [Prototype/Demo] Add historical queries to shopify app logs Oct 1, 2026
Co-authored by AI (GPT-6)
@rmcnews rmcnews changed the title [Prototype/Demo] Add historical queries to shopify app logs [Prototype/Demo] Query app logs with GraphQL Oct 1, 2026

This branch has not been deployed

No deployments
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.

1 participant