---
title: "What the agent may do for the caller in this workspace"
method: GET
path: "/agents/access/me"
tags: ["AI", "Agents"]
---

# What the agent may do for the caller in this workspace

`GET /agents/access/me`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/agents/access/me`
- 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`

`level` is the highest of the caller's levels, or the one of `project_id` when given (null when they cannot open it). A manager of AI Agent settings may pass `preview_user_id` to read the same for that person (anyone else gets 403); `can_manage` is then the person's.

## Query parameters

- `project_id` integer, nullable
- `preview_user_id` integer, nullable

## Response `200`

Request fulfilled, document follows

- AgentAccessMe
  - `enabled` boolean, required
  - `level` 'ask' | 'explore' | 'build', nullable
  - `levels` object, required
  - `can_manage` boolean, required
  - `downloads` boolean, required
  - `grant_only` integer[], 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)
