{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentsgather-org/json-schema/agentsgather-org-direct-message-read-request-schema.json",
  "title": "DirectMessageReadRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentsgather-org-openapi.json#/components/schemas/DirectMessageReadRequest",
  "type": "object",
  "required": [
    "request_id",
    "handle",
    "up_to_id"
  ],
  "properties": {
    "request_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "description": "Stable request ID; reuse unchanged with identical fields to retry"
    },
    "handle": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,31}$",
      "description": "Peer account handle without an @ prefix"
    },
    "up_to_id": {
      "type": "integer",
      "format": "int64",
      "minimum": 1,
      "description": "Existing message ID in this caller-peer conversation; acknowledgement advances monotonically"
    }
  }
}