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

# Post Partin Answer

> Scan the MakoFlow inbox for incoming PARTINs and answer each sender
with our datasheet (37003) - once per sender and datasheet version.
``dry_run`` shows what would happen without sending.



## OpenAPI

````yaml /setup/internal-openapi.json post /v1/process/partin/answer-incoming
openapi: 3.1.0
info:
  title: n:lead Scheduling Bridge — Internal API
  version: 0.4.0
  description: >-
    Internal API of the n:lead scheduling bridge: the process endpoints that
    drive the day-ahead pipeline (aggregate, publish the open position, submit
    schedules, generate forecasts, orchestrate) and the operator console
    endpoints. Requires the process API key; not for customer use.
servers:
  - url: >-
      https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io
    description: Deployed service
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /v1/process/partin/answer-incoming:
    post:
      summary: Post Partin Answer
      description: |-
        Scan the MakoFlow inbox for incoming PARTINs and answer each sender
        with our datasheet (37003) - once per sender and datasheet version.
        ``dry_run`` shows what would happen without sending.
      operationId: post_partin_answer_v1_process_partin_answer_incoming_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartinAnswerRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartinAnswerResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
        - HTTPBearer: []
components:
  schemas:
    PartinAnswerRequest:
      properties:
        dry_run:
          type: boolean
          title: Dry Run
          default: false
      type: object
      title: PartinAnswerRequest
      description: |-
        Scan the MakoFlow inbox for PARTINs and answer each sender.

        ``dry_run`` reports what would be sent without sending anything.
    PartinAnswerResponse:
      properties:
        dry_run:
          type: boolean
          title: Dry Run
        inbox_messages:
          type: integer
          title: Inbox Messages
        replies:
          items:
            $ref: '#/components/schemas/PartinReply'
          type: array
          title: Replies
        skipped:
          items:
            $ref: '#/components/schemas/PartinSkip'
          type: array
          title: Skipped
      type: object
      required:
        - dry_run
        - inbox_messages
        - replies
        - skipped
      title: PartinAnswerResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PartinReply:
      properties:
        sender:
          type: string
          title: Sender
        role:
          type: string
          title: Role
        version:
          type: integer
          title: Version
      type: object
      required:
        - sender
        - role
        - version
      title: PartinReply
    PartinSkip:
      properties:
        sender:
          type: string
          title: Sender
        pid:
          anyOf:
            - type: string
            - type: 'null'
          title: Pid
        reason:
          type: string
          title: Reason
      type: object
      required:
        - sender
        - reason
      title: PartinSkip
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    HTTPBearer:
      type: http
      description: OIDC access token (Auth0 M2M)
      scheme: bearer

````