---
title: "List apps and functions using the database"
method: GET
path: "/api/v1/databases/{database_id}/consumers"
tags: ["Managed Databases"]
---

# List apps and functions using the database

`GET /api/v1/databases/{database_id}/consumers`

## Request

- Base URL: `https://api.rafftechnologies.com`
- URL: `https://api.rafftechnologies.com/api/v1/databases/{database_id}/consumers`
- Auth: API key in header `X-API-Key`

The Raff apps and functions bound to this database, with the state of each binding. Each binding has its own database user, managed by Raff.

## Path parameters

- `database_id` string, required

## Response `200`

Apps and functions bound to the database

- object
  - `success` boolean
  - `consumers` DatabaseConsumer[]
    - `kind` 'app' | 'function'
    - `id` string
    - `name` string
    - `service_type` string
    - `status` string
    - `binding_status` string

## Other responses

- `401`: Authentication required
- `404`: Resource not found

## Changes

- **2026-10-05** `26292956c4b3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rafftechnologies/apis/raff-api/changes/api/v1/databases/:database_id/consumers/get.md)

---

[API](https://skmtc.dev/rafftechnologies/apis/raff-api.md) - [All operations](https://skmtc.dev/rafftechnologies/apis/raff-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rafftechnologies/apis/raff-api/revisions/3d30cde0acb4?raw)
