---
title: "Preview APIs to ingest for a specific Integration"
method: GET
path: "/environments/{envId}/integrations/{integrationId}/_preview"
tags: ["Integrations"]
---

# Preview APIs to ingest for a specific Integration

`GET /environments/{envId}/integrations/{integrationId}/_preview`

Preview APIs to ingest for a specific Integration

Preview APIs to ingest before actual ingestion. to perform ingestion preview.

## Response `200`

Preview successful

- IngestionPreviewResponse
  - `totalCount` number — number of APIs found to ingest
  - `newCount` number — number of new APIs found to ingest
  - `updateCount` number — number of update APIs found to ingest
  - `isPartiallyDiscovered` boolean — flag to tell if apis where only partially discovered due to timeout
  - `apis` object[] — number of new APIs found to ingest
    - `id` string — Ingested API uuid
    - `name` string — Ingested API name
    - `version` string — the version of API
    - `state` 'NEW' | 'UPDATE' — 'NEW' if it's new API or 'UPDATE' if we maybe have update

## Other responses

- `default` — Generic error response

---

[API](https://skmtc.net/gravitee-io/apis/gravitee-io-apim-management-api-apis.md) · [All operations](https://skmtc.net/gravitee-io/apis/gravitee-io-apim-management-api-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gravitee-io/gravitee-io-apim-management-api-apis/revisions/aef12fc964d5/schema)
