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

# List object views



## OpenAPI

````yaml /api-reference/openapi.json get /v2/object-views
openapi: 3.1.0
info:
  title: Base39 API
  description: Base39 API
  version: 1.0.0
  contact:
    name: Base39 Team
    url: https://base39.com.br
    email: suporte@base39.com.br
  termsOfService: https://base39.com.br/termos
  license:
    name: Proprietary
    url: https://base39.com.br/termos
servers:
  - url: http://localhost:3000
    description: Local
  - url: https://api.dev.base39.cloud
    description: Development
  - url: https://api.base39.com.br
    description: Production
security:
  - OAuth2: []
tags:
  - name: pages
    description: Profiles and reports pages
  - name: pipelines
    description: Pipeline boards (kanban) of pages
  - name: blocks
    description: Blocks operations
  - name: search
    description: Search across content
  - name: targets
    description: Lookup targets via datasets
  - name: CognitoTriggers
    description: Cognito triggers
paths:
  /v2/object-views:
    get:
      tags:
        - object-views
      summary: List object views
      operationId: object_view_find_all
      parameters:
        - name: object_kind
          required: false
          in: query
          description: Filter views by object kind
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    enum:
                      - list
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/ObjectView'
                  type:
                    type: string
                    enum:
                      - object_view
components:
  schemas:
    ObjectView:
      type: object
      properties:
        object:
          type: string
          enum:
            - object_view
        id:
          type: string
          description: Unique view id.
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        objectKind:
          type: string
          enum:
            - report
            - deal
        type:
          type: string
          enum:
            - board
            - list
        name:
          type: string
        icon:
          nullable: true
          allOf:
            - $ref: '#/components/schemas/IconOutput'
        position:
          type: number
        locked:
          type: boolean
        config:
          $ref: '#/components/schemas/ObjectViewConfigInput'
      required:
        - object
        - id
        - createdAt
        - updatedAt
        - objectKind
        - type
        - name
        - position
        - locked
        - config
    IconOutput:
      type: object
      properties:
        type:
          type: string
          enum:
            - emoji
            - external
            - file_upload
            - domain
            - file
            - lucide
            - dicebear
            - brand
        emoji:
          type: string
          example: page_icon
        external:
          $ref: '#/components/schemas/ExternalFileOutput'
        file_upload:
          $ref: '#/components/schemas/FileUploadOutput'
        domain:
          type: string
          example: acme.com
        file:
          $ref: '#/components/schemas/InternalFileOutput'
        lucide:
          type: string
          example: file-text
        brand:
          type: string
          example: github
          description: Simple Icons brand slug (logo and color resolved automatically)
        dicebear:
          $ref: '#/components/schemas/DicebearIconPayloadOutput'
        background:
          type: string
          enum:
            - blue
            - red
            - pattern-red
            - pattern-blue
            - pattern-red-1
            - pattern-red-2
            - pattern-red-3
            - pattern-blue-1
            - pattern-blue-2
            - pattern-blue-3
        empty:
          type: boolean
          example: true
        updatedBy:
          type: string
          example: dataset:empresas
    ObjectViewConfigInput:
      type: object
      properties:
        fields:
          type: array
          items:
            $ref: '#/components/schemas/ObjectViewFieldInput'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/ObjectViewFilterInput'
        sorts:
          type: array
          items:
            $ref: '#/components/schemas/ObjectViewSortInput'
        groupByFieldId:
          type: string
          description: Field id used for grouping.
          nullable: true
        rowGroupByFieldId:
          type: string
          description: Field id used for row grouping.
          nullable: true
        groupOrder:
          description: Ordered group ids for the active grouping.
          type: array
          items:
            type: string
        hiddenGroups:
          description: Group ids hidden in this view.
          type: array
          items:
            type: string
        display:
          type: object
          additionalProperties:
            type: boolean
          description: Display-property visibility keyed by property id.
        description:
          type: string
          description: View description.
          nullable: true
    ExternalFileOutput:
      type: object
      properties:
        url:
          type: string
          example: https://example.com/image.jpg
      required:
        - url
    FileUploadOutput:
      type: object
      properties:
        id:
          type: string
          example: fu_abc123
      required:
        - id
    InternalFileOutput:
      type: object
      properties:
        url:
          type: string
          example: https://s3.amazonaws.com/...
        expiryTime:
          type: string
          example: '2024-01-15T10:30:00.000Z'
      required:
        - url
        - expiryTime
    DicebearIconPayloadOutput:
      type: object
      properties:
        style:
          type: string
          enum:
            - notionists-neutral
        seed:
          type: string
          example: 0256de50-f90c-49a8-81f0-3988b2b89d8d
        backgroundColor:
          type: string
          example: b6e3f4,b6e3f4
          description: Hex color(s), comma-separated for gradients
        options:
          $ref: '#/components/schemas/DicebearIconOptionsOutput'
      required:
        - style
        - seed
        - backgroundColor
    ObjectViewFieldInput:
      type: object
      properties:
        fieldId:
          type: string
          description: Stable field id, e.g. "createdAt" or "properties.amount".
        visible:
          type: boolean
          description: Whether the field is visible in the view.
        size:
          type: number
          description: Column width in pixels.
        position:
          type: number
          description: Field order.
      required:
        - fieldId
        - visible
        - position
    ObjectViewFilterInput:
      type: object
      properties:
        id:
          type: string
          description: Stable filter id.
        fieldId:
          type: string
          description: Field id to filter.
        operator:
          type: string
          description: Typed operator, e.g. equals, contains, gt, lt, is_empty.
        value:
          description: Filter scalar value.
          oneOf:
            - type: string
            - type: number
            - type: boolean
            - type: 'null'
        position:
          type: number
          description: Filter order.
      required:
        - id
        - fieldId
        - operator
        - position
    ObjectViewSortInput:
      type: object
      properties:
        id:
          type: string
          description: Stable sort id.
        fieldId:
          type: string
          description: Field id to sort.
        direction:
          type: string
          enum:
            - asc
            - desc
        position:
          type: number
          description: Sort order.
      required:
        - id
        - fieldId
        - direction
        - position
    DicebearIconOptionsOutput:
      type: object
      properties:
        brows:
          type: string
        eyes:
          type: string
        glasses:
          type: string
        lips:
          type: string
        nose:
          type: string
        flip:
          type: boolean
        rotate:
          type: number
        scale:
          type: number
        radius:
          type: number
        size:
          type: number
        backgroundType:
          type: string
          enum:
            - solid
            - gradientLinear
        backgroundRotation:
          type: array
          items:
            type: number
        translateX:
          type: number
        translateY:
          type: number
        clip:
          type: boolean
        randomizeIds:
          type: boolean
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://id.local.base39.cloud/oauth2/authorize
          tokenUrl: https://id.local.base39.cloud/oauth2/token
          scopes:
            profile: Read user profile
            email: Read user email
            openid: OpenID authentication
      description: OAuth2 Authorization Code flow

````