# Get aggregate metadata by Vanda ID

Retrieve metadata for an aggregate by its Vanda ID.

Endpoint: GET /aggregates/reference/{vanda_id}
Version: 1.0.0
Security: HTTPBearer

## Security:

  - `HTTPBearer` (unknown)
    http bearer

## Path parameters:

  - `vanda_id` (string, required)
    Vanda identifier

## Query parameters:

  - `include_constituents` (boolean)
    Include constituent count in response

## Response 200:

  - `200` (unknown)
    Successful Response

## Response 200 fields (application/json):

  - `metadata` (object, required)
    Aggregate metadata schema.

  - `metadata.id` (integer, required)
    Aggregate ID

  - `metadata.vanda_id` (string, required)
    Vanda identifier

  - `metadata.type` (string, required)
    Aggregate type

  - `metadata.subtype` (any)
    Aggregate subtype

  - `metadata.active` (boolean, required)
    Active status

  - `metadata.result_type` (string)
    Result type discriminator

  - `constituents_count` (any)
    Number of constituents

## Response 422:

  - `422` (unknown)
    Validation Error

## Response 422 fields (application/json):

  - `detail` (array)

  - `detail.loc` (array, required)

  - `detail.msg` (string, required)

  - `detail.type` (string, required)

  - `detail.input` (any)

  - `detail.ctx` (object)

