## Get SPV

`client.V1.PrivateMarkets.GetSpvByID(ctx, spvID, query) (*V1PrivateMarketGetSpvByIDResponse, error)`

**get** `/v1/private-markets/spvs/{spv_id}`

Fetch one private-market SPV's complete economics and fee schedule. Requires
the account holder to have attested. Returns `404` unless the SPV is `OPEN`
and attached to a currently visible `ACTIVE` offering.

### Parameters

- `spvID string`

- `query V1PrivateMarketGetSpvByIDParams`

  - `AccountID param.Field[int64]`

    Account whose account-holder entity must hold an accreditation
    attestation to browse private-market offerings.

### Returns

- `type V1PrivateMarketGetSpvByIDResponse struct{…}`

  - `Data SpvDetail`

    An OPEN SPV's identity, exact economics, and typed fee schedule.

    - `ID string`

      Stable SPV identifier.

    - `CompanyID string`

      Company whose shares the vehicle holds.

    - `Currency Currency`

      Terms currency.

      - `const CurrencyUsd Currency = "USD"`

    - `Name string`

      Legal/display name.

    - `Status SpvStatus`

      Lifecycle state.

      - `const SpvStatusDraft SpvStatus = "DRAFT"`

      - `const SpvStatusOpen SpvStatus = "OPEN"`

      - `const SpvStatusClosed SpvStatus = "CLOSED"`

      - `const SpvStatusLiquidating SpvStatus = "LIQUIDATING"`

      - `const SpvStatusDissolved SpvStatus = "DISSOLVED"`

    - `AllInPricePerShare string`

      Price per share including fees.

    - `CustodianName string`

      Custodian.

    - `FeePerShare string`

      Per-share fee.

    - `FeeTerms []SpvFeeTermResource`

      Typed fee schedule.

      - `ChargedBy ChargedBy`

        Charging party.

        - `const ChargedByFundManager ChargedBy = "FUND_MANAGER"`

        - `const ChargedByClearStreet ChargedBy = "CLEAR_STREET"`

        - `const ChargedByThirdParty ChargedBy = "THIRD_PARTY"`

      - `Currency Currency`

        Terms currency.

      - `Description string`

        Plain-text fee disclosure.

      - `FeeType FeeType`

        Fee kind.

        - `const FeeTypeManagement FeeType = "MANAGEMENT"`

        - `const FeeTypeCarry FeeType = "CARRY"`

        - `const FeeTypePlacement FeeType = "PLACEMENT"`

        - `const FeeTypeAdministrative FeeType = "ADMINISTRATIVE"`

        - `const FeeTypeOther FeeType = "OTHER"`

      - `Frequency FeeFrequency`

        Timing/cadence.

        - `const FeeFrequencyOneTime FeeFrequency = "ONE_TIME"`

        - `const FeeFrequencyAnnual FeeFrequency = "ANNUAL"`

        - `const FeeFrequencyAtExit FeeFrequency = "AT_EXIT"`

        - `const FeeFrequencyPassThrough FeeFrequency = "PASS_THROUGH"`

      - `Amount string`

        Exact fixed amount, when amount-based.

      - `DurationYears string`

        Charge duration in years, when specified.

      - `HurdleRate string`

        Carry hurdle as a decimal fraction, when specified.

      - `Rate string`

        Decimal fraction between zero and one, when percentage-based.

    - `FundedPercent string`

      Percentage of dollar allocation funded, derived from the allocation pair.

    - `FundingDeadline Time`

      Funding deadline.

    - `ManagerName string`

      SPV manager.

    - `MinimumInvestmentAmount string`

      Minimum investment amount.

    - `OpenedAt Time`

      Time the vehicle opened.

    - `PricePerShare string`

      Price per share excluding fees.

    - `RemainingAllocationAmount string`

      Remaining dollar allocation.

    - `RemainingShareAllocation string`

      Remaining share allocation.

    - `ShareClass string`

      Underlying share class, when specified.

    - `StructureDescription string`

      Plain-text vehicle structure.

    - `TotalAllocationAmount string`

      Total dollar allocation.

    - `TotalShareAllocation string`

      Total share allocation.

    - `Valuation string`

      Exact company valuation.

    - `ValuationBasis ValuationBasis`

      Meaning of `valuation`.

      - `const ValuationBasisPreMoney ValuationBasis = "PRE_MONEY"`

      - `const ValuationBasisPostMoney ValuationBasis = "POST_MONEY"`

      - `const ValuationBasisReference ValuationBasis = "REFERENCE"`

      - `const ValuationBasisImplied ValuationBasis = "IMPLIED"`

### Example

```go
package main

import (
  "context"
  "fmt"

  "github.com/clear-street/clear-street-go"
  "github.com/clear-street/clear-street-go/option"
)

func main() {
  client := clearstreet.NewClient(
    option.WithAPIKey("My API Key"),
  )
  response, err := client.V1.PrivateMarkets.GetSpvByID(
    context.TODO(),
    "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    clearstreet.V1PrivateMarketGetSpvByIDParams{
      AccountID: 0,
    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response)
}
```

#### Response

```json
{
  "data": {
    "all_in_price_per_share": "102.5",
    "company_id": "b2b3b4b5-c2c3-d2d3-e2e3-e4e5e6e7e8e9",
    "currency": "USD",
    "custodian_name": "Clear Street LLC",
    "fee_per_share": "2.5",
    "funded_percent": "70",
    "id": "c3c4c5c6-d3d4-e3e4-f3f4-f5f6f7f8f9f0",
    "manager_name": "Clear Street Ventures",
    "minimum_investment_amount": "25000",
    "name": "Acme Robotics SPV III",
    "price_per_share": "100",
    "remaining_allocation_amount": "1500000",
    "remaining_share_allocation": "15000",
    "share_class": "Series D",
    "status": "OPEN",
    "total_allocation_amount": "5000000",
    "total_share_allocation": "50000",
    "valuation": "5000000000",
    "valuation_basis": "PRE_MONEY"
  },
  "error": null,
  "metadata": {
    "request_id": "7c8d9e0f-1a2b-3c4d-5e6f-7a8b9c0d1e2f"
  }
}
```
