# List the tenant's config entries

GET

/v1/tenant/config

```sh
curl --request GET \
  --url 'https://example.com/v1/tenant/config?limit=25&kind=env' \
  --header 'Authorization: Bearer <token>'
```

Cursor-paginated: the env entries (in the env binding order), then the secret entries (in the secrets binding order); a page holds at most `limit` entries and `nextCursor` resumes where it ended. Optional `?kind=` narrows to one slot (env / config / secret); `?keyPrefix=` matches on entry key. **Secret values are ALWAYS redacted on this admin surface** — the dispatch path is the only reader that receives raw material.

## Authorizations

- **[bearerAuth](https://docs.kindgi.com/v0.1.8/reference/api.md#bearerauth)**

## Parameters

### Query Parameters

**limit**

integer

default: 25 >= 1 <= 100

1..100. Default 25.

**cursor**

string

Where the previous page ended: its `nextCursor`, as it came. A runtime that seals cursors takes one only for the same list, filters and caller, within a day; otherwise `400 bad-input`, and the list starts again without it. Absent → first page.

**kind**

Slot for a tenant config entry (tenant-scoped). `env` and `config` both address `EnvBinding`; `secret` addresses `SecretBinding`. Prefer `/v1/env/*` + `/v1/secrets/*` for new callers.

string

Allowed values: env config secret

Restrict to one slot: env, config, or secret.

**keyPrefix**

string

Prefix match on entry key.

## Responses

### 200

Page of tenant-config entries.

application/json

object

**data**

required

Array\<object>

object

**tenantId**

required

string

**kind**

required

Slot for a tenant config entry (tenant-scoped). `env` and `config` both address `EnvBinding`; `secret` addresses `SecretBinding`. Prefer `/v1/env/*` + `/v1/secrets/*` for new callers.

string

Allowed values: env config secret

**key**

required

string

**value**

required

Entry value. For `kind: "secret"` this is ALWAYS `[redacted]` on this admin surface; use the `/v1/secrets/*` routes and `SecretBinding.resolve` on the dispatch path to read plaintext.

string

**sensitive**

required

boolean

**revision**

required

integer

**updatedAt**

required

string

**hasMore**

required

boolean

**nextCursor**

string

##### Example

```json
{
  "data": [
    {
      "kind": "env"
    }
  ]
}
```

### 400

Malformed query parameter.

application/json

object

**error**

required

object

**code**

required

Stable machine-readable discriminant. Values match domain error codes (see `docs/API-ROUTE-CONVENTIONS.md` §4.3).

string

**message**

required

string

**details**

Optional, kind-specific.

object

**_key_**

additional properties

any

**requestId**

required

Server-assigned request id; also echoed via `X-Request-Id` header.

string

##### Examplegenerated

```json
{
  "error": {
    "code": "example",
    "message": "example",
    "details": {},
    "requestId": "example"
  }
}
```

### 401

Missing / malformed / expired / revoked bearer token.

application/json

object

**error**

required

object

**code**

required

Stable machine-readable discriminant. Values match domain error codes (see `docs/API-ROUTE-CONVENTIONS.md` §4.3).

string

**message**

required

string

**details**

Optional, kind-specific.

object

**_key_**

additional properties

any

**requestId**

required

Server-assigned request id; also echoed via `X-Request-Id` header.

string

##### Examplegenerated

```json
{
  "error": {
    "code": "example",
    "message": "example",
    "details": {},
    "requestId": "example"
  }
}
```

## See also

- [`PATCH /v1/tenant/config`: Upsert a tenant-config entry](https://docs.kindgi.com/v0.1.8/reference/api/operations/tenantconfigupsert.md)
- [Every error code](https://docs.kindgi.com/v0.1.8/reference/errors.md)
