docs: add Research API and CLI reference
Merged
SI
6mo ago+7619+7619+0123456789012345678901234567890123456789-4871-4871-0123456789012345678901234567890123456789
Summary
- Documentation-first spec for the
recoup researchprimitive - 16 API endpoints under
/api/research/with OpenAPI schemas - Full CLI reference with all subcommands, flags, and a workflow example
- Provider-agnostic — no mention of underlying data sources
What's documented
API endpoints (16):
- Search, Profile, Metrics (14 platforms), Audience, Cities, Similar Artists, Playlists, Albums, Tracks, Career, Insights, Discover, Genres, Festivals, Web Search, Deep Research
CLI commands:
recoup research "Drake"— find artistrecoup research metrics/audience/cities/similar/playlists/albums/tracks/career/insights— structured datarecoup research discover— artist discovery by criteriarecoup research web— web searchrecoup research report— comprehensive deep research- Workflow example showing a full artist research chain
Test plan
- Preview docs locally with
npx mintlify@latest dev - Verify all 16 MDX pages render from OpenAPI spec
- Verify CLI docs section renders correctly
- Verify navigation order in sidebar
Made with Cursor
Summary by CodeRabbit
-
New Features
- Added a Research API surface (many endpoints) for artist search, discovery, profiles, metrics, audience, cities, similar artists, social URLs, Instagram posts, playlists, albums, tracks, career timelines, AI insights, genres, festivals, plus web & deep research endpoints; added content-agent webhook/callback endpoints.
- Added an authenticated callback security scheme using a callback-secret header.
-
CLI
- Added a recoup research command family with structured subcommands and example workflows.
-
Documentation
- Added documentation pages and navigation for all research endpoints and CLI usage.