---
title: "show subaccounts"
method: GET
path: "/api/v0/subaccounts/"
tags: ["Accounts"]
---

# show subaccounts

`GET /api/v0/subaccounts/`

Retrieve a list of subaccounts associated with the authenticated user's account.

CLI Usage: `vastai show subaccounts`

## Response `200`

A list of subaccounts.

- object
  - `users` object[]
    - `id` integer — The unique identifier of the subaccount.
    - `parent_id` integer — The ID of the parent account.
    - `key_id` integer — The API key ID associated with the subaccount.
    - `created_at` string, date-time — The timestamp when the subaccount was created.
    - `deleted_at` string, date-time, nullable — The timestamp when the subaccount was deleted, if applicable.

## Other responses

- `401` — Unauthorized access due to invalid or missing authentication token.
- `429` — Too Many Requests

---

[API](https://skmtc.net/vast/apis/vast-ai-api.md) · [All operations](https://skmtc.net/vast/apis/vast-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vast/vast-ai-api/revisions/4ed14f79f796/schema)
