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

# Get view

> Get one view on a project

Returns the name and parent of a single view.

The view must belong to the project. A chart grouping, or a view from another project, is not found.

## Request

**Authorization** `string` *required*

Bearer token for a workspace API key scoped to this workspace.

**workspace** `string` *required*

Workspace slug.

**project** `integer` *required*

Project ID.

**view** `integer` *required*

View ID from [List views](/docs/api/projects/views/list.md).

```bash theme={null}
curl "https://app.askgrapple.com/api/v1/workspaces/acme-corp/projects/42/views/117" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response

**data** `object`

View details.

**properties**

**id** `integer`

View ID.

**name** `string`

View name.

**parent\_id** `integer | null`

ID of the parent view when this view is nested. `null` for a top-level view.

```json theme={null}
{
  "data": {
    "id": 117,
    "name": "Last name",
    "parent_id": null
  }
}
```

## Errors

| Status | Reason |
| - | - |
| `401` | Missing or invalid API key |
| `403` | API key does not belong to this workspace |
| `404` | Project or view not found in this workspace |


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