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

# List Incoming Messages

> List all incoming TSO messages for a schedule.

Returns metadata for each response received from the TSO. Works for both DE and NL schedules.

**DE document types** (MaBiS/ESS via Mako365): - `A01`: Confirmation (CNF) — TSO accepted the schedule - `A02`: Anomaly (ANO) — TSO detected a mismatch with counterparty values - `A09`: Acknowledgement (ACK) — technical receipt confirmation

**NL document types** (CIM XML via TenneT MMC Hub): - `A05`: Confirmation - `A06`: Anomaly



## OpenAPI

````yaml /openapi.json get /schedule-management/v1/schedules/{uid}/incoming-messages
openapi: 3.1.0
info:
  title: Engrate API
  version: 1.0.0
servers:
  - url: https://api.engrate.io
security:
  - apiKeyAuth: []
paths:
  /schedule-management/v1/schedules/{uid}/incoming-messages:
    get:
      tags:
        - schedules
      summary: List Incoming Messages
      description: >-
        List all incoming TSO messages for a schedule.


        Returns metadata for each response received from the TSO. Works for both
        DE and NL schedules.


        **DE document types** (MaBiS/ESS via Mako365): - `A01`: Confirmation
        (CNF) — TSO accepted the schedule - `A02`: Anomaly (ANO) — TSO detected
        a mismatch with counterparty values - `A09`: Acknowledgement (ACK) —
        technical receipt confirmation


        **NL document types** (CIM XML via TenneT MMC Hub): - `A05`:
        Confirmation - `A06`: Anomaly
      operationId: >-
        list_incoming_messages_schedule_management_v1_schedules__uid__incoming_messages_get
      parameters:
        - description: Schedule unique identifier.
          in: path
          name: uid
          required: true
          schema:
            description: Schedule unique identifier.
            format: uuid
            title: Uid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/IncomingMessageResponse'
                title: >-
                  Response List Incoming Messages Schedule Management V1
                  Schedules  Uid  Incoming Messages Get
                type: array
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    IncomingMessageResponse:
      description: >-
        A message received from the TSO in response to a schedule submission
        (ACK, CNF, or ANO document).
      properties:
        created_ts:
          description: ISO 8601 datetime when this message was received.
          examples:
            - '2026-03-25T14:05:00+00:00'
          title: Created Ts
          type: string
        document_type:
          description: >-
            Document type code. DE: `A01` (ACK), `A02` (CNF), `A09` (ANO). NL:
            `A05` (ACK), `A06` (CNF).
          examples:
            - A01
            - A02
            - A09
            - A05
            - A06
          title: Document Type
          type: string
        message_id:
          anyOf:
            - type: string
            - type: 'null'
          description: TSO's document identification for this response message.
          examples:
            - TSO-MSG-20260325-001
          title: Message Id
        original_message_id:
          anyOf:
            - type: string
            - type: 'null'
          description: Our schedule message ID that this TSO response refers to.
          examples:
            - MSG-20260325-001
          title: Original Message Id
        processing_status:
          description: >-
            Processing status of this message: `pending`, `processed`, or
            `failed`.
          examples:
            - processed
            - pending
          title: Processing Status
          type: string
        uid:
          description: Unique identifier for this incoming message.
          examples:
            - a3b4c5d6-e7f8-4a9b-8c0d-1e2f3a4b5c6d
          title: Uid
          type: string
      required:
        - created_ts
        - document_type
        - processing_status
        - uid
      title: IncomingMessageResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      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
  securitySchemes:
    apiKeyAuth:
      in: header
      name: Authorization
      type: apiKey

````