---
title: "List the GeoFabrics available to user."
method: GET
path: "/_api/user/{user}/database"
tags: ["Users"]
---

# List the GeoFabrics available to user.

`GET /_api/user/{user}/database`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_api/user/:user/database/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch the list of GeoFabrics available.

The *result* object contains the GeoFabric names as object keys and the associated privileges for the GeoFabric as values.

In case *full* is specified, the result contains the permissions for the GeoFabric as well as the permissions for the collections and streams.

**Note**: Requires *administrator* permissions.

## Path parameters

- `user` string, string, required

## Query parameters

- `full` boolean

## Response `200`

Successfully fetched list of GeoFabrics.

- unknown

## Other responses

- `400`: Failed due to missing or malformed data. Verify that all parameters are complete.
- `401`: Failed to validate because you do not have access to the GeoFabric.
- `403`: Failed to validate because you do not have access to the server.

---

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