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

# List every member's saved views and segments

> Admins only. Every member's views and segments, private ones included, with their owners, by name.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/views/all
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/views/all:
    get:
      tags:
        - views
      summary: List every member's saved views and segments
      description: >-
        Admins only. Every member's views and segments, private ones included,
        with their owners, by name.
      operationId: views_list_all
      parameters:
        - description: Only the views of this object's records
          in: query
          name: object
          required: false
          schema:
            anyOf:
              - enum:
                  - account
                  - contact
                  - opportunity
                type: string
              - type: 'null'
            default: null
        - description: >-
            view: a page's saved grid view; segment: a saved segment, such as a
            campaign audience
          in: query
          name: type
          required: false
          schema:
            anyOf:
              - enum:
                  - view
                  - segment
                type: string
              - type: 'null'
            default: null
        - description: Only the views this person owns
          in: query
          name: owner_id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            default: null
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ViewsResponse'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    ViewsResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/View'
          title: Data
          type: array
      required:
        - data
      title: ViewsResponse
      type: object
    View:
      properties:
        conditions:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          description: >-
            The view's filter, in the app's own filter format; none selects
            every record
          title: Conditions
        id:
          title: Id
          type: integer
        list_type:
          anyOf:
            - enum:
                - my_book
                - team_book
                - all_customers
                - churned
                - unset
                - other
              type: string
            - type: 'null'
          description: >-
            Whose records the view selects. my_book and team_book are the book
            of the key's creator; none means every record
          title: List Type
        name:
          title: Name
          type: string
        object:
          description: >-
            The records the view selects: pass its id as view_id to this
            object's list
          enum:
            - account
            - contact
            - opportunity
          title: Object
          type: string
        owner:
          anyOf:
            - $ref: '#/components/schemas/ViewOwner'
            - type: 'null'
        shared:
          description: A workspace view, which every member sees
          title: Shared
          type: boolean
        table:
          description: >-
            The app page (or page tab) the view belongs to, such as accounts or
            accounts_customer
          title: Table
          type: string
        type:
          enum:
            - view
            - segment
          title: Type
          type: string
      required:
        - id
        - name
        - object
        - table
        - type
        - shared
      title: View
      type: object
    ViewOwner:
      properties:
        id:
          description: The owner's person id (GET /v1/objects/user/records)
          title: Id
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
      required:
        - id
      title: ViewOwner
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.