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

# List the traces where a finding occurred, newest first



## OpenAPI

````yaml https://api.interfere.com/openapi.json get /v3/findings/{findingId}/traces
openapi: 3.0.0
info:
  title: Interfere API
  termsOfService: https://interfere.com/legal/terms-of-service
  contact:
    email: support@interfere.com
    name: Interfere Support
    url: https://interfere.com/~/*/settings/support
  license:
    name: All Rights Reserved
  description: >-
    Interfere empowers engineers, product managers and designers with real-time
    understanding of previously unseen bugs and issues.
  version: 3.0.0
servers:
  - url: https://api.interfere.com
    description: This environment
security: []
tags:
  - name: Drain
    description: Drain API
  - name: Releases
    description: Build-time release API
  - name: Replay
    description: Session replay chunk ingest API
  - name: Sessions
    description: Session and end-user identity API
  - name: Updates
    description: Desktop app update API
  - name: Traces
    description: Trace waterfall read API
externalDocs:
  url: https://interfere.com/docs
  description: Interfere Documentation
paths:
  /v3/findings/{findingId}/traces:
    get:
      tags:
        - Traces
      summary: List the traces where a finding occurred, newest first
      operationId: findingOccurrences
      parameters:
        - schema:
            type: string
            description: Finding whose traces are requested
          required: true
          description: Finding whose traces are requested
          name: findingId
          in: path
        - schema:
            type: string
          required: false
          name: environment
          in: query
        - schema:
            type: integer
            minimum: 0
            exclusiveMinimum: true
            maximum: 200
          required: false
          name: limit
          in: query
      responses:
        '200':
          description: One row per trace that carries the finding
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FindingOccurrences'
        '401':
          description: Missing or invalid session token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionAuthProblem'
        '403':
          description: Session is not scoped to an organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TraceForbiddenProblem'
        '404':
          description: Finding is unknown in this organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FindingNotFoundProblem'
        '503':
          description: >-
            Trace storage failed to answer; retry with backoff after the
            Retry-After delay
          headers:
            Retry-After:
              schema:
                type: string
                description: Seconds to wait before retrying
              required: true
              description: Seconds to wait before retrying
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FindingOccurrencesUnavailableProblem'
      security:
        - clerkSession: []
components:
  schemas:
    FindingOccurrences:
      type: object
      properties:
        traces:
          type: array
          items:
            $ref: '#/components/schemas/FindingOccurrence'
      required:
        - traces
    SessionAuthProblem:
      type: object
      properties:
        code:
          type: string
          enum:
            - AUTH_MISSING
            - AUTH_SESSION_INVALID
        message:
          type: string
        service:
          type: string
          enum:
            - collector
            - gateway
            - operation
            - intelligence
      required:
        - code
    TraceForbiddenProblem:
      type: object
      properties:
        code:
          type: string
          enum:
            - AUTH_ORG_REQUIRED
        message:
          type: string
        service:
          type: string
          enum:
            - collector
            - gateway
            - operation
            - intelligence
      required:
        - code
    FindingNotFoundProblem:
      type: object
      properties:
        code:
          type: string
          enum:
            - FINDING_NOT_FOUND
        message:
          type: string
        service:
          type: string
          enum:
            - collector
            - gateway
            - operation
            - intelligence
      required:
        - code
    FindingOccurrencesUnavailableProblem:
      anyOf:
        - type: object
          properties:
            code:
              type: string
              enum:
                - FINDING_CONTEXT_QUERY_FAILED
            message:
              type: string
            service:
              type: string
              enum:
                - collector
                - gateway
                - operation
                - intelligence
          required:
            - code
        - type: object
          properties:
            code:
              type: string
              enum:
                - FINDING_OCCURRENCES_QUERY_FAILED
                - TRACE_QUERY_FAILED
            message:
              type: string
            service:
              type: string
              enum:
                - collector
                - gateway
                - operation
                - intelligence
          required:
            - code
    FindingOccurrence:
      type: object
      properties:
        traceId:
          type: string
          pattern: ^[0-9a-f]{32}$
        occurrencesInTrace:
          type: integer
          minimum: 0
        firstAtUnixNano:
          type: string
          pattern: ^(0|[1-9]\d{0,19})$
        lastAtUnixNano:
          type: string
          pattern: ^(0|[1-9]\d{0,19})$
        firstAt:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
        sessionId:
          type: string
          nullable: true
        releaseSlug:
          type: string
          nullable: true
        environment:
          type: string
        hasEnrichedFrames:
          type: boolean
        spanCount:
          type: integer
          minimum: 0
        rootCount:
          type: integer
          minimum: 0
        errorCount:
          type: integer
          minimum: 0
        entryName:
          type: string
        entryService:
          type: string
        wallDurationMs:
          type: number
      required:
        - traceId
        - occurrencesInTrace
        - firstAtUnixNano
        - lastAtUnixNano
        - firstAt
        - sessionId
        - releaseSlug
        - environment
        - hasEnrichedFrames
        - spanCount
        - rootCount
        - errorCount
        - entryName
        - entryService
        - wallDurationMs
  securitySchemes:
    clerkSession:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Clerk session token of a signed-in Interfere user

````