---
title: "list intrusion_detection_reports"
method: GET
path: "/stacks/{stack_id}/intrusion_detection_reports"
tags: ["IntrusionDetectionReports"]
---

# list intrusion_detection_reports

`GET /stacks/{stack_id}/intrusion_detection_reports`

## Request

- Base URL: `https://api.aptible.com`
- URL: `https://api.aptible.com/stacks/{stack_id}/intrusion_detection_reports`
- Auth: API key in header `Authorization`

Returns a paginated list of intrusion detection reports for the specified stack.

## Path parameters

- `stack_id` integer, required

## Query parameters

- `page` integer
- `per_page` integer
- `no_embed` boolean

## Headers

- `Prefer` 'no_sensitive_extras=true'

## Response `200`

successful

- ListIntrustionDetectionReportsForStack200Response
  - `_embedded` ListIntrustionDetectionReportsForStack200ResponseEmbedded, required
    - `intrusion_detection_reports` IntrusionDetectionReport[]
      - `id` integer, required
      - `_type` string, required
      - `created_at` string, dateTime, required
      - `updated_at` string, dateTime, required
      - `starts_at` string, dateTime, required
      - `ends_at` string, dateTime, required
      - `_links` IntrusionDetectionReportLinks
        - `stack` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `download_csv` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `download_pdf` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `self` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
  - `total_count` integer, required
  - `per_page` integer, required
  - `current_page` integer, required
  - `_links` ListAccountsForStack200ResponseLinks, required
    - `stack` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `next` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `prev` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `self` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri

## Other responses

- `default`: Error response. Often a 4xx or 5xx status code

## Changes

- **2026-07-24** `1dc1e5b8c6eb`: 3 info
  - added the new optional `header` request parameter `Prefer`
  - added the new optional `query` request parameter `no_embed`
  - added the new optional `query` request parameter `per_page`

[Operation history](https://skmtc.dev/aptible/apis/aptible-api-v1/changes/stacks/:stack_id/intrusion_detection_reports/get.md)

---

[API](https://skmtc.dev/aptible/apis/aptible-api-v1.md) - [All operations](https://skmtc.dev/aptible/apis/aptible-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/aptible/apis/aptible-api-v1/revisions/a21f6b1bc6fe?raw)
