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

# List Trust Center controls

> Gets a list of controls on a Trust Center.



## OpenAPI

````yaml /reference/manage-vanta.json get /trust-centers/{slugId}/controls
openapi: 3.0.0
info:
  title: Manage Vanta
  version: 1.0.0
  description: >-
    The REST API lets customers query and mutate Vanta's data. Use this API to
    automate bulk actions, query data for custom workflows and dashboards, and
    bolster your security operations


    **Note for Vanta Gov (FedRAMP) customers:** Select `Vanta Gov (FedRAMP)`
    from the server dropdown to issue requests against
    `https://api.vanta-gov.com`. The OAuth token URL shown below defaults to the
    commercial host — replace it with `https://api.vanta-gov.com/oauth/token`.
  termsOfService: https://www.vanta.com/terms
  license:
    name: UNLICENSED
  contact:
    name: API Support
    url: https://help.vanta.com/
    email: support@vanta.com
servers:
  - url: https://api.vanta.com/v1
    description: Vanta (Commercial)
  - url: https://api.vanta-gov.com/v1
    description: Vanta Gov (FedRAMP)
security: []
paths:
  /trust-centers/{slugId}/controls:
    get:
      tags:
        - Trust Centers
      summary: List Trust Center controls
      description: Gets a list of controls on a Trust Center.
      operationId: ListTrustCenterControls
      parameters:
        - in: path
          name: slugId
          required: true
          schema:
            type: string
        - in: query
          name: pageSize
          required: false
          schema:
            $ref: '#/components/schemas/PageSize'
        - in: query
          name: pageCursor
          required: false
          schema:
            $ref: '#/components/schemas/PageCursor'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponse_TrustCenterControl_'
              examples:
                Example 1:
                  value:
                    results:
                      pageInfo:
                        hasNextPage: true
                        hasPreviousPage: false
                        startCursor: YXJyYXljb25uZWN0aW9uOjA=
                        endCursor: YXJyYXljb25uZWN0aW9uOjE=
                      data:
                        - id: a2f7e1b9d0c3f4e5a6c7b8d9
                          name: Control name
                          description: Control description
                          categories:
                            - id: 93d69894dd525f806d7e5c48
                              name: Category name
                              visibility: PUBLIC
                              statusVisibilityOverride: null
      security:
        - bearerAuth: []
components:
  schemas:
    PageSize:
      type: integer
      format: int32
      default: 10
      description: >-
        Controls the maximum number of items returned in one response from the
        API.
      minimum: 1
      maximum: 100
    PageCursor:
      type: string
      description: >-
        A marker or pointer, telling the API where to start fetching items for
        the subsequent page in a paginated dataset.

        Note that the requested page will not include the item that corresponds
        to this cursor but will start from the one immediately

        after this cursor.
    PaginatedResponse_TrustCenterControl_:
      properties:
        results:
          properties:
            data:
              items:
                $ref: '#/components/schemas/TrustCenterControl'
              type: array
            pageInfo:
              $ref: '#/components/schemas/PageInfo'
          required:
            - data
            - pageInfo
          type: object
      required:
        - results
      type: object
      additionalProperties: false
    TrustCenterControl:
      properties:
        id:
          type: string
          description: Unique identifier for the control.
        name:
          type: string
          description: The name of the control, usually a summary of the description.
        description:
          type: string
          description: The description of the control.
        categories:
          items:
            $ref: '#/components/schemas/TrustCenterControlCategory'
          type: array
          nullable: true
          description: The Trust Center control categories that the control belongs to.
      required:
        - id
        - name
        - description
        - categories
      type: object
      additionalProperties: false
    PageInfo:
      description: Provides information about the pagination of a dataset.
      properties:
        endCursor:
          type: string
          nullable: true
          description: >-
            The cursor that points to the end of the current page, or null if
            there is no such cursor.
        hasNextPage:
          type: boolean
          description: Indicates if there is another page after the current page.
        hasPreviousPage:
          type: boolean
          description: Indicates if there is a page before the current page.
        startCursor:
          type: string
          nullable: true
          description: >-
            The cursor that points to the start of the current page, or null if
            there is no such cursor.
      required:
        - endCursor
        - hasNextPage
        - hasPreviousPage
        - startCursor
      type: object
      additionalProperties: false
    TrustCenterControlCategory:
      properties:
        id:
          type: string
          description: Unique identifier for the control category.
        name:
          type: string
          description: Name of the category.
        visibility:
          $ref: '#/components/schemas/TrustCenterControlVisibility'
          description: >-
            Visibility of the category's controls on the Trust Center.
            `SHAREABLE`

            categories are only visible to accounts with a matching access
            grant.
        statusVisibilityOverride:
          allOf:
            - $ref: '#/components/schemas/TrustCenterControlVisibilityMode'
          nullable: true
          description: |-
            Per-category status-visibility override. `null` means the category
            follows the Trust Center's global default.
      required:
        - id
        - name
        - visibility
        - statusVisibilityOverride
      type: object
      additionalProperties: false
    TrustCenterControlVisibility:
      type: string
      enum:
        - PUBLIC
        - SHAREABLE
      description: >-
        Visibility of a control category's controls on the Trust Center.

        `SHAREABLE` categories are only visible to accounts with a matching
        access

        grant.
    TrustCenterControlVisibilityMode:
      type: string
      enum:
        - SHOW_OK_ONLY
        - SHOW_OK_AND_UNMAPPED
        - SHOW_ALL_WITHOUT_STATUS
        - SHOW_ALL_WITH_STATUS
      description: >-
        Which controls a Trust Center displays, and whether their pass/fail
        status is

        shown. Set as the Trust Center's global default, or per category to
        override

        that default.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

## Related topics

- [List Trust Center control categories](https://developer.vanta.com/api-reference/trust-centers/list-trust-center-control-categories.md)
- [Reorder controls in a Trust Center control category](https://developer.vanta.com/api-reference/trust-centers/reorder-controls-in-a-trust-center-control-category.md)
- [Reorder Trust Center control categories](https://developer.vanta.com/api-reference/trust-centers/reorder-trust-center-control-categories.md)
- [Delete Trust Center control](https://developer.vanta.com/api-reference/trust-centers/delete-trust-center-control.md)
- [Add Trust Center control](https://developer.vanta.com/api-reference/trust-centers/add-trust-center-control.md)
