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

# Explicitly link a Wardin session to a GitHub PR outcome — the universal escape hatch for CI pipelines or setups the webhook receiver cannot reach (§3(e))



## OpenAPI

````yaml /api-reference/openapi.json post /v1/quality-signals/github-link
openapi: 3.0.0
info:
  title: Wardin API
  description: AI governance & observability platform — external REST API
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /v1/quality-signals/github-link:
    post:
      tags:
        - quality-signals
      summary: >-
        Explicitly link a Wardin session to a GitHub PR outcome — the universal
        escape hatch for CI pipelines or setups the webhook receiver cannot
        reach (§3(e))
      operationId: GithubLinkController_link
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GithubLinkDto'
      responses:
        '201':
          description: ''
        '400':
          description: Malformed pr identity
      security:
        - bearer: []
components:
  schemas:
    GithubLinkDto:
      type: object
      properties:
        sessionId:
          type: string
          description: Wardin session id to attribute the PR outcome to
        pr:
          type: string
          description: PR identity as owner/repo#N
          example: acme/widgets#123
        outcome:
          type: string
          enum:
            - merged
            - closed
      required:
        - sessionId
        - pr
        - outcome
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````