---
title: "Get account"
method: GET
path: "/account"
tags: ["Account"]
---

# Get account

`GET /account`

## Request

- Base URL: `https://api.darwin.so/api/v1`
- URL: `https://api.darwin.so/api/v1/account`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Requires a user API key.

## Response `200`

The authenticated account and its accessible AIs.

- Account
  - `id` string, required
  - `email` string, email, required
  - `name` string, nullable
  - `image` string, uri, nullable
  - `timeZone` string, nullable
  - `ais` AI[], required
    - `id` string, required
    - `type` 'personal' | 'business', required
    - `name` string, required
    - `handle` string, nullable
    - `avatarUrl` string, uri, nullable
    - `description` string, nullable
    - `links` object[]
    - `capabilities` object[]
    - `location` object
    - `organization` object
    - `visibility` 'PUBLIC' | 'RESTRICTED' | 'PRIVATE', required
    - `accessPolicyId` string, nullable
    - `status` string, required
    - `profile` object
    - `role` 'owner' | 'admin' | 'member', nullable
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400`: The request was invalid.
- `401`: The API key or access token is missing, invalid, expired, or revoked.
- `403`: The principal does not have the required scope or resource access.
- `404`: The resource was not found for this principal.

---

[API](https://skmtc.dev/darwin/apis/darwin-api.md) · [All operations](https://skmtc.dev/darwin/apis/darwin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/darwin/apis/darwin-api/revisions/56166fce7bfb?raw)
