---
title: "Read who is signed in"
method: GET
path: "/me"
tags: ["Me"]
---

# Read who is signed in

`GET /me`

## Request

- Base URL: `https://app.artil.ai/api`
- URL: `https://app.artil.ai/api/me`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://mcp.artil.ai/oauth/authorize`
    - Token URL: `https://mcp.artil.ai/oauth/token` scopes: `agent`

Read the member or agent the token signs in as, and its workspace.

## Response `200`

The signed-in member or agent

- union
  - object
    - `kind` 'member', required
    - `userId` string, uuid, required
    - `role` 'admin' | 'member', required
    - `orgId` string, uuid, required
    - `workspace` object, required
      - `name` string, nullable, required
    - `agent` object, nullable, required: The agent the token acts as, or null for a member
      - `id` string, uuid, required
      - `name` string, required
  - object
    - `kind` 'identity', required
    - `identityId` string, uuid, required
    - `signedInBy` string, uuid, required: The member who made the token, such as by approving a sign-in
    - `orgId` string, uuid, required
    - `workspace` object, required
      - `name` string, nullable, required
    - `agent` object, nullable, required: The agent the token acts as, or null for a member
      - `id` string, uuid, required
      - `name` string, required

## Other responses

- `4XX`: The request failed; the error says why
- `5XX`: The request failed; the error says why

---

[API](https://skmtc.dev/artil/apis/artil-api.md) - [All operations](https://skmtc.dev/artil/apis/artil-api/llms.txt) - [OpenAPI document](https://skmtc.dev/artil/apis/artil-api/revisions/55db0efa0cb8?raw)
