---
title: "Who can ask without opening the data (managers only)"
method: GET
path: "/agents/access/grants"
tags: ["AI", "Agents"]
---

# Who can ask without opening the data (managers only)

`GET /agents/access/grants`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/agents/access/grants`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

## Response `200`

Request fulfilled, document follows

- GrantView[]
  - `id` integer, required
  - `user` GrantUser, required
    - `id` integer, nullable
    - `name` string, nullable
    - `email` string, required
    - `is_guest` boolean, required
  - `level` 'ask' | 'explore' | 'build', required
  - `items` GrantProject[], required
    - `project_id` integer, required
    - `project_name` string, required
    - `file_ids` integer[], nullable
    - `file_names` string[], nullable
  - `granted_by` GrantedBy
    - `id` integer, required
    - `name` string, nullable
  - `created_at` string, required

## Other responses

- `400`: Bad request syntax or unsupported method
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/5dfd1c296ded?raw)
