---
title: "Get Infracost integration"
method: GET
path: "/integrations/infracost/{infracost_integration}"
tags: ["infracost-integrations"]
---

# Get Infracost integration

`GET /integrations/infracost/{infracost_integration}`

## Request

- Base URL: `https://example.scalr.io/api/iacp/v3`
- URL: `https://example.scalr.io/api/iacp/v3/integrations/infracost/{infracost_integration}`
- Auth: HTTP bearer

Show details of a specific Infracost Integration.

## Path parameters

- `infracost_integration` string, required

## Query parameters

- `include` string[]

## Response `200`

Success.

- InfracostIntegrationDocument: JSON:API Document. see: https://jsonapi.org/format/#document-structure
  - `data` InfracostIntegration
    - `attributes` object, required
      - `api-key` string, nullable, required: The API key.
      - `err-message` string, nullable: Message from service that points to the nature of a problem
      - `is-shared` boolean: Indicates whether the integration is available in any environment of the account without directly linking it.
      - `name` string, required: Name of the Infracost integration
      - `status` 'active' | 'disabled' | 'failed': Status of the integration.
    - `id` string
    - `links` object
      - `self` string
    - `relationships` object
      - `environments` object: The list of environments this integration is linked to.
        - `data` object[], nullable, required
          - `id` string, required
          - `type` 'environments' | '', required
    - `type` 'infracost-integration', required
  - `included` object[]
  - `meta` object

## Other responses

- `404`: Integration not found or user unauthorized to perform action.
- `4XX`: Client error.
- `5XX`: Server error.

---

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