---
title: "Get Convex database credentials for the project (admins only)"
method: GET
path: "/api/v1/projects/{project_id}/databases/creds"
tags: ["Projects", "Project Databases"]
---

# Get Convex database credentials for the project (admins only)

`GET /api/v1/projects/{project_id}/databases/creds`

## Request

- Base URL: `https://api.rebolt.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rebolt.ai/api/v1/projects/{project_id}/databases/creds`
- Auth: HTTP bearer

Return Convex credentials for the primary project database.

Authorization: project owners and editors (can modify project).

## Path parameters

- `project_id` string, uuid, required: The unique identifier of the project

## Response `200`

Successful Response

- ConvexProjectCreds: Model for Convex project credentials.
  - `project_slug` string, required
  - `prod_url` string, required
  - `dev_url` string, required
  - `prod_key` string, required
  - `dev_key` string, required
  - `dev_name` string, required
  - `prod_name` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-14** `6e68f3c2611b`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/rebolt/apis/rebolt-api/changes/api/v1/projects/:project_id/databases/creds/get.md)

---

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