Skip to content

feat: add URL Inspector PG API endpoints | LLMO-4030#2113

Open
JayKid wants to merge 1 commit intomainfrom
feat/find-way-to-store-retrieve-LLMO-4030
Open

feat: add URL Inspector PG API endpoints | LLMO-4030#2113
JayKid wants to merge 1 commit intomainfrom
feat/find-way-to-store-retrieve-LLMO-4030

Conversation

@JayKid
Copy link
Copy Markdown
Contributor

@JayKid JayKid commented Apr 2, 2026

Summary

  • 4 new API endpoints calling URL Inspector RPCs in mysticat-data-service:
    • GET .../url-inspector/stats — aggregate stats + weekly sparklines
    • GET .../url-inspector/owned-urls — paginated owned URL citations
    • GET .../url-inspector/trending-urls — paginated non-owned URLs (groups flat RPC rows by URL)
    • GET .../url-inspector/cited-domains — domain-level aggregations
  • Exports 5 shared utilities from llmo-brand-presence.js for reuse
  • Unit tests for all 4 handlers

Related PRs

Test plan

  • Unit tests pass (lint + syntax checks confirmed; full test suite requires Node 24)
  • Verified end-to-end via local PostgREST → dev Aurora
  • Deploy to dev and verify via deployed UI

🤖 Generated with Claude Code

4 new endpoints calling the URL Inspector RPCs in mysticat-data-service:
- GET .../url-inspector/stats — aggregate stats + weekly sparklines
- GET .../url-inspector/owned-urls — paginated owned URL citations
- GET .../url-inspector/trending-urls — paginated non-owned URLs
- GET .../url-inspector/cited-domains — domain-level aggregations

Exports shared utilities from llmo-brand-presence.js for reuse.

LLMO-4030

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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