# Get comprehensive aggregate summary

Get comprehensive summary for an aggregate including:
    - Latest data point
    - Trend analysis (30-day lookback)
    - Constituent count
    - Metadata

Endpoint: GET /aggregates/summary/{aggregate_id}
Version: 1.0.0
Security: HTTPBearer

## Security:

  - `HTTPBearer` (unknown)
    http bearer

## Path parameters:

  - `aggregate_id` (integer, required)
    Aggregate ID

## Query parameters:

  - `interval` (string)
    Time interval

  - `asset_class` (string)
    Asset class

  - `lookback_days` (integer)
    Number of days for trend analysis

## Response 200:

  - `200` (unknown)
    Successful Response

## Response 200 fields (application/json):

  - `aggregate_id` (integer, required)
    Aggregate ID

  - `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

  - `latest` (any)
    Latest data point

  - `latest.ts` (string, required)
    Timestamp

  - `latest.id` (integer, required)
    Security/Aggregate ID

  - `latest.type` (any)
    Aggregate type

  - `latest.subtype` (any)
    Aggregate subtype

  - `latest.market_hours` (any)
    Market hours indicator

  - `latest.is_active` (any)
    Active status

  - `latest.px` (any)
    Price

  - `latest.px_chg` (any)
    Price change

  - `latest.updated_time` (any)
    Last update timestamp

  - `latest.asset_class` (any)
    Asset class identifier

  - `latest.retail_buy_turnover` (any)
    Retail buy turnover

  - `latest.retail_sell_turnover` (any)
    Retail sell turnover

  - `latest.retail_net_turnover` (any)
    Retail net turnover

  - `latest.retail_total_turnover` (any)
    Retail total turnover

  - `latest.moneyness` (any)
    Options moneyness

  - `latest.size` (any)
    Options size

  - `latest.call_turnover` (any)
    Call options turnover

  - `latest.put_turnover` (any)
    Put options turnover

  - `latest.cp_turnover` (any)
    Call/Put turnover

  - `latest.net_cp_turnover` (any)
    Net Call/Put turnover

  - `latest.call_notional` (any)
    Call options notional value

  - `latest.put_notional` (any)
    Put options notional value

  - `latest.cp_notional` (any)
    Call/Put notional value

  - `latest.net_cp_notional` (any)
    Net Call/Put notional value

  - `trends` (object, required)
    Schema for trend metrics.

  - `trends.direction` (string, required)
    Trend direction (up, down, neutral)

  - `trends.percent_change` (number, required)
    Percentage change

  - `trends.volatility` (number, required)
    Volatility (standard deviation)

  - `trends.start_value` (number, required)
    Starting value

  - `trends.end_value` (number, required)
    Ending value

  - `trends.mean` (number, required)
    Mean value

  - `constituents` (object, required)
    Constituent information

  - `lookback_days` (integer, required)
    Number of days analysed for trends

  - `data_points` (integer, required)
    Number of data points in analysis

## 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)

