---
title: "Retrieve Portfolio by Account"
method: GET
path: "/accounts/{accountID}/portfolio"
tags: ["AutoPilot"]
deprecated: true
---

# Retrieve Portfolio by Account

`GET /accounts/{accountID}/portfolio`

> **Deprecated.**

Retrieve Portfolio details by accountID.

## Path parameters

- `accountID` string, required — The user's unique account identifier.

## Response `200`

Fetching Portfolio details was Successful.

- PortfolioStatusRes
  - `id` string — The unique identifier of a portfolio.
  - `equity` number — The account value of the customers account.
  - `totalDrift` number — Total drift away from target.
  - `rebalanceRequired` boolean — A flag that determines if a re-balance is required based on total drift.
  - `nextPortfolioRebalance` string — The date of the next portfolio re-balance.
  - `lastPortfolioRebalance` string — The date of the last portfolio rebalance.
  - `holdings` PortfolioHoldings[]
    - `id` string — The unique identifier of a fund.
    - `type` 'FUND' | 'CASH_RESERVE' — The type of fund.
    - `name` string — A user defined name that describes the underlying fund.
    - `target` number — The individual targeted weight of the instrument.
    - `actual` number — The percentage weight of a Fund in a Portfolio.
    - `value` number — The current value of the Fund in a Portfolio in USD.
    - `rebalanceRequired` boolean — A flag that determines if a re-balance is required based on total drift.
    - `holdings` HoldingsObject[] — A list of the securities held in a Fund.
      - `instrumentID` string — A unique ID created by DriveWealth to identify a specific instrument.
      - `target` number — The target percentage for the specific instrumentID within a fund.

---

[API](https://skmtc.net/drivewealth/apis/authentication-apis.md) · [All operations](https://skmtc.net/drivewealth/apis/authentication-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/drivewealth/authentication-apis/revisions/9fced6d0ac41/schema)
