---
title: "Get the census"
method: GET
path: "/groups/{groupId}/census"
tags: ["Census"]
---

# Get the census

`GET /groups/{groupId}/census`

Returns the stored census, each member with its server-assigned `memberId`.

## Path parameters

- `groupId` string, required

## Response `200`

The stored census.

- object
  - `members` StoredCensusMember[], required
    - union
      - object
        - `memberId` string, required — Server-assigned ID. Use it for `PATCH /groups/{groupId}/members/{memberId}`.
      - object
        - `memberId` string, required — Server-assigned ID. Use it for `PATCH /groups/{groupId}/members/{memberId}`.
  - `count` integer, required

## Other responses

- `401` — Missing, malformed, or revoked API key.
- `404` — No such resource in this mode. Test keys only see test resources; live keys only see live resources.
- `429` — Rate limit exceeded. Honor `Retry-After`.
- `500` — Something failed on our side. Safe to retry with the same `Idempotency-Key`.

---

[API](https://skmtc.dev/getprescience/apis/prescience-partner-api.md) · [All operations](https://skmtc.dev/getprescience/apis/prescience-partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getprescience/prescience-partner-api/revisions/eb1f377f8139/schema)
