> For the complete documentation index, see [llms.txt](https://docs.pagerly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pagerly.io/sre-ai-agent/data-sources/opsgenie.md).

# OpsGenie

## What the Agent Can Do

* List and search alerts — find related or active alerts
* Get alert details — description, tags, responders, timeline
* Check on-call schedules for context

## Setup Instructions

1. Log into your **OpsGenie account**
2. Go to **Settings** > **API Key Management**
3. Click **Add new API key**
4. Name it `Pagerly` and select **Read** access
5. Copy the API key and your OpsGenie domain

## Required Credentials

| Field       | Description          | Example                        |
| ----------- | -------------------- | ------------------------------ |
| **API Key** | OpsGenie API key     | `your-api-key`                 |
| **Domain**  | Your OpsGenie domain | `your-domain.app.opsgenie.com` |

## Docs

* [OpsGenie API](https://docs.opsgenie.com/docs/api-overview)
