---
title: "Current API token scope"
method: GET
path: "/api/auth/api-keys/current/"
tags: ["auth"]
---

# Current API token scope

`GET /api/auth/api-keys/current/`

## Request

- Base URL: `https://api.overmindlab.ai`
- URL: `https://api.overmindlab.ai/api/auth/api-keys/current/`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - API key in cookie `sessionid`
  - API key in header `X-Api-Key`
  - HTTP bearer

Return the scope of the API key on this request.

## Response `200`

- APITokenScope
  - `scope` 'account' | 'project', required: * `account` - account * `project` - project
  - `resourceIds` string[]
  - `permission` PermissionEnum[]

---

[API](https://skmtc.dev/overmindlab/apis/overmind-api.md) - [All operations](https://skmtc.dev/overmindlab/apis/overmind-api/llms.txt) - [OpenAPI document](https://skmtc.dev/overmindlab/apis/overmind-api/revisions/0ecfd39e80c6?raw)
