---
title: "List workspace profiles"
description: "PubNio API profiles.list: list workspace profiles. Request fields, examples in five clients, errors, and idempotency."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List workspace profiles

List workspace profiles with [`GET /api/v1/profiles`](https://pubnio.com/api/v1/docs#tag/profiles/GET/api/v1/profiles). Requires an API key with the `read` scope or a signed-in workspace member.

## Request

| Parameter         | In    | Type                | Required |
| ----------------- | ----- | ------------------- | -------- |
| `workspaceId`     | query | UUID                | Yes      |
| `includeArchived` | query | `"true"`, `"false"` | No       |
| `cursor`          | query | string              | No       |
| `limit`           | query | string              | No       |

## Response

- HTTP 200: `ProfileList` with `data`, `hasMore`, `nextCursor`.

The [OpenAPI document](https://pubnio.com/api/v1/openapi) has each field's type.

## Examples

### TypeScript

```ts
const profiles = await workspace.profiles.list({ includeArchived: true });
```

### Python

```python
profiles = workspace.profiles.list()
```

### cURL

```sh
curl "https://pubnio.com/api/v1/profiles?workspaceId=$WORKSPACE_ID" \
  -H "Authorization: Bearer $PUBNIO_API_KEY"
```

### CLI

```sh
pnio profiles list --include-archived
```

### MCP execute

```js
async () => {
  const response = await codemode.request({
    method: "GET",
    path: "/api/v1/profiles",
    query: { workspaceId: codemode.workspaceId },
  });
  return response.data;
};
```

## Errors

It declares no problem of its own.

It declares the problems [most operations](https://pubnio.com/docs/reference/#shared-problems) declare.

## Idempotency

None needed: a read is safe to retry.

## Limits

- Up to 100 items a page; pass `nextCursor` back as `cursor`. See [Pagination](https://pubnio.com/docs/concepts/pagination/).

## Related

- [Profiles operations](https://pubnio.com/docs/reference/#profiles)
- [Accounts and connections](https://pubnio.com/docs/accounts/)
- [Build a platform](https://pubnio.com/docs/build-a-platform/)

Source: https://pubnio.com/docs/reference/profiles-list/index.mdx
