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

# List secrets

> Returns the secrets defined on a project: name, visibility and whether a project-level value is stored, never the value itself. The call is unpaginated: it takes no paging parameters, so one request yields the whole set.



## OpenAPI

````yaml /specs-prettified/realtime/openapi.stable.json get /v1/stable/secret
openapi: 3.0.0
info:
  title: Realtime
  description: Realtime gateway API service
  version: 1.0.0
  contact: {}
servers:
  - url: https://realtime-api.voiceflow.com
security: []
tags: []
paths:
  /v1/stable/secret:
    get:
      tags:
        - Secret
      summary: List secrets
      description: "Returns the secrets defined on a project: name, visibility and
        whether a project-level value is stored, never the value itself. The
        call is unpaginated: it takes no paging parameters, so one request
        yields the whole set."
      operationId: StableSecretController_list
      parameters:
        - name: projectID
          required: true
          in: query
          schema:
            type: string
            description: The ID of the project to operate on.
      responses:
        "200":
          description: Returns every secret on the project with its ID, name, visibility,
            whether a default value is stored, and its timestamps; values are
            never included.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/StableSecretListResponse"
          x-vf-doc:
            description: Returns every secret on the project with its ID, name, visibility,
              whether a default value is stored, and its timestamps; values are
              never included.
      security:
        - token: []
components:
  schemas:
    StableSecretListResponse:
      type: object
      properties:
        secrets:
          type: array
          items:
            $ref: "#/components/schemas/StableSecret"
      required:
        - secrets
    StableSecret:
      type: object
      properties:
        id:
          type: string
          description: "The ID of the secret. This is the value to put in a tool input
            default (`defaultValue: [{ secretID }]`) so the credential is
            injected at runtime."
        name:
          type: string
          description: The name of the secret, unique within the project.
        visibility:
          description: "`masked` secrets can be revealed in the Voiceflow UI by users with
            permission; `restricted` secrets can never be read back by anyone."
          allOf:
            - $ref: "#/components/schemas/SecretVisibility"
          enum:
            - restricted
            - masked
          x-enumNames:
            - RESTRICTED
            - MASKED
        hasValue:
          type: boolean
          description: Whether a project-level default value is currently stored for this
            secret.
        createdAt:
          type: string
          format: date-time
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
        updatedAt:
          type: string
          format: date-time
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
      required:
        - id
        - name
        - visibility
        - hasValue
        - createdAt
        - updatedAt
    SecretVisibility:
      type: string
      enum:
        - restricted
        - masked
      x-enumNames:
        - RESTRICTED
        - MASKED
  securitySchemes:
    token:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Voiceflow bearer token
````
