> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List VaR run information for a portfolio and pricing date.

> Uses `PortfolioNames` and `PricingDates` when those lists are non-empty; otherwise it uses the
singular portfolio name and pricing date. If every selected portfolio name is empty, the operation returns an
unsuccessful response without querying report information. Empty names mixed with valid names are omitted
without a warning, and the result reflects only the valid names. Results may contain both run information and
messages, with no atomicity or ordering guarantee. This versioned action is deprecated and does not declare a
replacement route.



## OpenAPI

````yaml /risk-and-pricing/atoti-risk-services/apis-endpoints/openapi/openapi.mintlify.json post /api/VarReport/GetReportInfos
openapi: 3.0.4
info:
  title: Derivitec Api 1.0
  version: '1.0'
servers:
  - url: https://api.riskportal.activeviam.com
security:
  - oauth2: []
  - apikey: []
tags:
  - name: AdminUser
  - name: AtotiReport
  - name: AtotiSession
  - name: BloombergOAuth
  - name: Bond
  - name: BondYieldCurvePage
  - name: BookAccess
  - name: Books
  - name: Commodity
  - name: Counterparties
  - name: Currencies
  - name: Equity
  - name: EquityDividend
  - name: EquityPage
  - name: FeatureFlag
  - name: Fx
  - name: FxPage
  - name: GroupAccess
  - name: Home
  - name: LegacyPosition
  - name: MarketData
  - name: MarketDataProvider
  - name: MarketDataProviderAccess
  - name: Meta
  - name: Notification
  - name: Organisation
  - name: PnLReport
  - name: PortfolioAccess
  - name: Portfolios
  - name: Position
  - name: PositionFilter
  - name: PricingEnvironment
  - name: PricingEnvironmentAccess
  - name: RateAsset
  - name: RateAssetPage
  - name: Report
  - name: ReportDefinition
  - name: ReportHistoryLauncherQuery
  - name: ReportLauncher
  - name: ReportQuery
  - name: ReportQueryViewUser
  - name: ReportRestriction
  - name: ReportView
  - name: RiskReport
  - name: Tradable
  - name: TradeBooking
  - name: User
  - name: VarReport
  - name: VarReportQuery
  - name: YieldCurvePage
paths:
  /api/VarReport/GetReportInfos:
    post:
      tags:
        - VarReport
      summary: List VaR run information for a portfolio and pricing date.
      description: >-
        Uses `PortfolioNames` and `PricingDates` when those lists are non-empty;
        otherwise it uses the

        singular portfolio name and pricing date. If every selected portfolio
        name is empty, the operation returns an

        unsuccessful response without querying report information. Empty names
        mixed with valid names are omitted

        without a warning, and the result reflects only the valid names. Results
        may contain both run information and

        messages, with no atomicity or ordering guarantee. This versioned action
        is deprecated and does not declare a

        replacement route.
      operationId: GetReportInfos
      requestBody:
        description: >-
          The body containing singular `PortfolioName` and `PricingDate`, legacy
          `PortfolioNames` and `PricingDates` lists (empty by default), optional
          `PortfolioType`, and `RunByUserEmails` (empty by default).
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/ApiGetReportInfosRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/ApiGetReportInfosRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ApiGetReportInfosRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ApiGetReportInfosRequest'
      responses:
        '200':
          description: >-
            Returns combined VaR run information and messages for the selected
            portfolios and pricing dates.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiGetVarReportInfosResponse'
        '400':
          description: BadRequest
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - oauth2: []
        - apikey: []
components:
  schemas:
    ApiGetReportInfosRequest:
      required:
        - $type
      type: object
      properties:
        report_name:
          type: string
          description: >-
            Organisation-scoped name of the report definition to use. The value
            must not be null or empty.
          nullable: true
          example: Daily risk overview
        reporting_currency:
          type: string
          description: >-
            Currency in which report values are expressed. When null, the
            service uses the caller's configured reporting currency or USD.
          nullable: true
          example: USD
        market_data_environment_names:
          type: array
          items:
            type: string
          description: >-
            Names of market-data environments to use for the report. The list is
            empty by default.
          nullable: true
        portfolio_name:
          type: string
          description: >-
            Name of the portfolio to select. The value must not be null or
            empty.
          nullable: true
          example: Example portfolio
        portfolio_type:
          enum:
            - derivitec
            - enfusion
            - orchestrade
            - liquidity_book
            - maia
            - fund_studio
            - not_set
          type: string
          description: >-
            Portfolio category used to resolve the requested portfolio. It may
            be omitted when the portfolio name resolves unambiguously.
          nullable: true
        pricing_date:
          type: string
          description: >-
            Date used to price positions for the report; no time-zone convention
            is established by this contract.
          format: date-time
        portfolio_names:
          type: array
          items:
            type: string
          description: >-
            Obsolete plural portfolio-name selector retained for compatibility;
            use the singular PortfolioName selection.
          nullable: true
          deprecated: true
        pricing_dates:
          type: array
          items:
            type: string
            format: date-time
          description: >-
            Obsolete plural pricing-date selector retained for compatibility;
            use PricingDate instead.
          nullable: true
          deprecated: true
        run_by_user_emails:
          type: array
          items:
            type: string
          description: User email addresses used to select matching report-run summaries.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.Reports.ApiGetReportInfosRequest,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Current singular and legacy plural portfolio and pricing-date selectors,
        plus run-user selectors, for listing report-run summaries.
    ApiGetVarReportInfosResponse:
      required:
        - $type
      type: object
      properties:
        is_success:
          type: boolean
          description: >-
            Whether the operation completed successfully. The default is `true`;
            error outcomes set it to `false`.
          example: true
        error_messages:
          type: array
          items:
            type: string
          description: >-
            Messages explaining operation-level failures. The collection is
            empty by default.
          nullable: true
        report_infos:
          type: array
          items:
            $ref: '#/components/schemas/VarReportInfo'
          description: Report-run summaries matching the request selectors.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.Reports.ApiGetVarReportInfosResponse,
              Derivitec.Web.Core
      additionalProperties: false
      description: Response envelope containing VaR report-run summaries.
    VarReportInfo:
      required:
        - $type
      type: object
      properties:
        confidence_level:
          type: number
          description: >-
            Confidence level associated with the VaR report; no scale is
            established here.
          format: double
        first_observation_date:
          type: string
          description: >-
            Explicit first historical observation date, when supplied or
            recorded.
          format: date-time
          nullable: true
        historical_start_date_rule:
          type: string
          description: Rule selected for resolving the first historical observation date.
          nullable: true
        id:
          type: string
          description: Opaque identifier of the report run.
          nullable: true
        mkt_data_date:
          type: string
          description: Market-data date used or recorded for the report run.
          format: date-time
        portfolio_id:
          type: integer
          description: Opaque identifier of the portfolio associated with the report run.
          format: int32
        portfolio_name:
          type: string
          description: >-
            Portfolio name associated with the report run or saved launcher
            item.
          nullable: true
        pricing_date:
          type: string
          description: >-
            Date used to price positions for the report; no time-zone convention
            is established by this contract.
          format: date-time
        real_time_mkt_data:
          type: boolean
          description: Whether the report uses the exposed real-time market-data selection.
        reporting_currency:
          type: string
          description: >-
            Currency used to express monetary report values; the code format is
            not constrained here.
          nullable: true
        report_name:
          type: string
          description: >-
            Name of the report definition associated with the run, schedule,
            restriction, or launcher item.
          nullable: true
        report_definition_id:
          type: string
          description: Opaque identifier for the report definition.
          nullable: true
        status:
          enum:
            - none
            - succeeded
            - failed
            - running
            - warning
          type: string
          description: Lifecycle state recorded for the report run or scheduled item.
        status_message:
          type: string
          description: >-
            Human-readable diagnostic associated with the recorded report or
            schedule state.
          nullable: true
        time_stamp:
          type: string
          description: >-
            Timestamp recorded for the report run; no time-zone convention is
            established by this contract.
          format: date-time
        var_horizon:
          type: integer
          description: Horizon recorded for the VaR report; no unit is established here.
          format: int32
        portfolio_type:
          enum:
            - derivitec
            - enfusion
            - orchestrade
            - liquidity_book
            - maia
            - fund_studio
            - not_set
          type: string
          description: >-
            Portfolio category recorded for the report run or saved launcher
            item.
        market_data_provider_ids:
          type: array
          items:
            type: string
          description: >-
            Opaque identifiers of market-data providers associated with the
            report run.
          nullable: true
        market_data_environment_names:
          type: array
          items:
            type: string
          description: >-
            Names of market-data environments associated with the report run or
            saved launcher item.
          nullable: true
        weighting_var_definition:
          $ref: '#/components/schemas/WeightingVarDefinition'
        last_observation_date:
          type: string
          description: >-
            Explicit last historical observation date, when supplied or
            recorded.
          format: date-time
          nullable: true
        historical_end_date_rule:
          type: string
          description: Rule selected for resolving the last historical observation date.
          nullable: true
        portfolio_date_time:
          type: string
          description: >-
            Portfolio snapshot date and time used or recorded for the report; no
            time-zone convention is established here.
          format: date-time
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.Reports.VarReportInfo, Derivitec.Web.Core
      additionalProperties: false
      description: Summary of a VaR report run.
    WeightingVarDefinition:
      required:
        - $type
      type: object
      properties:
        active:
          type: boolean
          description: Whether the VaR weighting configuration is enabled.
        window_length:
          type: integer
          description: Window-length value; no unit is established here.
          format: int32
        decay_period:
          type: integer
          description: Decay-period value; no unit is established here.
          format: int32
        scheme:
          enum:
            - exponentially_weighted
            - filtered_historical
          type: string
          description: Weighting scheme selected for the historical VaR configuration.
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.Reports.WeightingVarDefinition,
              Derivitec.Web.Core
      additionalProperties: false
      description: Configuration used to select VaR weighting behaviour.
  securitySchemes:
    oauth2:
      type: oauth2
      description: >-
        OAuth2 access-token requested from AWS Cognito and provided as a Auth
        Bearer header
      flows:
        implicit:
          authorizationUrl: https://auth.riskportal.derivitec.com/oauth2/authorize
          scopes: {}
    apikey:
      type: apiKey
      description: API-Key requested via the site and provided as a header
      name: x-api-key
      in: header

````