---
title: "GET /users/username/{username}"
method: GET
path: "/users/username/{username}"
tags: ["users"]
---

# GET /users/username/{username}

`GET /users/username/{username}`

Get a user by username.

## Path parameters

- `username` string, required

## Query parameters

- `include` string

## Response `200`

A user with the specified username

- User
  - `avatarUrl` string
  - `curator` boolean — Indicates whether this user is a curator. The value is always false unless requested for oneself or by an admin
  - `id` integer
  - `isAdmin` boolean — Indicates whether the user is an admin. The value is always false unless requested for oneself or by an admin
  - `metricsRobot` boolean
  - `metricsRobotPartner` 'GALAXY' | 'TERRA' | 'DNA_STACK' | 'DNA_NEXUS' | 'CGC' | 'NHLBI_BIODATA_CATALYST' | 'ANVIL' | 'CAVATICA' | 'NEXTFLOW_TOWER' | 'ELWAZI' | 'AGC' | 'TOIL' | 'OTHER' | 'ALL' — Indicates whether this user is a robot that submits metrics
  - `name` string
  - `orcid` string
  - `platformPartner` 'GALAXY' | 'TERRA' | 'DNA_STACK' | 'DNA_NEXUS' | 'CGC' | 'NHLBI_BIODATA_CATALYST' | 'ANVIL' | 'CAVATICA' | 'NEXTFLOW_TOWER' | 'ELWAZI' | 'AGC' | 'TOIL' | 'OTHER' | 'ALL' — Indicates whether this account corresponds to a platform partner
  - `privacyPolicyVersion` 'NONE' | 'PRIVACY_POLICY_VERSION_2_5'
  - `privacyPolicyVersionAcceptanceDate` integer
  - `setupComplete` boolean
  - `tosacceptanceDate` integer
  - `tosversion` 'NONE' | 'TOS_VERSION_1' | 'TOS_VERSION_2'
  - `tosversionAcceptanceDate` integer
  - `userProfiles` object
  - `username` string
  - `usernameChangeRequired` boolean — Indicates whether the user is required to change their username before being allowed to do various operations on Dockstore.

## Other responses

- `400` — Bad request
- `404` — User not found

---

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