# List the project's sites

GET

/v1/projects/{projectId}/sites

```sh
curl --request GET \
  --url 'https://example.com/v1/projects/example/sites?limit=25' \
  --header 'Authorization: Bearer <token>'
```

The sites that sign their own people in to this project. Tenant admins only: a site creates people in the tenant. `includeUnregistered=true` lists unregistered ones too. Mounted when the deployment supplies a `SiteBinding`.

## Authorizations

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

## Parameters

### Path Parameters

**projectId**

required

string

ProjectId — opaque branded string.

### 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.

**includeUnregistered**

boolean

With `true`, unregistered sites too.

## Responses

### 200

A page of sites.

application/json

object

**data**

required

Array\<object>

A site that signs its own people in to one project: it vouches for whoever is signed in there, so they ask the project’s agents and decide its approvals as themselves. Each person it signs in is a person of the tenant, shown as “, via ”.

object

**siteId**

required

string format: uuid

**projectId**

required

string format: uuid

**displayName**

required

Set by a tenant admin, never by the site: shown after every name the site signs in.

string

**origin**

required

The site’s origin (`https://acme-store.example`).

string

**approvalsUrl**

required

Where an approval opens on the site; `{approvalId}` is replaced. A site’s people get it in their reviewer email.

string

**allowedRoles**

required

Array\<string>

**roleMap**

required

Role → grant. A person with several allowed roles gets the most any of them gives.

object

**_key_**

additional properties

What a person with one of the site’s roles gets in the site’s project. Reading the project comes with every role; nothing above it ever does.

object

**ask**

required

Whether they may start turns with the project’s agents.

boolean

**reviewer**

The reviewer role they decide approvals with, at most the site’s `reviewerCeiling`; absent: they decide none.

string

Allowed values: standard senior

**reviewerCeiling**

required

string

Allowed values: standard senior

**vouching**

required

Whether the site’s statements are accepted.

boolean

**peopleCap**

required

At most this many live people from the site.

integer

\>= 1

**newPeoplePerDay**

required

At most this many new people from the site per day.

integer

\>= 1

**keys**

required

Array\<object>

One of the site’s live public keys. Kindgi never has a private half.

object

**kid**

required

string

**thumbprint**

required

The key’s RFC 7638 thumbprint, to compare with the one the site shows.

string

**addedAt**

required

string format: date-time

**audience**

What the site’s statements carry as `aud`: this deployment’s public URL, given at enrollment.

string

**createdAt**

required

string format: date-time

**createdBy**

string

**pausedAt**

string format: date-time

**unregisteredAt**

string format: date-time

**nextCursor**

string

**hasMore**

required

boolean

##### Example

```json
{
  "data": [
    {
      "roleMap": {
        "additionalProperty": {
          "reviewer": "standard"
        }
      },
      "reviewerCeiling": "standard"
    }
  ]
}
```

### 400

`projectId` is not a project id (a UUID), or a malformed query.

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"
  }
}
```

### 403

Not a tenant admin.

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

- [`POST /v1/projects/{projectId}/sites`: Register a site](https://docs.kindgi.com/reference/api/operations/projectssitesregister.md)
- [`GET /v1/projects/{projectId}`: Fetch a project by id](https://docs.kindgi.com/reference/api/operations/projectsget.md)
- [`PATCH /v1/projects/{projectId}`: Partially update a project](https://docs.kindgi.com/reference/api/operations/projectsupdate.md)
- [`DELETE /v1/projects/{projectId}`: Delete a project (idempotent)](https://docs.kindgi.com/reference/api/operations/projectsdelete.md)
- [Every error code](https://docs.kindgi.com/reference/errors.md)
