API Reference

Endpoints and tooling

Upload WebRTC session dumps, retrieve analysis results, manage sessions, and check quotas programmatically. All endpoints require a Bearer token from your rtcStats account under Settings > Applications.

curl -X POST https://rtcstats.com/api/rtcstats/v1.0/analyze \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/octet-stream" \
  --data-binary @webrtc-internals-dump.txt

For AI agents and tooling

  • Machine-readable OpenAPI 3.0 spec (JSON): /api/openapi
  • Markdown rendering of the same spec: /api-docs.md
  • MCP Streamable HTTP endpoint: /api/rtcstats/v1.0/mcp

Endpoints

  • POST /api/rtcstats/v1.0/uploadUpload
  • POST /api/rtcstats/v1.0/analyzeAnalyze
  • POST /api/rtcstats/v1.0/mcpMCP Streamable HTTP
  • GET /api/rtcstats/v1.0/quotaQuota
  • GET /api/rtcstats/v1.0/sessionsList sessions
  • GET /api/rtcstats/v1.0/sessions/{rtcstatsId}Retrieve Session
  • DELETE /api/rtcstats/v1.0/sessions/{rtcstatsId}Delete session

See the Integrations page for MCP and embeddable viewer options.

Full API reference