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

# Retrieve sharing permissions for a saved report view.

> Lists the user and organisation permission records associated with the addressed saved view. This
read-only operation does not change view access or report data.



## OpenAPI

````yaml /risk-and-pricing/atoti-risk-services/apis-endpoints/openapi/openapi.mintlify.json get /api/ReportQuery/Views/{reportDefinitionId}/{view}/permissions
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/ReportQuery/Views/{reportDefinitionId}/{view}/permissions:
    get:
      tags:
        - ReportQuery
      summary: Retrieve sharing permissions for a saved report view.
      description: >-
        Lists the user and organisation permission records associated with the
        addressed saved view. This

        read-only operation does not change view access or report data.
      operationId: GetReportViewsPermissions
      parameters:
        - name: reportDefinitionId
          in: path
          description: The opaque report-definition identifier that owns the saved view.
          required: true
          schema:
            type: string
        - name: view
          in: path
          description: The opaque saved-view identifier returned when the view was created.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: >-
            Returns the saved view's sharing permission records, with business
            or access failures in the response envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetReportViewPermissionsResponse'
        '400':
          description: BadRequest
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - oauth2: []
        - apikey: []
components:
  schemas:
    GetReportViewPermissionsResponse:
      required:
        - $type
      type: object
      properties:
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Policy'
          description: Permissions returned for the selected saved report view.
          nullable: true
        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
        $type:
          type: string
          enum:
            - >-
              Derivitec.Core.Mediators.ReportView.GetReportViewPermissionsResponse,
              Derivitec.Core.Mediators
      additionalProperties: false
      description: Response containing permissions assigned to a saved report view.
    Policy:
      required:
        - $type
      type: object
      properties:
        name:
          type: string
          description: >-
            Display name of the user associated with this permission, when
            available.
          nullable: true
        user:
          type: string
          description: User value named by this public policy descriptor.
          nullable: true
        action:
          type: string
          description: Action name carried by this public policy descriptor.
          nullable: true
        resource:
          type: string
          description: Resource name addressed by this public policy descriptor.
          nullable: true
        group:
          type: string
          description: >-
            Opaque group identifier associated with this permission, when
            applicable.
          nullable: true
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.ReportQuery.Policy, Derivitec.Web.Core
      additionalProperties: false
      description: User or group permission descriptor returned for a report view.
  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

````