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

# Retrieve secret details



## OpenAPI

````yaml get /api/orchestration/fabric/{fabricId}/secret/id/{secretId}
openapi: 3.0.3
info:
  title: Prophecy Secrets API
  description: API for managing Prophecy secrets
  version: 1.0.0
servers: []
security: []
paths:
  /api/orchestration/fabric/{fabricId}/secret/id/{secretId}:
    parameters:
      - name: fabricId
        in: path
        description: The unique ID of the parent fabric
        required: true
        schema:
          type: string
      - name: secretId
        in: path
        description: The unique ID of the secret
        required: true
        schema:
          type: string
    get:
      tags:
        - Secrets
      summary: Retrieve secret details
      operationId: getSecretById
      parameters:
        - $ref: '#/components/parameters/X-AUTH-TOKEN'
      responses:
        '200':
          description: Secret resource found
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                properties:
                  success:
                    type: boolean
                    description: Indicates the request was successful.
                    enum:
                      - true
                  data:
                    type: object
                    properties:
                      kind:
                        type: string
                        description: Secret kind (e.g., 'prophecy').
                      subKind:
                        type: string
                        description: Secret sub-type (e.g., 'text', 'm2m').
                      properties:
                        type: object
                        properties:
                          id:
                            type: string
                            description: The unique identifier for the secret.
                          name:
                            type: string
                            description: The key name for the secret.
                      type:
                        type: string
                        description: The type of the resource (e.g., 'secret').
                    description: Response data containing the secret details.
              example:
                success: true
                data:
                  kind: prophecy
                  subKind: text
                  properties:
                    id: '4656'
                    name: accounttest
                  type: secret
components:
  parameters:
    X-AUTH-TOKEN:
      name: X-AUTH-TOKEN
      in: header
      description: Prophecy authentication token. Required for all API requests.
      required: true
      schema:
        type: string

````