---
title: "Get Current User and Project Info"
method: GET
path: "/ai/api/user"
tags: ["Authentication"]
---

# Get Current User and Project Info

`GET /ai/api/user`

## Request

- Base URL: `https://sharksapi.ai`
- URL: `https://sharksapi.ai/ai/api/user`
- Auth: HTTP bearer

Returns the authenticated user's details and their current active project

## Response `200`

Successful response

- object
  - `id` integer
  - `name` string
  - `email` string
  - `current_project` object
    - `id` integer
    - `name` string
    - `slug` string

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/sharksapi/apis/sharksapi-ai-complete-api.md) · [All operations](https://skmtc.dev/sharksapi/apis/sharksapi-ai-complete-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sharksapi/apis/sharksapi-ai-complete-api/revisions/7e956273a359?raw)
