---
title: "Get my tool permissions"
url: https://hexelstudio.com/docs/api/titan/management/get-my-tool-permissions
---

# Get my tool permissions

**GET** `/titan/management/me/tool-permissions/deployments/{deployment_id}/toolkits/{toolkit}`

The caller's own tool permissions for one toolkit, in the organization of the deployment: the person's own CIAM user token (sub is the person), no IAM permission. A person may only tighten below the organization's ceiling.

## Path parameters

- `deployment_id: string`

  The deployment the person's agents act through; its organization holds the settings.

- `toolkit: string`

  A toolkit slug (for example MCP_GITHUB).

## Headers

- `Authorization: string`

  `Bearer <token>`. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

## Returns

`200` Organization-scoped result. (`ToolPermissionsView`)

- `deployments: optional array of object`

  - `applied: boolean`

  - `deployment_id: string`

  - `enforcement_deployment_id: string`

  - `error_code: optional string`

- `group_ceilings: object`

  - `delete: optional string`

    One of: `"allow"`, `"approval"`, `"blocked"`

  - `read: optional string`

    One of: `"allow"`, `"approval"`, `"blocked"`

  - `write: optional string`

    One of: `"allow"`, `"approval"`, `"blocked"`

- `record: object`

  - `groups: optional object`

    - `delete: optional string`

      One of: `"allow"`, `"approval"`, `"blocked"`

    - `read: optional string`

      One of: `"allow"`, `"approval"`, `"blocked"`

    - `write: optional string`

      One of: `"allow"`, `"approval"`, `"blocked"`

  - `toolkit: string`

  - `tools: optional map[string]`

  - `v: integer`

    One of: `1`

- `toolkit: string`

- `tools: array of object`

  - `approval_required_by_tool: boolean`

  - `capability_id: string`

  - `ceiling: string`

    One of: `"allow"`, `"approval"`, `"blocked"`

  - `choice: optional string`

    One of: `"allow"`, `"approval"`, `"blocked"`

  - `description: string`

  - `effective: optional string`

    One of: `"allow"`, `"approval"`, `"blocked"`

  - `group: string`

    One of: `"read"`, `"write"`, `"delete"`

  - `input_schema: any`

  - `title: string`

- `v: integer`

  One of: `1`

- `version: string`

## Errors

- `400` INVALID_REQUEST: the body is not the closed record (v 1, the path's toolkit, groups read/write/delete and tools levels allow, approval or blocked, nothing else) or the path has a query; TOOL_NOT_IN_TOOLKIT when a tools key names no tool of the toolkit in the organization's catalog (for a person: none the organization did not block).
- `401` Missing or invalid authenticated context.
- `403` FORBIDDEN: not a person's own user token (a service user or role session), or the person is neither a member of the deployment's organization nor of another organization on a deployment that acts for people of other organizations.
- `404` NOT_FOUND for every tool permissions path while the organization does not have tool permissions, or the deployment is unknown or retired; TOOLKIT_NOT_FOUND when no tool of the toolkit is in the organization's catalog.
- `405` HTTP method is not supported on this route.
- `502` The plane or a deployment's Configuration Authority refused or answered unexpectedly (closed code).
- `503` Local storage or a Configuration Authority unavailable (the organization's tool list cannot be read).

## Example

```bash
curl --request GET \
  --url 'https://api.hexelstudio.com/v1/titan/management/me/tool-permissions/deployments/{deployment_id}/toolkits/{toolkit}' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{
  "deployments": [
    {
      "applied": true,
      "deployment_id": "string",
      "enforcement_deployment_id": "string",
      "error_code": "string"
    }
  ],
  "group_ceilings": {
    "delete": "allow",
    "read": "allow",
    "write": "allow"
  },
  "record": {
    "groups": {
      "delete": "allow",
      "read": "allow",
      "write": "allow"
    },
    "toolkit": "string",
    "tools": {
      "key": "allow"
    },
    "v": 1
  },
  "toolkit": "string",
  "tools": [
    {
      "approval_required_by_tool": true,
      "capability_id": "string",
      "ceiling": "allow",
      "choice": "allow",
      "description": "string",
      "effective": "allow",
      "group": "read",
      "input_schema": "string",
      "title": "string"
    }
  ],
  "v": 1,
  "version": "string"
}
```

### Response (400)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (401)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (403)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (404)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (405)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (502)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (503)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```
