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

# Get Analytics Workspace Suggestions

> List other workspace/personal analytics scopes with available tracked accounts

Returns cross-scope suggestions for analytics account ownership (same behavior
as the internal workspace-suggestions endpoint used in the UI).

## Response

Each item includes:

**workspaceId** `string | null`

Suggested workspace ID (`null` for personal scope).

**workspaceName** `string`

Workspace display name (or `Personal`).

**totalItems** `number`

Number of tracked analytics targets in that scope.

**isPersonal** `boolean`

Whether this suggestion points to personal scope.

```bash cURL theme={null}
curl --request GET \
  --url https://www.genviral.io/api/partner/v1/analytics/workspace-suggestions \
  --header 'Authorization: Bearer <token>'
```

```json Response theme={null}
{
  "ok": true,
  "code": 200,
  "message": "Analytics workspace suggestions retrieved",
  "data": [
    {
      "workspaceId": "bbf64a28-a2fd-48f4-88ef-bf7480f18402",
      "workspaceName": "Archived Brand Workspace",
      "totalItems": 12,
      "isPersonal": false
    }
  ]
}
```

## Error Responses

* `401`/`403` - authentication failed or key lacks workspace access
* `500` - unexpected workspace suggestion lookup error

All error responses from analytics endpoints include an `error_code` field.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.