> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Opsgenie alerts

> Mount Opsgenie alerts on your app.

Follow the [REST mounting guide](https://docs.bijection.com/integrations/native-rest.md#mount-and-bind).
Bind the reviewed endpoint with `providerEndpoint` from `@bijectionhq/app-rest`.

Seal an integration key with alert read permission as `authorization` with the `GenieKey ` prefix. Use `https://api.eu.opsgenie.com` for EU accounts. This mode requires an active Opsgenie tenant.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
export const remote = providerEndpoint(
  "opsgenie.alerts.observations",
  "https://api.opsgenie.com",
  "/v2/alerts",
  auth,
  data,
);
```

Pass `remote` as `receivers.provider` and bind the mount under the same `data` label. Call `source.initialize`
with this profile.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{ profile: { mode: "provider", provider: "opsgenie.alerts.observations", limit: 20 } }
```

Alerts visible to one credential, keyed by alert ID. A created-time offset sweep follows `paging.next`, restarts at the end, and refuses positions at the provider’s 20,000-alert ceiling. Missing alerts remain published.

Each response is bounded to 100 alerts and 36 KiB. The app commits observations with their
next position. [Source health and controls](https://docs.bijection.com/integrations/native-rest.md#feed-contracts)
report failures and allow recovery.

[Provider API reference](https://docs.opsgenie.com/docs/alert-api#list-alerts)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.