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

# Get a secret finding.



## OpenAPI

````yaml https://api.infrawatch.com/openapi.json?contract=d15375c get /projects/{project_uuid}/esi/findings/secret-exposures/{finding_uuid}
openapi: 3.1.0
info:
  description: >-
    Customer-facing Infrawatch APIs. Authenticate with an API key unless an
    operation documents another supported credential.


    ### Infrawatch Public API


    Public API authenticated exclusively with Infrawatch API keys.


    ### Infrawatch Customer Alerting API


    Project alert rules, destinations, silences, inbox state, and delivery
    history.


    ### Infrawatch Remote Browser API


    Project-scoped interactive browser sessions owned by Platform Core.


    Session admission, lifecycle, RBAC, audit, usage, screenshot history, and

    stream tickets are Platform Core resources. The browser master is private

    infrastructure and its identifiers, proxy routes, process options, and

    credentials are never exposed by this API.


    A session and all of its evidence are private to the credential that created

    it. Project managers may list project session metadata, inspect one
    session's

    metadata, and terminate it, but cannot access its live stream, screenshots,

    or network events.


    Terminal session metadata and screenshots are retained indefinitely. A

    creator can replay a terminal session as a new queued resource while

    preserving a durable link to the source session.


    ### Infrawatch ESI API


    Customer-facing External Surface Intelligence API for project-scoped

    product data authenticated by an Infrawatch API key. API keys

    are constrained to their immutable owner's project ceiling and assigned

    ESI scopes; human project-manager fallback never expands an API key.

    Authorised API-key requests are rate-limited and consume monthly quota.


    ### Infrawatch Reports API


    Threat report discovery API authenticated by an Infrawatch API key.


    ### Infrawatch Public Rules API


    Account-aware rule authoring, taxonomy, catalogue, and runtime observations
    for API clients.


    ### Infrawatch Search API


    Search hosts, services, DNS records, and certificates. Complete
    percent-encoded query strings are limited to 65536 bytes.
  title: Infrawatch Customer API
  version: 1.0.0
servers:
  - description: Infrawatch customer API
    url: https://api.infrawatch.com/api/v1
security: []
tags:
  - name: API Usage
  - name: Projects
  - name: Alert destinations
  - name: Alert rules
  - name: Alert silences
  - name: Alerts
  - name: Browser sessions
  - name: Browser evidence
  - name: Browser streaming
  - name: Access
  - name: Inventory
  - name: Dangling DNS
  - name: Findings
  - name: Secrets
  - name: Typosquatting
  - name: Services
  - name: AI Surface
  - description: Search hosts, services, DNS records, certificates, and open directories.
    name: Search
  - name: Dashboard
  - name: Reports
  - name: Rules
  - name: Rule tags
  - name: Rule observations
paths:
  /projects/{project_uuid}/esi/findings/secret-exposures/{finding_uuid}:
    servers:
      - url: https://api.infrawatch.com/api/v1
    parameters:
      - $ref: '#/components/parameters/esi_v1_ProjectUUID'
      - $ref: '#/components/parameters/esi_v1_FindingUUID'
    get:
      tags:
        - Secrets
      summary: Get a secret finding.
      operationId: getSecretFinding
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  secret:
                    $ref: '#/components/schemas/esi_v1_SecretFinding'
                required:
                  - secret
                type: object
          description: Secret finding.
        '400':
          $ref: '#/components/responses/esi_v1_BadRequest'
        '401':
          $ref: '#/components/responses/esi_v1_Unauthorized'
        '403':
          $ref: '#/components/responses/esi_v1_Forbidden'
        '404':
          $ref: '#/components/responses/esi_v1_NotFound'
      security:
        - apiKeyAuth: []
components:
  parameters:
    esi_v1_ProjectUUID:
      in: path
      name: project_uuid
      required: true
      schema:
        format: uuid
        type: string
    esi_v1_FindingUUID:
      in: path
      name: finding_uuid
      required: true
      schema:
        format: uuid
        type: string
  schemas:
    esi_v1_SecretFinding:
      properties:
        confidence:
          $ref: '#/components/schemas/esi_v1_FindingConfidence'
        created_at:
          format: date-time
          type: string
        created_by_membership_uuid:
          format: uuid
          type: string
        description:
          type: string
        discovery_channel:
          type: string
        discovery_provider:
          type: string
        evidence:
          additionalProperties: false
          description: >-
            Reserved response metadata. This field is returned as an empty
            object and never contains secret material or caller-supplied
            evidence.
          maxProperties: 0
          type: object
        evidence_schema:
          type: string
        evidence_schema_version:
          type: integer
        exposure_kind:
          enum:
            - secret
          type: string
        finding_key:
          description: Stable backend dedupe key derived from the fingerprint.
          type: string
        finding_type:
          enum:
            - secret
          type: string
        fingerprint:
          description: Stable detector-provided SHA-256 fingerprint of the secret.
          pattern: ^[0-9a-fA-F]{64}$
          type: string
        first_seen_at:
          format: date-time
          type: string
        host:
          type: string
        last_seen_at:
          format: date-time
          type: string
        location:
          type: string
        page_sha256:
          pattern: ^[0-9a-fA-F]{64}$
          type: string
        port:
          maximum: 65535
          minimum: 1
          type: integer
        protocol:
          type: string
        provider:
          type: string
        resolved_at:
          format: date-time
          type: string
        resolved_by_membership_uuid:
          format: uuid
          type: string
        secret_kind:
          $ref: '#/components/schemas/esi_v1_SecretKind'
        service:
          type: string
        service_uuid:
          format: uuid
          type: string
        severity:
          $ref: '#/components/schemas/esi_v1_SecretSeverity'
        source_kind:
          $ref: '#/components/schemas/esi_v1_SecretSourceKind'
        source_name:
          type: string
        source_ref:
          type: string
        status:
          $ref: '#/components/schemas/esi_v1_SecretStatus'
        subject:
          type: string
        target:
          type: string
        title:
          type: string
        updated_at:
          format: date-time
          type: string
        uuid:
          format: uuid
          type: string
      required:
        - uuid
        - finding_type
        - exposure_kind
        - severity
        - status
        - title
        - source_kind
        - secret_kind
        - fingerprint
        - confidence
        - evidence
        - evidence_schema
        - evidence_schema_version
        - first_seen_at
        - last_seen_at
        - created_at
        - updated_at
      type: object
    esi_v1_FindingConfidence:
      enum:
        - low
        - medium
        - high
      type: string
    esi_v1_SecretKind:
      enum:
        - api_key
        - token
        - private_key
        - password
        - oauth_client
        - webhook_secret
        - env_file
        - config
        - credential
        - other
      type: string
    esi_v1_SecretSeverity:
      enum:
        - critical
        - high
        - moderate
        - low
        - informational
      type: string
    esi_v1_SecretSourceKind:
      enum:
        - manual
        - auto_discovered
        - import
        - api
        - integration
      type: string
    esi_v1_SecretStatus:
      enum:
        - open
        - accepted
        - resolved
        - ignored
        - false_positive
      type: string
    esi_v1_ErrorResponse:
      properties:
        error:
          properties:
            code:
              type: string
            field_errors:
              items:
                properties:
                  code:
                    type: string
                  field:
                    type: string
                  message:
                    type: string
                required:
                  - field
                  - code
                  - message
                type: object
              type: array
            message:
              type: string
            request_id:
              type: string
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
  responses:
    esi_v1_BadRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/esi_v1_ErrorResponse'
      description: Invalid request.
    esi_v1_Unauthorized:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/esi_v1_ErrorResponse'
      description: Authentication required.
    esi_v1_Forbidden:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/esi_v1_ErrorResponse'
      description: Required scope or project access missing.
    esi_v1_NotFound:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/esi_v1_ErrorResponse'
      description: Resource not found.
  securitySchemes:
    apiKeyAuth:
      description: >-
        Infrawatch API key. Supply the complete key directly as the header
        value.
      in: header
      name: X-API-Key
      type: apiKey

````