API V3 + PAT

Build code that calls Raygun directly

Raygun's API lets teams access, display, manipulate, and process Raygun data in scripts, internal tools, and workflows. Bearer auth with Personal Access Tokens keeps the integration explicit and scoped.

API Request example
curl "https://api.raygun.com/v3/applications?offset=0&count=20" \
  -H "Authorization: Bearer $RAYGUN_PAT" \
  -H "Accept: application/json"

Agent build patterns

Use the API when your workflow needs code

Spec

API for workflows

Point your AI agent framework at Raygun's API V3 specification and generate typed workflows for the data your team already trusts.

Automation

CI release regression checks

Query latest deployments, new error groups, or high-impact sessions from GitHub Actions before a rollout continues.

Ops

Runbooks with production insights

Build runbooks that ask Raygun for current blast radius, customer context, and trace-level evidence before escalating.

Authentication

Generate a Personal Access Token

Raygun API requests use Bearer Authentication. Open your Raygun account settings and create a PAT for the data your AI agent will query. Grant only the scopes it needs.

Security practices

  • Request only the scopes the workflow needs.
  • Store the PAT in a secret manager or local agent config.
  • Never paste a PAT into chat or commit it to a repository.
  • Rotate tokens when teammates or automation scopes change.
  • Review generated fixes before merging or deploying.

Endpoint coverage

A foundation for deeper agent tools

MCP gives AI agents a ready-to-use Raygun tool layer. API V3 is the lower-level interface for custom dashboards, GitHub Actions, and coding agents that need deterministic requests.

Applications and access
Crash Reporting error groups
Deployment tracking
Real user sessions and performance
Teams, users, and collaboration
Metrics, histograms, and exports

Production eyes for coding agents

Explore MCP first. Use API V3 when you need custom control

Raygun gives engineers both: a remote MCP server for AI, and OpenAPI-backed endpoints for deterministic workflows.