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

# Get analysis signals

> Sinais de risco detectados na análise, com contagens por pilar.



## OpenAPI

````yaml https://api.qa.nlbs.ai/api/openapi.json get /analyses/{analysis_uuid}/signals
openapi: 3.1.0
info:
  description: >-
    NL Labs AI AML API. Use Bearer API keys for protected endpoints. The /live
    and /ready probes are public.
  title: NL Labs AI
  version: 0.1.0
servers:
  - url: https://api.qa.nlbs.ai/api
security:
  - ApiKeyAuth: []
tags:
  - description: Runtime health checks and source freshness endpoints.
    name: health
  - description: Canonical entity lookup endpoints used before starting analyses.
    name: entities
  - description: AML analysis creation, status, result, and debug endpoints.
    name: analyses
  - description: Regulatory report (Motor 2) creation, status, result, and debug endpoints.
    name: reports
  - description: Versioned deterministic rules catalog endpoints.
    name: rules
  - description: Versioned regulatory reference catalog endpoints.
    name: regulatory
  - description: Webhook endpoint configuration and delivery-event operations.
    name: webhooks
paths:
  /analyses/{analysis_uuid}/signals:
    get:
      tags:
        - analyses
      summary: Get analysis signals
      description: Sinais de risco detectados na análise, com contagens por pilar.
      operationId: get_analysis_signals
      parameters:
        - description: UUID da execução da análise.
          in: path
          name: analysis_uuid
          required: true
          schema:
            description: UUID da execução da análise.
            format: uuid
            title: Analysis Uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalysisSignalsResponse'
          description: Successful Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Missing, malformed, expired, or invalid Bearer API key.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The authenticated API key does not have the required scope.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Analysis was not found.
        '422':
          description: >-
            Invalid request body, path parameter, query parameter, or business
            rule.
      security:
        - HTTPBearer: []
components:
  schemas:
    AnalysisSignalsResponse:
      properties:
        counts:
          $ref: '#/components/schemas/SignalCounts'
          description: Contagem de sinais por pilar.
        signals:
          description: Lista de sinais detectados.
          items:
            $ref: '#/components/schemas/SignalResult'
          title: Signals
          type: array
      required:
        - signals
        - counts
      title: AnalysisSignalsResponse
      type: object
      description: >-
        Sinais de risco detectados na análise, com contagens agregadas por
        pilar.
    ErrorResponse:
      properties:
        detail:
          description: Stable public error message.
          examples:
            - Resource not found.
          title: Detail
          type: string
      required:
        - detail
      title: ErrorResponse
      type: object
    SignalCounts:
      properties:
        by_pillar:
          additionalProperties:
            $ref: '#/components/schemas/PillarSignalCount'
          title: By Pillar
          type: object
        score_sum:
          anyOf:
            - type: number
            - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
              type: string
          title: Score Sum
        total:
          title: Total
          type: integer
      required:
        - total
        - score_sum
      title: SignalCounts
      type: object
      description: Contagem de sinais por pilar de risco.
    SignalResult:
      description: >-
        Auditable output of a full signal check, including signal-level
        modifiers.
      properties:
        adjusted_score:
          anyOf:
            - type: number
            - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
              type: string
          title: Adjusted Score
        applied_aggravants:
          items:
            $ref: '#/components/schemas/AppliedModifier'
          title: Applied Aggravants
          type: array
        applied_attenuants:
          items:
            $ref: '#/components/schemas/AppliedModifier'
          title: Applied Attenuants
          type: array
        assessed_entity_id:
          exclusiveMinimum: 0
          title: Assessed Entity Id
          type: integer
        band_floor:
          anyOf:
            - $ref: '#/components/schemas/RiskLevel'
            - type: 'null'
        base_score:
          anyOf:
            - type: number
            - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
              type: string
          title: Base Score
        code:
          title: Code
          type: string
        evidences:
          items:
            $ref: '#/components/schemas/Evidence'
          title: Evidences
          type: array
        graph_paths:
          items: {}
          title: Graph Paths
          type: array
        identified:
          title: Identified
          type: boolean
        kind:
          $ref: '#/components/schemas/SignalKind'
          default: observable
        limitations:
          items:
            $ref: '#/components/schemas/DataRequirement'
          title: Limitations
          type: array
        name:
          title: Name
          type: string
        observed_entity_ids:
          items:
            type: integer
          title: Observed Entity Ids
          type: array
        pillar:
          anyOf:
            - $ref: '#/components/schemas/PillarCode'
            - type: 'null'
        root_entity_id:
          exclusiveMinimum: 0
          title: Root Entity Id
          type: integer
        severity:
          $ref: '#/components/schemas/SignalSeverity'
        signal_multiplier:
          anyOf:
            - type: number
            - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
              type: string
          title: Signal Multiplier
        version:
          title: Version
          type: string
      required:
        - code
        - name
        - version
        - root_entity_id
        - assessed_entity_id
        - identified
        - severity
        - pillar
        - base_score
        - signal_multiplier
        - adjusted_score
      title: SignalResult
      type: object
    PillarSignalCount:
      properties:
        count:
          title: Count
          type: integer
        score_sum:
          anyOf:
            - type: number
            - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
              type: string
          title: Score Sum
      required:
        - count
        - score_sum
      title: PillarSignalCount
      type: object
      description: Contagem de sinais para um pilar de risco específico.
    AppliedModifier:
      description: Modifier that was applied to a signal, technique, or global pillar.
      properties:
        code:
          title: Code
          type: string
        direction:
          $ref: '#/components/schemas/ModifierDirection'
        evidences:
          items:
            $ref: '#/components/schemas/Evidence'
          title: Evidences
          type: array
        limitations:
          items:
            $ref: '#/components/schemas/DataRequirement'
          title: Limitations
          type: array
        multiplier_delta:
          anyOf:
            - type: number
            - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
              type: string
          title: Multiplier Delta
        name:
          title: Name
          type: string
        scope:
          $ref: '#/components/schemas/ModifierScope'
      required:
        - code
        - name
        - scope
        - direction
        - multiplier_delta
      title: AppliedModifier
      type: object
    RiskLevel:
      description: Final AML risk classes used by the methodology scoring layer.
      enum:
        - low
        - medium
        - high
        - critical
      title: RiskLevel
      type: string
    Evidence:
      additionalProperties: false
      description: >-
        Generic evidence object with explicit key, label, type, and original
        payload.


        This contract is intentionally generic so each signal/modifier can
        attach

        the actual objects used as evidence (for example, transactions or
        process

        records) without forcing a rigid schema at this layer.
      properties:
        content:
          title: Content
        description:
          title: Description
          type: string
        key:
          title: Key
          type: string
        label:
          title: Label
          type: string
        metadata:
          additionalProperties: true
          title: Metadata
          type: object
        type:
          $ref: '#/components/schemas/EvidenceType'
      required:
        - key
        - label
        - description
        - type
        - content
      title: Evidence
      type: object
    SignalKind:
      description: Methodology signal execution kind.
      enum:
        - observable
        - meta
      title: SignalKind
      type: string
    DataRequirement:
      description: >-
        Structured data requirement for methodology entities.


        `fields` lists the expected context fields and `justification` records
        why that

        field set is required for detector or modifier behavior.
      properties:
        fields:
          items:
            type: string
          title: Fields
          type: array
        justification:
          default: ''
          title: Justification
          type: string
      title: DataRequirement
      type: object
    PillarCode:
      description: Official Motor 1 v1 measurable AML risk pillars.
      enum:
        - sanc
        - estru
        - jud
        - pep
        - juris
      title: PillarCode
      type: string
    SignalSeverity:
      description: Base severity level used by Motor 1 signals and legacy methodology code.
      enum:
        - clean
        - enrichment
        - low
        - medium
        - medium_high
        - high
        - very_high
        - critical
      title: SignalSeverity
      type: string
    ModifierDirection:
      description: Whether a modifier increases or reduces risk strength.
      enum:
        - aggravate
        - attenuate
      title: ModifierDirection
      type: string
    ModifierScope:
      description: Calculation level where an aggravant or attenuant acts.
      enum:
        - signal
        - technique
        - global_pillar
      title: ModifierScope
      type: string
    EvidenceType:
      description: High-level category of evidence payload used by methodology evaluations.
      enum:
        - transaction
        - transaction_groups
        - corporate_ownership_partners
        - ubo_resolution
        - corporate_participation_fanout
        - serial_company_opening
        - organization_stability
        - qsa_full_replacement
        - simples_exclusion
        - cadastral_precariousness
        - thin_file_routing
        - mlro_escalation
        - sanctionary
        - organization_registration
        - cnae_mismatch
        - cadastral_cnae_mismatch
        - sensitive_activity_cnae
        - nonprofit_legal_nature
        - isolated_controller_interposition
        - control_cycle
        - process
        - warrant
        - sanction
        - restriction
        - watchlist_entry
        - territorial_jurisdiction
        - official_publication_control_intent
        - public_service_link
        - public_servant_private_management
        - public_quarantine_private_activity
        - risk_composition
        - political_exposure
        - official_publication
        - administrative_condemnation
        - regulatory_enforcement
        - object
        - other
      title: EvidenceType
      type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````