Skip to content

Add request-analytics + track-group reference docs, refresh MCP tools list#281

Merged
Jped merged 2 commits into
masterfrom
jon/mcp-tracking-and-analytics-docs
May 7, 2026
Merged

Add request-analytics + track-group reference docs, refresh MCP tools list#281
Jped merged 2 commits into
masterfrom
jon/mcp-tracking-and-analytics-docs

Conversation

@Jped
Copy link
Copy Markdown
Contributor

@Jped Jped commented May 7, 2026

Summary

  • Add reference/request-analytics.mdx for POST /api/public/v2/requests/analytics (added in promptlayer-app PR #850, was undocumented).
  • Add reference/track-group.mdx for POST /rest/track-group (already in OpenAPI but had no reference page).
  • Wire both into the Tracking section of docs.json.
  • Refresh agents/mcp.mdx tool table to reflect all 64 MCP tools (skill collections, request analytics, tool registry, additional tracking endpoints, patch-prompt-template-version, report column edit/delete, etc.).

Companion to MagnivOrg/promptlayer-mcp#15.

Test plan

  • Mintlify preview renders both new reference pages and they show up under Tracking.
  • OpenAPI references resolve (analytics page just describes the response shape — no openapi.json entry yet).
  • MCP tools table on agents/mcp.mdx matches the actual tool set in @promptlayer/mcp-server.

🤖 Generated with Claude Code

Jped and others added 2 commits May 7, 2026 16:56
…ol list

- Add reference/request-analytics.mdx documenting POST /api/public/v2/requests/analytics
- Add reference/track-group.mdx documenting POST /rest/track-group (was in OpenAPI but had no reference page)
- Wire both into the Tracking group in docs.json
- Refresh agents/mcp.mdx tool table with the new MCP tools (skill collections, analytics, tracking, tool registry, patch-prompt-template-version, etc.)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ck-group

- Add /api/public/v2/requests/analytics path entry plus full request and
  response schemas (RequestAnalyticsResponse, RequestAnalyticsStat,
  RequestAnalyticsLatencyByDay, RequestAnalyticsDimensionLatency,
  RequestAnalyticsBreakdownEntry, RequestAnalyticsToolLatency).
- Factor the shared filter/search/sort body into a `RequestLogQuery` component;
  both the analytics endpoint and SearchRequestLogsRequest now reference it
  (search extends it with page/per_page/include_prompt_name via allOf).
- Drop the new track-group reference page (the endpoint is legacy and was
  not exposed through MCP); other already-published track-* pages stay.
- Update agents/mcp.mdx tool count and tables to drop the legacy tracking
  tools that no longer ship in @promptlayer/mcp-server.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mintlify
Copy link
Copy Markdown

mintlify Bot commented May 7, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
promptlayer 🟢 Ready View Preview May 7, 2026, 9:06 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@Jped Jped merged commit 70bc4ff into master May 7, 2026
4 checks passed
@Jped Jped deleted the jon/mcp-tracking-and-analytics-docs branch May 7, 2026 21:12
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.

2 participants