---
title: "List paginated preview resources"
method: GET
path: "/backup-and-dr/policies/preview/{preview_id}"
---

# List paginated preview resources

`GET /backup-and-dr/policies/preview/{preview_id}`

Retrieve a paginated list of preview resources by preview_id.

## Path parameters

- `preview_id` string, required — Preview ID returned from preview request

## Query parameters

- `page` integer
- `page_size` integer

## Response `200`

Preview resources page

- PreviewResponse
  - `preview_id` string, required — Unique preview identifier for pagination
  - `pagination` Pagination, required
    - `page` integer, required
    - `page_size` integer, required
    - `total` integer, required
    - `has_next` boolean, required
    - `has_prev` boolean, required
  - `data` PreviewResource[] — Preview resources
    - `frn` string, required — Firefly Resource Name (unique resource identifier)
    - `asset_type` string, required — Resource asset type
    - `asset_name` string, required — Resource name
    - `region` string, required — AWS region
    - `provider` string, required — Cloud provider (e.g., aws, gcp, azure)
    - `service` string — Cloud service (e.g., ec2, s3)
    - `tags_list` string[] — Resource tags
    - `created_at` string, date-time, nullable — Resource creation timestamp
    - `discovery_type` 'scope' | 'dependency', required — Indicates how the resource was discovered - "scope" (matched by application scope) or "dependency" (found via traversal)
    - `parent_frn` string, nullable — The FRN of the parent resource if this resource was discovered as a dependency
  - `query_filters` QueryFilters
    - `account_id` string, required — Account/Tenant ID
    - `integration_id` string, required — Integration ID (required for QueryMeta/QueryInv)
    - `region` string — Optional region filter
    - `scope` ScopeConfig[] — Optional scope filters (tags, resource groups, etc.)
      - `type` 'tags' | 'resource_group' | 'asset_types' | 'exclude_asset_types' | 'selected_resources', required — Scope type identifier (display name): - tags: Tag-based filtering (maps to Elasticsearch field: tagsList.keyword) - resource_group: Azure resource group filtering (maps to Elasticsearch field: providerGroupId.keyword) - asset_types: Asset type filtering (maps to Elasticsearch field: assetType.keyword) - exclude_asset_types: Exclude asset type filtering (maps to Elasticsearch field: assetType.keyword). When combined with asset_types, exclusions take precedence. - selected_resources: Specific resources by FRN (union with other scope filters)
      - `value` string[], required — Array of scope values: - tags: Tag strings in "key:value" format (e.g., "env:prod", "team:platform") - resource_group: Azure resource group names (e.g., "rg-prod", "rg-staging") - asset_types: Asset type names (e.g., "aws_instance", "aws_s3_bucket", "azurerm_compute_virtual_machine") - exclude_asset_types: Asset type names to exclude (e.g., "aws_instance", "aws_s3_bucket"). When combined with asset_types, exclusions take precedence. - selected_resources: FRN strings (e.g., "frn:aws:123:us-east-1:ec2:i-abc123")
    - `source_fields` string[] — Fields to return from Elasticsearch (optional)
    - `frns` string[] — FRNs to filter by (for QueryMeta/QueryInv) or single FRN for QueryConnections
    - `offset` integer — Pagination offset
    - `size` integer — Pagination size

## Other responses

- `400` — Invalid request
- `404` — Preview not found
- `500` — Internal server error

---

[API](https://skmtc.net/firefly/apis/backup-dr-api.md) · [All operations](https://skmtc.net/firefly/apis/backup-dr-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/firefly/backup-dr-api/revisions/ff4cd0352ad5/schema)
