---
title: "Get current user"
method: GET
path: "/api/v1/user/me"
tags: ["user"]
---

# Get current user

`GET /api/v1/user/me`

Fetches the currently logged in user along with a list of their agent.

## Headers

- `authorization` string — This is your JWT tolen
- `x-api-key` string — A valid API key

## Response `200`

200

- object
  - `success` boolean, required — Indicates if the request was successful
  - `user` object, required — The current user
    - `id` string, required
    - `name` string — The user's name
    - `email` string, email, required — The user's email
    - `handle` string, nullable, required
    - `emailVerified` string, date-time, nullable, required
    - `image` string, nullable, required
    - `referralCode` string, nullable, required
    - `referredBy` string, nullable, required
    - `numReferrals` number, nullable, required
    - `isWaitlisted` boolean, nullable, required
    - `data` unknown, required
    - `credits` number, required
    - `plan` string, nullable, required
    - `billingSettings` unknown, required
    - `revenue` number, nullable, required
    - `pendingPayout` number, nullable, required
    - `totalPayout` number, nullable, required
    - `tasksCompleted` number, nullable, required
    - `apiKey` string, nullable, required
    - `createdAt` string, required
    - `updatedAt` string, required
  - `agents` object[], required
    - `id` string, required
    - `title` string, required
    - `handle` string, nullable, required
    - `image` string, nullable, required
    - `userId` string, nullable, required
    - `description` string, nullable, required
    - `useCase` string, nullable, required
    - `uiSchema` unknown, required
    - `inputSchema` unknown, required
    - `details` unknown, required
    - `visibility` string, required
    - `ratings` number[], nullable, required
    - `averageRating` string, nullable, required
    - `revenue` number, nullable, required
    - `pendingPayout` number, nullable, required
    - `totalPayout` number, nullable, required
    - `taskRequests` number, nullable, required
    - `tasksStarted` number, nullable, required
    - `tasksCompleted` number, nullable, required
    - `price` number, nullable, required
    - `webhookEnabled` boolean, nullable, required
    - `webhookDetails` unknown, required
    - `createdAt` string, required
    - `updatedAt` string, required

## Changes

- **2024-08-20** `74bdfb8101cc` — 13 breaking, 16 info
  - removed the required property `agents/items/data` from the response with the `200` status
  - removed the required property `agents/items/lifetimeEarnings` from the response with the `200` status
  - removed the required property `agents/items/owner` from the response with the `200` status
  - removed the required property `agents/items/preview` from the response with the `200` status
  - …25 more
- **2024-08-05** `4042c6552ea9` — 1 breaking, 1 info
  - removed the required property `agents/items/apiKey` from the response with the `200` status
  - added the required property `user/apiKey` to the response with the `200` status
- **2024-08-03** `3b82b46ab1d2` — 1 breaking
  - the response property `user/name` became optional for the status `200`

[Change history](https://skmtc.dev/artilla-ai/apis/artilla-api-documentation/changes/api/v1/user/me/get.md)

---

[API](https://skmtc.dev/artilla-ai/apis/artilla-api-documentation.md) · [All operations](https://skmtc.dev/artilla-ai/apis/artilla-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/artilla-ai/artilla-api-documentation/revisions/db7d7d4115f0/schema)
