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

# Get DLQ context for a connection

> Returns minimal connection metadata for the runtime-control DLQ peek/replay routes. Operator-debug surface. Unlike verify-context, this does NOT narrow by kind or state — operators inspect DLQs precisely when a connection is unhealthy.



## OpenAPI

````yaml /openapi.json get /system/connections/{connection_id}/dlq-context
openapi: 3.1.0
info:
  title: Marfa API
  version: 4.2.0
  description: Typed data layer for structured personal data
servers: []
security: []
paths:
  /system/connections/{connection_id}/dlq-context:
    get:
      tags:
        - System
      summary: Get DLQ context for a connection
      description: >-
        Returns minimal connection metadata for the runtime-control DLQ
        peek/replay routes. Operator-debug surface. Unlike verify-context, this
        does NOT narrow by kind or state — operators inspect DLQs precisely when
        a connection is unhealthy.
      parameters:
        - schema:
            type: string
            minLength: 1
          required: true
          name: connection_id
          in: path
      responses:
        '200':
          description: DLQ context resolved.
          content:
            application/json:
              schema:
                type: object
                properties:
                  connection_id:
                    type: string
                  kind:
                    type: string
                  state:
                    type: string
                  integration_name:
                    type: string
                    nullable: true
                  tenant_id:
                    type: string
                    nullable: true
                required:
                  - connection_id
                  - kind
                  - state
                  - integration_name
                  - tenant_id
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - unauthorized
                      message:
                        type: string
                      details:
                        type: object
                        additionalProperties:
                          nullable: true
                    required:
                      - code
                      - message
                required:
                  - error
        '403':
          description: 'Caller lacks is_platform: true'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - forbidden
                      message:
                        type: string
                      details:
                        type: object
                        additionalProperties:
                          nullable: true
                    required:
                      - code
                      - message
                required:
                  - error
        '404':
          description: Connection not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - connection_not_found
                      message:
                        type: string
                      details:
                        type: object
                        additionalProperties:
                          nullable: true
                    required:
                      - code
                      - message
                required:
                  - error
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key or OAuth Token
      description: Pass an API key (marfa_k1_...) or OAuth access token (marfa_at_...)

````