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

# Get the active view preference for the current portal user



## OpenAPI

````yaml /generated/api-reference/openapi.json get /portal/views/{resource}/active
openapi: 3.0.0
info:
  title: Yardo Public API
  description: >-
    Public and partner-facing Yardo API surface for carrier portal and driver
    check-in flows.
  version: 0.1.0
  contact: {}
servers: []
security: []
tags:
  - name: Carrier Portal
  - name: Public Check-In
paths:
  /portal/views/{resource}/active:
    get:
      tags:
        - Carrier Portal
      summary: Get the active view preference for the current portal user
      operationId: PortalSavedViewsController_getActive
      parameters:
        - name: resource
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````