> ## 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.

# Consultar detalhe de aresta do grafo

> Detalhe de um relacionamento do grafo, a partir do snapshot da análise.



## OpenAPI

````yaml GET /analyses/{analysis_uuid}/graph/edges/{edge_key}
openapi: 3.1.0
info:
  description: Superfície pública da API para clientes autenticados por chave de API.
  title: NL Labs Gateway (Public API)
  version: 0.1.0
servers:
  - url: https://api.nlbs.ai
security: []
tags:
  - description: Busca de entidades canônicas.
    name: entities
  - description: Criação, leitura, grafo e dossiê de análises.
    name: analyses
  - description: Relatório regulatório (COAF/SUSEP).
    name: reports
  - description: Triagem de mídia adversa.
    name: adverse-media
  - description: Versões do manifesto regulatório.
    name: regulatory
  - description: Versões do catálogo de regras do motor de risco.
    name: rules
  - description: Endpoints e eventos de webhook.
    name: webhooks
  - description: >-
      Entrypoints HTTP de workflow: invocar um workflow e consultar sua
      execução.
    name: workflow-endpoints
paths:
  /analyses/{analysis_uuid}/graph/edges/{edge_key}:
    get:
      tags:
        - analyses
      summary: Consultar detalhe de aresta do grafo
      description: Detalhe de um relacionamento do grafo, a partir do snapshot da análise.
      operationId: get_analysis_graph_edge_detail
      parameters:
        - in: path
          name: analysis_uuid
          required: true
          schema:
            format: uuid
            title: Analysis Uuid
            type: string
        - in: path
          name: edge_key
          required: true
          schema:
            title: Edge Key
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalysisGraphEdgeDetailResponse'
          description: Successful Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Chave de API ausente, malformada, expirada ou inválida.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: A chave de API autenticada não tem o escopo necessário.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Análise ou aresta do grafo não encontrada.
        '422':
          description: >-
            Corpo da requisição, parâmetro de rota, parâmetro de query ou regra
            de negócio inválidos.
components:
  schemas:
    AnalysisGraphEdgeDetailResponse:
      additionalProperties: false
      properties:
        fields:
          items:
            $ref: '#/components/schemas/AnalysisGraphNodeDetailRow'
          title: Fields
          type: array
        key:
          minLength: 1
          title: Key
          type: string
        relationship_type:
          minLength: 1
          title: Relationship Type
          type: string
        source:
          $ref: '#/components/schemas/AnalysisGraphEdgeDetailEndpoint'
        target:
          $ref: '#/components/schemas/AnalysisGraphEdgeDetailEndpoint'
      required:
        - key
        - relationship_type
        - source
        - target
      title: AnalysisGraphEdgeDetailResponse
      type: object
    ErrorResponse:
      properties:
        detail:
          description: Mensagem de erro pública e estável.
          examples:
            - Resource not found.
          title: Detail
          type: string
      required:
        - detail
      title: ErrorResponse
      type: object
    AnalysisGraphNodeDetailRow:
      additionalProperties: false
      properties:
        key:
          minLength: 1
          title: Key
          type: string
        label:
          minLength: 1
          title: Label
          type: string
        signal_codes:
          items:
            type: string
          title: Signal Codes
          type: array
        value:
          title: Value
      required:
        - key
        - label
      title: AnalysisGraphNodeDetailRow
      type: object
    AnalysisGraphEdgeDetailEndpoint:
      additionalProperties: false
      properties:
        display_name:
          minLength: 1
          title: Display Name
          type: string
        document:
          anyOf:
            - type: string
            - type: 'null'
          title: Document
        label:
          minLength: 1
          title: Label
          type: string
        node_key:
          minLength: 1
          title: Node Key
          type: string
      required:
        - node_key
        - label
        - display_name
      title: AnalysisGraphEdgeDetailEndpoint
      type: object

````