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

# List Findings

> List recent detector findings for the caller's project (newest first).



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/public/detectors/findings
openapi: 3.1.0
info:
  title: TraceRoot Public API
  version: 0.1.0
servers:
  - description: TraceRoot Cloud
    url: https://app.traceroot.ai
  - description: Self-hosted
    url: '{baseUrl}'
    variables:
      baseUrl:
        default: http://localhost:8000
        description: Your TraceRoot backend URL
security: []
paths:
  /api/v1/public/detectors/findings:
    get:
      tags:
        - Detectors
      summary: List Findings
      description: List recent detector findings for the caller's project (newest first).
      operationId: list_findings
      parameters:
        - description: Items per page
          in: query
          name: limit
          required: false
          schema:
            default: 50
            description: Items per page
            maximum: 200
            minimum: 1
            title: Limit
            type: integer
        - description: Only findings at or after this time (inclusive, ISO 8601)
          in: query
          name: start_after
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            description: Only findings at or after this time (inclusive, ISO 8601)
            title: Start After
        - description: Only findings before this time (exclusive, ISO 8601)
          in: query
          name: end_before
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            description: Only findings before this time (exclusive, ISO 8601)
            title: End Before
        - description: Filter by detector id, name, or template
          in: query
          name: detector
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by detector id, name, or template
            title: Detector
        - description: Filter to a single trace
          in: query
          name: trace_id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter to a single trace
            title: Trace Id
        - description: >-
            Target project for the request. Required when authenticating with a
            user session token (a user credential is only meaningful scoped to a
            project); for an API key it is optional and, if given, must match
            the key's project.
          in: query
          name: project_id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Target project for the request. Required when authenticating with
              a user session token (a user credential is only meaningful scoped
              to a project); for an API key it is optional and, if given, must
              match the key's project.
            title: Project Id
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicFindingListResponse'
          description: Successful Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Authentication failed
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Failed to list findings
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Authentication service unavailable
      security:
        - BearerAuth: []
components:
  schemas:
    PublicFindingListResponse:
      description: Paginated list of detector findings for the public API.
      properties:
        data:
          items:
            $ref: '#/components/schemas/FindingSummary'
          title: Data
          type: array
        meta:
          $ref: '#/components/schemas/PaginationMeta'
      required:
        - data
        - meta
      title: PublicFindingListResponse
      type: object
    ErrorResponse:
      description: >-
        The canonical public error envelope (matches the gateway's normalized
        shape).
      properties:
        detail:
          title: Detail
          type: string
      required:
        - detail
      title: ErrorResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    FindingSummary:
      description: >-
        A detector finding row for the list view; ``detectors`` are display
        labels.
      properties:
        detectors:
          items:
            type: string
          title: Detectors
          type: array
        finding_id:
          title: Finding Id
          type: string
        project_id:
          title: Project Id
          type: string
        run_ids:
          default: []
          items:
            type: string
          title: Run Ids
          type: array
        signals:
          default: []
          items:
            $ref: '#/components/schemas/FindingSignal'
          title: Signals
          type: array
        summary:
          title: Summary
          type: string
        timestamp:
          format: date-time
          title: Timestamp
          type: string
        trace_id:
          title: Trace Id
          type: string
      required:
        - finding_id
        - project_id
        - trace_id
        - summary
        - timestamp
        - detectors
      title: FindingSummary
      type: object
    PaginationMeta:
      description: Pagination metadata for list responses.
      properties:
        limit:
          title: Limit
          type: integer
        page:
          title: Page
          type: integer
        total:
          title: Total
          type: integer
      required:
        - page
        - limit
        - total
      title: PaginationMeta
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    FindingSignal:
      description: The signal one detector's hit in a finding belongs to.
      properties:
        detector_id:
          title: Detector Id
          type: string
        signal_id:
          title: Signal Id
          type: string
        signal_status:
          title: Signal Status
          type: string
        signal_title:
          title: Signal Title
          type: string
      required:
        - detector_id
        - signal_id
        - signal_title
        - signal_status
      title: FindingSignal
      type: object
  securitySchemes:
    BearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.