---
title: "Identify the caller"
method: GET
path: "/v3/whoami"
tags: ["Account"]
---

# Identify the caller

`GET /v3/whoami`

## Request

- Base URL: `https://api.together.ai`
- URL: `https://api.together.ai/v3/whoami`
- Auth: HTTP bearer

Returns identity information for the authenticated caller. Accepts project API keys and user session JWTs. The response `type` indicates which fields are present.
For project-scoped credentials, `project.slug` can be used with an endpoint slug as `<project_slug>/<endpoint_slug>` to form the `model` value in dedicated endpoint inference calls.

## Response `200`

Caller identity

- union: The caller. `type` names the variant and which fields are present.
  - WhoamiProjectApiKey
    - `type` 'project_api_key', required: Always `project_api_key`.
    - `api_key` WhoamiApiKey, required
      - `id` string, required: The authenticated API key identifier.
    - `organization` WhoamiOrganization, required
      - `id` string, required: Organization identifier.
      - `name` string, required: Organization display name.
    - `project` WhoamiProject, required
      - `id` string, required: Project identifier.
      - `name` string, required: Project display name.
      - `slug` string, required: DNS-friendly project identifier. Used with an endpoint slug as `<project_slug>/<endpoint_slug>` to form the `model` value in dedicated endpoint inference calls.
  - WhoamiOrgApiKey
    - `type` 'org_api_key', required: Always `org_api_key`.
    - `api_key` WhoamiApiKey, required
      - `id` string, required: The authenticated API key identifier.
    - `organization` WhoamiOrganization, required
      - `id` string, required: Organization identifier.
      - `name` string, required: Organization display name.
  - WhoamiUserJwt
    - `type` 'user_jwt', required: Always `user_jwt`.
    - `user` WhoamiUser, required
      - `id` string, required: Authenticated user identifier.
  - WhoamiUserOrgJwt
    - `type` 'user_org_jwt', required: Always `user_org_jwt`.
    - `user` WhoamiUser, required
      - `id` string, required: Authenticated user identifier.
    - `organization` WhoamiOrganization, required
      - `id` string, required: Organization identifier.
      - `name` string, required: Organization display name.
  - WhoamiUserOrgProjectJwt
    - `type` 'user_org_project_jwt', required: Always `user_org_project_jwt`.
    - `user` WhoamiUser, required
      - `id` string, required: Authenticated user identifier.
    - `organization` WhoamiOrganization, required
      - `id` string, required: Organization identifier.
      - `name` string, required: Organization display name.
    - `project` WhoamiProject, required
      - `id` string, required: Project identifier.
      - `name` string, required: Project display name.
      - `slug` string, required: DNS-friendly project identifier. Used with an endpoint slug as `<project_slug>/<endpoint_slug>` to form the `model` value in dedicated endpoint inference calls.

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Authentication failed or permission denied
- `404`: Not found
- `409`: Conflict
- `413`: Request body too large
- `500`: Internal server error
- `503`: Service unavailable
- `504`: Request timed out

## Changes

- **2026-10-22** `bb5257b3173a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/together/apis/together-apis/changes/v3/whoami/get.md)

---

[API](https://skmtc.dev/together/apis/together-apis.md) - [All operations](https://skmtc.dev/together/apis/together-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/together/apis/together-apis/revisions/93438ddac711?raw)
