---
title: "list configurations"
method: GET
path: "/databases/{database_id}/configurations"
tags: ["Configurations"]
---

# list configurations

`GET /databases/{database_id}/configurations`

## Request

- Base URL: `https://api.aptible.com`
- URL: `https://api.aptible.com/databases/{database_id}/configurations`
- Auth: API key in header `Authorization`

Returns a paginated list of configurations for the specified database.

## Path parameters

- `database_id` integer, required

## Query parameters

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

## Headers

- `Prefer` 'no_sensitive_extras=true'

## Response `200`

successful

- ListConfigurationsForApp200Response
  - `_embedded` ListConfigurationsForApp200ResponseEmbedded, required
    - `configurations` Configuration[]
      - `id` integer, required
      - `_type` string, required
      - `env` object
      - `_links` ConfigurationLinks
        - `resource` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `self` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
  - `total_count` integer, required
  - `per_page` integer, required
  - `current_page` integer, required
  - `_links` ListCodeScanResultsForApp200ResponseLinks, required
    - `resource` 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`: 1 breaking, 3 info
  - the response property `_embedded/configurations/items/env` became optional for the status `200`
  - 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/databases/:database_id/configurations/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)
