# Get list of databases (/docs/management-api/endpoints/databases/get-projects-by-project-id-databases)

Location: Management API > Endpoints > Databases > Get list of databases

Returns databases for the given project.

## API reference

### Get list of databases

`GET /v1/projects/{projectId}/databases`

Returns databases for the given project.

#### Parameters

- `projectId` (path, string, required)
- `cursor` (query, string | null, optional): Cursor for pagination
- `limit` (query, number, optional): Limit for pagination

#### Responses

- `200`: Returned the databases for the given project ID.
- `401`: Missing or invalid authorization token.
- `404`: Project with the given ID was not found.

## Related pages

- [`Create database`](https://www.prisma.io/docs/management-api/endpoints/databases/post-databases): Creates a new database in the specified project.
- [`Create database`](https://www.prisma.io/docs/management-api/endpoints/databases/post-projects-by-project-id-databases): Creates a new database for the given project.
- [`Delete database`](https://www.prisma.io/docs/management-api/endpoints/databases/delete-databases-by-database-id): Deletes the database with the given ID.
- [`Get database`](https://www.prisma.io/docs/management-api/endpoints/databases/get-databases-by-database-id): Returns the database with the given ID.
- [`List databases`](https://www.prisma.io/docs/management-api/endpoints/databases/get-databases): Returns all databases the token has access to. Optionally filter by project ID.