{
  "components": {
    "callbacks": {},
    "examples": {},
    "headers": {},
    "links": {},
    "parameters": {},
    "pathItems": {},
    "requestBodies": {},
    "responses": {},
    "schemas": {
      "Manual38395Bb200C1_type_inboxes_InboxId": {
        "description": "收件箱的 ID。",
        "title": "InboxId",
        "type": "string"
      },
      "Manual38395Bb200C1_type_metrics_Descending": {
        "description": "按降序排序。",
        "title": "Descending",
        "type": "boolean"
      },
      "Manual38395Bb200C1_type_metrics_End": {
        "description": "查询的结束时间戳。",
        "format": "date-time",
        "title": "End",
        "type": "string"
      },
      "Manual38395Bb200C1_type_metrics_MetricEventType": {
        "description": "指标事件的类型。",
        "enum": [
          "message.sent",
          "message.delivered",
          "message.bounced",
          "message.delayed",
          "message.rejected",
          "message.complained",
          "message.received"
        ],
        "title": "MetricEventType",
        "type": "string"
      },
      "Manual38395Bb200C1_type_metrics_MetricEventTypes": {
        "description": "要查询的指标事件类型列表。",
        "items": {
          "$ref": "#/components/schemas/Manual38395Bb200C1_type_metrics_MetricEventType"
        },
        "title": "MetricEventTypes",
        "type": "array"
      },
      "Manual38395Bb200C1_type_metrics_MetricLimit": {
        "description": "返回的桶数量上限。",
        "title": "MetricLimit",
        "type": "integer"
      },
      "Manual38395Bb200C1_type_metrics_Period": {
        "description": "查询周期，以秒为单位。",
        "title": "Period",
        "type": "string"
      },
      "Manual38395Bb200C1_type_metrics_Start": {
        "description": "查询的开始时间戳。",
        "format": "date-time",
        "title": "Start",
        "type": "string"
      },
      "ProviderD09F9471A0E8_After": {
        "description": "用于筛选此时间戳之后数据的时间戳。",
        "format": "date-time",
        "title": "After",
        "type": "string"
      },
      "ProviderD09F9471A0E8_Ascending": {
        "description": "按时间升序排序。",
        "title": "Ascending",
        "type": "boolean"
      },
      "ProviderD09F9471A0E8_Before": {
        "description": "用于筛选的截止时间戳。",
        "format": "date-time",
        "title": "Before",
        "type": "string"
      },
      "ProviderD09F9471A0E8_IncludeBlocked": {
        "description": "在结果中包含被屏蔽项。",
        "title": "IncludeBlocked",
        "type": "boolean"
      },
      "ProviderD09F9471A0E8_IncludeSpam": {
        "description": "在结果中包含垃圾邮件。",
        "title": "IncludeSpam",
        "type": "boolean"
      },
      "ProviderD09F9471A0E8_IncludeTrash": {
        "description": "在结果中包含垃圾内容。",
        "title": "IncludeTrash",
        "type": "boolean"
      },
      "ProviderD09F9471A0E8_IncludeUnauthenticated": {
        "description": "在结果中包含未经身份验证的内容。",
        "title": "IncludeUnauthenticated",
        "type": "boolean"
      },
      "ProviderD09F9471A0E8_Labels": {
        "description": "用于筛选的标签。",
        "items": {
          "type": "string"
        },
        "title": "Labels",
        "type": "array"
      },
      "ProviderD09F9471A0E8_Limit": {
        "description": "返回项目数量的上限。",
        "title": "Limit",
        "type": "integer"
      },
      "ProviderD09F9471A0E8_PageToken": {
        "description": "用于分页的页面 token。",
        "title": "PageToken",
        "type": "string"
      },
      "ProviderD09F9471A0E8_apiKeys_ApiKeyId": {
        "description": "API 密钥的 ID。",
        "title": "ApiKeyId",
        "type": "string"
      },
      "ProviderD09F9471A0E8_apiKeys_ApiKeyPermissions": {
        "description": "API 密钥的细粒度权限。省略时授予所有权限；否则，仅授予设置为 true 的权限。",
        "properties": {
          "account_update": {
            "description": "Update accounts: disable or re-enable an inbox's sign-in at an app. Reading accounts\nneeds only `inbox_read`.",
            "type": "boolean"
          },
          "api_key_create": {
            "description": "创建 API 密钥。",
            "type": "boolean"
          },
          "api_key_delete": {
            "description": "删除 API 密钥。",
            "type": "boolean"
          },
          "api_key_read": {
            "description": "读取 API 密钥。",
            "type": "boolean"
          },
          "api_key_update": {
            "description": "Update API keys.",
            "type": "boolean"
          },
          "app_connect": {
            "description": "Sign in to apps as an inbox: connect an app, authorize an inbox, and mint the\nsign-in keys. Omitted on a new bearer key means false, whatever else the key holds.",
            "type": "boolean"
          },
          "app_share_owner": {
            "description": "Share the organization owner's name and email with apps at sign-in. One permission\nfor both values.",
            "type": "boolean"
          },
          "calendar_event_create": {
            "description": "Create calendar events.",
            "type": "boolean"
          },
          "calendar_event_delete": {
            "description": "Delete calendar events.",
            "type": "boolean"
          },
          "calendar_event_read": {
            "description": "Read calendar events, and receive `calendar.event.*` webhook and WebSocket events.",
            "type": "boolean"
          },
          "calendar_event_update": {
            "description": "Update calendar events and respond to invitations.",
            "type": "boolean"
          },
          "calendar_read": {
            "description": "Read inbox calendar settings.",
            "type": "boolean"
          },
          "calendar_update": {
            "description": "Update inbox calendar settings.",
            "type": "boolean"
          },
          "domain_create": {
            "description": "创建域名。",
            "type": "boolean"
          },
          "domain_delete": {
            "description": "删除域名。",
            "type": "boolean"
          },
          "domain_read": {
            "description": "读取域名详情。",
            "type": "boolean"
          },
          "domain_update": {
            "description": "更新域名。",
            "type": "boolean"
          },
          "draft_create": {
            "description": "创建草稿。",
            "type": "boolean"
          },
          "draft_delete": {
            "description": "删除草稿。",
            "type": "boolean"
          },
          "draft_read": {
            "description": "读取草稿。",
            "type": "boolean"
          },
          "draft_send": {
            "description": "发送草稿。",
            "type": "boolean"
          },
          "draft_update": {
            "description": "更新草稿。",
            "type": "boolean"
          },
          "inbox_create": {
            "description": "创建新收件箱。",
            "type": "boolean"
          },
          "inbox_delete": {
            "description": "删除收件箱。",
            "type": "boolean"
          },
          "inbox_read": {
            "description": "读取收件箱详情。",
            "type": "boolean"
          },
          "inbox_update": {
            "description": "更新收件箱设置。",
            "type": "boolean"
          },
          "label_blocked_read": {
            "description": "访问标记为 blocked 的消息。",
            "type": "boolean"
          },
          "label_spam_read": {
            "description": "访问标记为垃圾邮件的消息。",
            "type": "boolean"
          },
          "label_trash_read": {
            "description": "访问标记为垃圾箱的邮件。",
            "type": "boolean"
          },
          "label_unauthenticated_read": {
            "description": "Access messages labeled unauthenticated.",
            "type": "boolean"
          },
          "list_entry_create": {
            "description": "创建列表条目。",
            "type": "boolean"
          },
          "list_entry_delete": {
            "description": "删除列表条目。",
            "type": "boolean"
          },
          "list_entry_read": {
            "description": "读取列表条目。",
            "type": "boolean"
          },
          "message_delete": {
            "description": "Delete messages. Also required to delete threads.",
            "type": "boolean"
          },
          "message_read": {
            "description": "Read messages. Also required to read threads.",
            "type": "boolean"
          },
          "message_reply": {
            "description": "Reply and reply-all when the request is signed with a registered public key. Bearer keys reply with `message_send`.",
            "type": "boolean"
          },
          "message_send": {
            "description": "发送消息。",
            "type": "boolean"
          },
          "message_update": {
            "description": "Update message labels. Also required to update threads.",
            "type": "boolean"
          },
          "metrics_read": {
            "description": "读取指标。",
            "type": "boolean"
          },
          "pod_create": {
            "description": "创建 Pod。",
            "type": "boolean"
          },
          "pod_delete": {
            "description": "删除 Pod。",
            "type": "boolean"
          },
          "pod_read": {
            "description": "读取 Pod。",
            "type": "boolean"
          },
          "pod_update": {
            "description": "Update pods.",
            "type": "boolean"
          },
          "webhook_create": {
            "description": "创建 Webhook。",
            "type": "boolean"
          },
          "webhook_delete": {
            "description": "删除 Webhook。",
            "type": "boolean"
          },
          "webhook_read": {
            "description": "读取 Webhook 配置。",
            "type": "boolean"
          },
          "webhook_update": {
            "description": "更新 Webhook。",
            "type": "boolean"
          }
        },
        "title": "ApiKeyPermissions",
        "type": "object"
      },
      "ProviderD09F9471A0E8_apiKeys_ApiKeyType": {
        "enum": [
          "bearer",
          "public_key"
        ],
        "title": "ApiKeyType",
        "type": "string"
      },
      "ProviderD09F9471A0E8_apiKeys_CreateApiKeyRequest": {
        "description": "A body with `public_key` registers a public-key credential; any other\nbody mints a bearer key.",
        "oneOf": [
          {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_CreateBearerApiKeyRequest"
          },
          {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_CreatePublicKeyRequest"
          }
        ],
        "title": "CreateApiKeyRequest"
      },
      "ProviderD09F9471A0E8_apiKeys_CreateBearerApiKeyRequest": {
        "description": "`expires_at` must be in the future and is immutable once the key exists.\nOmitted, the new key inherits the authenticating key's expiry, and never\nexpires only when that key never does. A key cannot create one that\noutlives it: an `expires_at` later than the authenticating key's own\nreturns `403`.",
        "properties": {
          "expires_at": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_ExpiresAt"
          },
          "name": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_Name"
          },
          "permissions": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_ApiKeyPermissions"
          }
        },
        "title": "CreateBearerApiKeyRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_apiKeys_CreatePublicKeyRequest": {
        "description": "Registers a public P-256 JWK at the route's scope. `type` and\n`api_key_id` are server-owned. `name` defaults to\n`AgentID key {first eight fingerprint characters}`; `permissions`\ndefaults to the registering key's, and only grants it holds may be\ntrue; `expires_at` defaults to the registering key's expiry and is\nindependent of that key afterward.",
        "properties": {
          "client_id": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_PublicKeyClientId"
          },
          "expires_at": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_ExpiresAt"
          },
          "name": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_Name"
          },
          "permissions": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_ApiKeyPermissions"
          },
          "public_key": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_PublicJwk"
          }
        },
        "required": [
          "public_key"
        ],
        "title": "CreatePublicKeyRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_apiKeys_ExpiresAt": {
        "description": "Time at which api key expires. Omitted when it does not expire.",
        "format": "date-time",
        "title": "ExpiresAt",
        "type": "string"
      },
      "ProviderD09F9471A0E8_apiKeys_Name": {
        "description": "API 密钥的名称。",
        "title": "Name",
        "type": "string"
      },
      "ProviderD09F9471A0E8_apiKeys_PublicJwk": {
        "description": "A public P-256 JWK. The object accepts exactly `kty`, `crv`, `x`, and `y`.\nPrivate key material such as `d`, embedded key IDs, and all other members\nare rejected. The server also rejects coordinates that are not a point on\nP-256.",
        "properties": {
          "crv": {
            "enum": [
              "P-256"
            ],
            "type": "string"
          },
          "kty": {
            "enum": [
              "EC"
            ],
            "type": "string"
          },
          "x": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_PublicJwkCoordinate"
          },
          "y": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_PublicJwkCoordinate"
          }
        },
        "required": [
          "kty",
          "crv",
          "x",
          "y"
        ],
        "title": "PublicJwk",
        "type": "object"
      },
      "ProviderD09F9471A0E8_apiKeys_PublicJwkCoordinate": {
        "description": "A 32-byte P-256 coordinate encoded as unpadded base64url.",
        "maxLength": 43,
        "minLength": 43,
        "pattern": "^[A-Za-z0-9_-]{43}$",
        "title": "PublicJwkCoordinate",
        "type": "string"
      },
      "ProviderD09F9471A0E8_apiKeys_PublicKeyClientId": {
        "description": "Caller-chosen alias for a public key, unique within the organization and\nreusable after deletion. Accepted in place of `api_key_id` on get, update,\nand delete. Registration is idempotent on it: the same alias returns the\nexisting key, a conflicting one returns `409`. URL-safe; no slash or `@`.",
        "title": "PublicKeyClientId",
        "type": "string"
      },
      "ProviderD09F9471A0E8_apiKeys_UpdateApiKeyRequest": {
        "description": "Rename a credential or change its permissions. Key material, type,\nscope, and expiry are immutable.",
        "properties": {
          "name": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_Name"
          },
          "permissions": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_apiKeys_ApiKeyPermissions"
          }
        },
        "title": "UpdateApiKeyRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_attachments_AttachmentContentDisposition": {
        "description": "附件的内容处置方式。",
        "enum": [
          "inline",
          "attachment"
        ],
        "title": "AttachmentContentDisposition",
        "type": "string"
      },
      "ProviderD09F9471A0E8_attachments_AttachmentContentId": {
        "description": "附件的内容 ID。",
        "title": "AttachmentContentId",
        "type": "string"
      },
      "ProviderD09F9471A0E8_attachments_AttachmentContentType": {
        "description": "附件的内容类型。",
        "title": "AttachmentContentType",
        "type": "string"
      },
      "ProviderD09F9471A0E8_attachments_AttachmentFilename": {
        "description": "附件文件名。",
        "title": "AttachmentFilename",
        "type": "string"
      },
      "ProviderD09F9471A0E8_attachments_AttachmentId": {
        "description": "附件 ID。",
        "title": "AttachmentId",
        "type": "string"
      },
      "ProviderD09F9471A0E8_attachments_SendAttachment": {
        "description": "Provide either `content` or `url` for each attachment.",
        "properties": {
          "content": {
            "description": "Base64 encoded content of the attachment. The entire request, including the message body and all attachments, is limited to 6 MB.",
            "type": "string"
          },
          "content_disposition": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_attachments_AttachmentContentDisposition"
          },
          "content_id": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_attachments_AttachmentContentId"
          },
          "content_type": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_attachments_AttachmentContentType"
          },
          "filename": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_attachments_AttachmentFilename"
          },
          "url": {
            "description": "URL that AgentMail can download without custom authentication headers or cookies.\nRedirects and pre-signed URLs are supported, and the final response must be a\nsuccessful 2xx response. Keep URL-backed attachments around 30 MB total per message.",
            "type": "string"
          }
        },
        "title": "SendAttachment",
        "type": "object"
      },
      "ProviderD09F9471A0E8_domains_CreateDomainRequest": {
        "properties": {
          "allow_conflicting_provider": {
            "description": "Allow registration when the domain already has Google Workspace MX records.\nDefaults to false; registration otherwise returns 422 when a conflicting\nprovider is detected.\nThis flag does not configure DNS or inbound routing. For shared Google\nWorkspace domains, follow the [Google Workspace guide](/google-workspace).\nOnly checked when `inbound_enabled` is true; a send-only domain skips the check.",
            "type": "boolean"
          },
          "domain": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_domains_DomainName"
          },
          "feedback_enabled": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_domains_FeedbackEnabled"
          },
          "inbound_enabled": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_domains_InboundEnabled"
          },
          "subdomains_enabled": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_domains_SubdomainsEnabled"
          },
          "tracking_enabled": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_domains_TrackingEnabled"
          }
        },
        "required": [
          "domain"
        ],
        "title": "CreateDomainRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_domains_DomainId": {
        "description": "域名的 ID。",
        "title": "DomainId",
        "type": "string"
      },
      "ProviderD09F9471A0E8_domains_DomainName": {
        "description": "域名（例如 `example.com`）。",
        "title": "DomainName",
        "type": "string"
      },
      "ProviderD09F9471A0E8_domains_FeedbackEnabled": {
        "description": "退信和投诉通知将发送到您的收件箱。",
        "title": "FeedbackEnabled",
        "type": "boolean"
      },
      "ProviderD09F9471A0E8_domains_InboundEnabled": {
        "description": "Receive email for this domain. Defaults to `true`. Set `false` for a send-only\ndomain: the apex MX record is not required and is omitted from `records`, so the\ndomain's existing email provider keeps receiving its mail. Inboxes on a send-only\ndomain can still send.",
        "title": "InboundEnabled",
        "type": "boolean"
      },
      "ProviderD09F9471A0E8_domains_SubdomainsEnabled": {
        "description": "Allow inboxes on any subdomain of this domain. Adds a required wildcard MX\nrecord (`*.<domain>`) to `records`.",
        "title": "SubdomainsEnabled",
        "type": "boolean"
      },
      "ProviderD09F9471A0E8_domains_TrackingEnabled": {
        "description": "Serve open tracking pixels from this domain. Adds a required `link.<domain>`\nCNAME record to `records`, which must be published and verified before\n`track_opens` can be used on a send.",
        "title": "TrackingEnabled",
        "type": "boolean"
      },
      "ProviderD09F9471A0E8_domains_UpdateDomainRequest": {
        "description": "Provide at least one of `feedback_enabled`, `inbound_enabled`,\n`subdomains_enabled`, or `tracking_enabled`. Omitted fields are left\nunchanged; an empty body is rejected. Enabling `inbound_enabled` or\n`subdomains_enabled` on a verified domain returns it to `PENDING` until the\nnewly required MX record (the apex MX, or the wildcard `*.<domain>`) is\npublished and verified.",
        "properties": {
          "feedback_enabled": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_domains_FeedbackEnabled"
          },
          "inbound_enabled": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_domains_InboundEnabled"
          },
          "subdomains_enabled": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_domains_SubdomainsEnabled"
          },
          "tracking_enabled": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_domains_TrackingEnabled"
          }
        },
        "title": "UpdateDomainRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_drafts_CreateDraftRequest": {
        "description": "Body for creating a draft. Supports plain, reply, reply-all, and forward\ndrafts:\n\n- **Plain draft:** supply `to`, `subject`, `text`, etc.\n- **Reply:** set `in_reply_to` to a message ID. Recipients, subject, and\n  threading are derived from that message. Set `reply_all` to address the\n  whole thread (you then cannot also pass `to`, `cc`, or `bcc`).\n- **Forward:** set `forward_of` to a message ID. The subject and threading\n  are derived from the source message, whose body and attachments are\n  merged in at send time.\n\n`in_reply_to` and `forward_of` are mutually exclusive, and reading the\nreferenced message requires `message_read` permission.",
        "properties": {
          "attachments": {
            "description": "草稿中要包含的附件。",
            "items": {
              "$ref": "#/components/schemas/ProviderD09F9471A0E8_attachments_SendAttachment"
            },
            "type": "array"
          },
          "bcc": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftBcc"
          },
          "cc": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftCc"
          },
          "client_id": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftClientId"
          },
          "forward_of": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftForwardOf"
          },
          "html": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftHtml"
          },
          "in_reply_to": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftInReplyTo"
          },
          "labels": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftLabels"
          },
          "reply_all": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftReplyAll"
          },
          "reply_to": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftReplyTo"
          },
          "send_at": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftSendAt"
          },
          "subject": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftSubject"
          },
          "text": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftText"
          },
          "to": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftTo"
          }
        },
        "title": "CreateDraftRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_drafts_DraftBcc": {
        "description": "BCC 收件人的地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "items": {
          "type": "string"
        },
        "title": "DraftBcc",
        "type": "array"
      },
      "ProviderD09F9471A0E8_drafts_DraftCc": {
        "description": "抄送收件人的地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "items": {
          "type": "string"
        },
        "title": "DraftCc",
        "type": "array"
      },
      "ProviderD09F9471A0E8_drafts_DraftClientId": {
        "description": "草稿的客户端 ID。",
        "title": "DraftClientId",
        "type": "string"
      },
      "ProviderD09F9471A0E8_drafts_DraftForwardOf": {
        "description": "ID of message being forwarded.",
        "title": "DraftForwardOf",
        "type": "string"
      },
      "ProviderD09F9471A0E8_drafts_DraftHtml": {
        "description": "草稿的 HTML 正文。",
        "title": "DraftHtml",
        "type": "string"
      },
      "ProviderD09F9471A0E8_drafts_DraftId": {
        "description": "草稿 ID。",
        "title": "DraftId",
        "type": "string"
      },
      "ProviderD09F9471A0E8_drafts_DraftInReplyTo": {
        "description": "被回复消息的 ID。",
        "title": "DraftInReplyTo",
        "type": "string"
      },
      "ProviderD09F9471A0E8_drafts_DraftLabels": {
        "description": "草稿标签。",
        "items": {
          "type": "string"
        },
        "title": "DraftLabels",
        "type": "array"
      },
      "ProviderD09F9471A0E8_drafts_DraftReplyAll": {
        "description": "回复原始消息的所有收件人。",
        "title": "DraftReplyAll",
        "type": "boolean"
      },
      "ProviderD09F9471A0E8_drafts_DraftReplyTo": {
        "description": "回复地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "items": {
          "type": "string"
        },
        "title": "DraftReplyTo",
        "type": "array"
      },
      "ProviderD09F9471A0E8_drafts_DraftSendAt": {
        "description": "计划发送草稿的时间。",
        "format": "date-time",
        "title": "DraftSendAt",
        "type": "string"
      },
      "ProviderD09F9471A0E8_drafts_DraftSubject": {
        "description": "草稿主题。",
        "title": "DraftSubject",
        "type": "string"
      },
      "ProviderD09F9471A0E8_drafts_DraftText": {
        "description": "草稿的纯文本正文。",
        "title": "DraftText",
        "type": "string"
      },
      "ProviderD09F9471A0E8_drafts_DraftTo": {
        "description": "收件人地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "items": {
          "type": "string"
        },
        "title": "DraftTo",
        "type": "array"
      },
      "ProviderD09F9471A0E8_drafts_UpdateDraftRequest": {
        "description": "Edit fields on an existing draft. A draft's kind (plain, reply, or forward)\nis fixed at creation and cannot be changed here. Omitting a field leaves it\nunchanged; passing `null` (or `[]` for a recipient field) clears it. Pass\n`send_at` to schedule or reschedule the draft, or `null` to un-schedule it.",
        "properties": {
          "add_attachments": {
            "description": "Attachments to add to the draft.",
            "items": {
              "$ref": "#/components/schemas/ProviderD09F9471A0E8_attachments_SendAttachment"
            },
            "type": "array"
          },
          "add_labels": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftLabels",
            "description": "Label or labels to add to the draft."
          },
          "bcc": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftBcc"
              },
              {
                "type": "null"
              }
            ]
          },
          "cc": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftCc"
              },
              {
                "type": "null"
              }
            ]
          },
          "html": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftHtml"
              },
              {
                "type": "null"
              }
            ]
          },
          "remove_attachments": {
            "description": "IDs of attachments to remove from the draft.",
            "items": {
              "$ref": "#/components/schemas/ProviderD09F9471A0E8_attachments_AttachmentId"
            },
            "type": "array"
          },
          "remove_labels": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftLabels",
            "description": "Label or labels to remove from the draft."
          },
          "reply_to": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftReplyTo"
              },
              {
                "type": "null"
              }
            ]
          },
          "send_at": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftSendAt"
              },
              {
                "type": "null"
              }
            ]
          },
          "subject": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftSubject"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftText"
              },
              {
                "type": "null"
              }
            ]
          },
          "to": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ProviderD09F9471A0E8_drafts_DraftTo"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "UpdateDraftRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_inboxes_ClientId": {
        "description": "收件箱的客户端 ID。",
        "title": "ClientId",
        "type": "string"
      },
      "ProviderD09F9471A0E8_inboxes_CreateInboxRequest": {
        "properties": {
          "client_id": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_inboxes_ClientId"
          },
          "display_name": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_inboxes_DisplayName"
          },
          "domain": {
            "description": "Domain of address. Must be a verified domain, or any subdomain of a\nverified domain that has subdomains enabled (e.g., `bot.example.com`).\nDefaults to `agentmail.to`.",
            "type": "string"
          },
          "metadata": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_inboxes_Metadata",
            "description": "附加到收件箱的自定义元数据。"
          },
          "status": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_inboxes_InboxStatus",
            "description": "Set `paused` to create the inbox paused."
          },
          "username": {
            "description": "地址的用户名。如未指定，则随机生成。",
            "type": "string"
          }
        },
        "title": "CreateInboxRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_inboxes_DisplayName": {
        "description": "显示名称：`Display Name <username@domain.com>`。",
        "title": "DisplayName",
        "type": "string"
      },
      "ProviderD09F9471A0E8_inboxes_InboxId": {
        "description": "收件箱的 ID。",
        "title": "InboxId",
        "type": "string"
      },
      "ProviderD09F9471A0E8_inboxes_InboxStatus": {
        "description": "Whether the inbox sends and receives mail. `paused` stops both: sends\nreturn `403` with code `inbox_paused`, and incoming mail is not\ndelivered and not bounced, then or on resume. Mail already in the inbox,\nits drafts, and its API keys are kept. Set `active` to resume.",
        "enum": [
          "active",
          "paused"
        ],
        "title": "InboxStatus",
        "type": "string"
      },
      "ProviderD09F9471A0E8_inboxes_Metadata": {
        "additionalProperties": {
          "$ref": "#/components/schemas/ProviderD09F9471A0E8_inboxes_MetadataValue"
        },
        "description": "附加到收件箱的自定义键值对。最多 256 个键。键和\n字符串值均限制为 256 个字符。更新 metadata 时，\n发送值为 null 的键即可删除该键。",
        "title": "Metadata",
        "type": "object"
      },
      "ProviderD09F9471A0E8_inboxes_MetadataValue": {
        "description": "元数据值。可以是字符串、数字或布尔值。",
        "oneOf": [
          {
            "type": "string"
          },
          {
            "format": "double",
            "type": "number"
          },
          {
            "type": "boolean"
          }
        ],
        "title": "MetadataValue"
      },
      "ProviderD09F9471A0E8_inboxes_UpdateInboxRequest": {
        "properties": {
          "display_name": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_inboxes_DisplayName"
          },
          "metadata": {
            "description": "Metadata to merge into the inbox's existing metadata. Keys you include\nare added or overwritten; keys you omit are left unchanged. To remove a\nsingle key, send it with a null value. To clear all metadata, send\n`metadata` as null. Sending an empty object is rejected; use null to\nclear. Each update must include at least one of `display_name`,\n`status`, or `metadata`.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/ProviderD09F9471A0E8_inboxes_UpdateMetadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_inboxes_InboxStatus",
            "description": "`paused` stops the inbox sending and receiving mail; `active` resumes\nit. Mail that arrived while the inbox was paused is not delivered on\nresume."
          }
        },
        "title": "UpdateInboxRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_inboxes_UpdateMetadata": {
        "additionalProperties": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ProviderD09F9471A0E8_inboxes_MetadataValue"
            },
            {
              "type": "null"
            }
          ]
        },
        "description": "要合并到收件箱现有 metadata 中的自定义键值对。\n值可以是字符串、数字、布尔值或 null。将键设置为 null\n会将其删除。最多支持 256 个键；每个键和字符串值均限制为\n256 个字符。",
        "title": "UpdateMetadata",
        "type": "object"
      },
      "ProviderD09F9471A0E8_lists_CreateListEntryRequest": {
        "properties": {
          "entry": {
            "description": "要添加的电子邮件地址或域名。",
            "type": "string"
          },
          "reason": {
            "description": "添加该条目的原因。",
            "type": "string"
          }
        },
        "required": [
          "entry"
        ],
        "title": "CreateListEntryRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_lists_Direction": {
        "description": "列表条目的方向。",
        "enum": [
          "send",
          "receive",
          "reply"
        ],
        "title": "Direction",
        "type": "string"
      },
      "ProviderD09F9471A0E8_lists_ListType": {
        "description": "列表条目的类型。",
        "enum": [
          "allow",
          "block"
        ],
        "title": "ListType",
        "type": "string"
      },
      "ProviderD09F9471A0E8_messages_Addresses": {
        "oneOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        ],
        "title": "Addresses"
      },
      "ProviderD09F9471A0E8_messages_MessageHtml": {
        "description": "消息的 HTML 正文。",
        "title": "MessageHtml",
        "type": "string"
      },
      "ProviderD09F9471A0E8_messages_MessageId": {
        "description": "消息 ID。",
        "title": "MessageId",
        "type": "string"
      },
      "ProviderD09F9471A0E8_messages_MessageLabels": {
        "description": "消息标签。",
        "items": {
          "type": "string"
        },
        "title": "MessageLabels",
        "type": "array"
      },
      "ProviderD09F9471A0E8_messages_MessageSubject": {
        "description": "消息主题。",
        "title": "MessageSubject",
        "type": "string"
      },
      "ProviderD09F9471A0E8_messages_MessageText": {
        "description": "消息的纯文本正文。",
        "title": "MessageText",
        "type": "string"
      },
      "ProviderD09F9471A0E8_messages_ReplyAll": {
        "description": "回复原始消息的所有收件人。",
        "title": "ReplyAll",
        "type": "boolean"
      },
      "ProviderD09F9471A0E8_messages_ReplyAllMessageRequest": {
        "properties": {
          "attachments": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageAttachments"
          },
          "headers": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageHeaders"
          },
          "html": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_MessageHtml"
          },
          "labels": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_MessageLabels"
          },
          "reply_to": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageReplyTo"
          },
          "text": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_MessageText"
          },
          "track_opens": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_TrackOpens"
          }
        },
        "title": "ReplyAllMessageRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_messages_ReplyToMessageRequest": {
        "properties": {
          "attachments": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageAttachments"
          },
          "bcc": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageBcc"
          },
          "cc": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageCc"
          },
          "headers": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageHeaders"
          },
          "html": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_MessageHtml"
          },
          "labels": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_MessageLabels"
          },
          "reply_all": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_ReplyAll"
          },
          "reply_to": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageReplyTo"
          },
          "text": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_MessageText"
          },
          "to": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageTo"
          },
          "track_opens": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_TrackOpens"
          }
        },
        "title": "ReplyToMessageRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_messages_SendMessageAttachments": {
        "description": "消息中要包含的附件。",
        "items": {
          "$ref": "#/components/schemas/ProviderD09F9471A0E8_attachments_SendAttachment"
        },
        "title": "SendMessageAttachments",
        "type": "array"
      },
      "ProviderD09F9471A0E8_messages_SendMessageBcc": {
        "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_Addresses",
        "description": "密送收件人地址。",
        "title": "SendMessageBcc"
      },
      "ProviderD09F9471A0E8_messages_SendMessageCc": {
        "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_Addresses",
        "description": "抄送收件人地址。",
        "title": "SendMessageCc"
      },
      "ProviderD09F9471A0E8_messages_SendMessageHeaders": {
        "additionalProperties": {
          "type": "string"
        },
        "description": "消息中要包含的标头。",
        "title": "SendMessageHeaders",
        "type": "object"
      },
      "ProviderD09F9471A0E8_messages_SendMessageReplyTo": {
        "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_Addresses",
        "description": "回复地址（一个或多个）。",
        "title": "SendMessageReplyTo"
      },
      "ProviderD09F9471A0E8_messages_SendMessageRequest": {
        "properties": {
          "attachments": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageAttachments"
          },
          "bcc": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageBcc"
          },
          "cc": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageCc"
          },
          "headers": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageHeaders"
          },
          "html": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_MessageHtml"
          },
          "labels": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_MessageLabels"
          },
          "reply_to": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageReplyTo"
          },
          "subject": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_MessageSubject"
          },
          "text": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_MessageText"
          },
          "to": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_SendMessageTo"
          },
          "track_opens": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_TrackOpens"
          }
        },
        "title": "SendMessageRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_messages_SendMessageTo": {
        "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_Addresses",
        "description": "收件人地址。",
        "title": "SendMessageTo"
      },
      "ProviderD09F9471A0E8_messages_TrackOpens": {
        "description": "Track when this message is first opened. Requires a custom domain with tracking enabled and\nan HTML body. Opens surface as the `opened` label on the message and as a `message.opened`\nevent. One pixel is injected per message, not per recipient, so a message with several\nrecipients fires once when any of them opens it, and the event does not identify which one.",
        "title": "TrackOpens",
        "type": "boolean"
      },
      "ProviderD09F9471A0E8_messages_UpdateMessageLabels": {
        "description": "标签或标签列表。",
        "oneOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        ],
        "title": "UpdateMessageLabels"
      },
      "ProviderD09F9471A0E8_messages_UpdateMessageRequest": {
        "properties": {
          "add_labels": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_UpdateMessageLabels",
            "description": "要添加到消息的一个或多个标签。"
          },
          "remove_labels": {
            "$ref": "#/components/schemas/ProviderD09F9471A0E8_messages_UpdateMessageLabels",
            "description": "要从消息中移除的一个或多个标签。"
          }
        },
        "title": "UpdateMessageRequest",
        "type": "object"
      },
      "ProviderD09F9471A0E8_threads_ThreadId": {
        "description": "会话 ID。",
        "title": "ThreadId",
        "type": "string"
      },
      "ProviderD09F9471A0E8_threads_UpdateThreadRequest": {
        "properties": {
          "add_labels": {
            "description": "要添加到会话串的标签。不能是系统标签。",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "remove_labels": {
            "description": "要从会话线程中移除的标签。不能是系统标签。优先级高于 `add_labels`（当传入重复标签时）。",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "title": "UpdateThreadRequest",
        "type": "object"
      },
      "Response38395Bb200C1_type_metrics_MetricBucket": {
        "properties": {
          "count": {
            "description": "存储桶中的事件数量。",
            "type": "integer"
          },
          "timestamp": {
            "description": "时间桶的时间戳。",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "timestamp",
          "count"
        ],
        "title": "MetricBucket",
        "type": "object"
      },
      "Response38395Bb200C1_type_metrics_QueryMetricsResponse": {
        "additionalProperties": {
          "items": {
            "$ref": "#/components/schemas/Response38395Bb200C1_type_metrics_MetricBucket"
          },
          "type": "array"
        },
        "description": "按事件类型分组的指标。",
        "title": "QueryMetricsResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_Count": {
        "description": "返回的项目数量。",
        "title": "Count",
        "type": "integer"
      },
      "ResponseD09F9471A0E8_Limit": {
        "description": "返回项目数量的上限。",
        "title": "Limit",
        "type": "integer"
      },
      "ResponseD09F9471A0E8_OrganizationId": {
        "description": "组织 ID。",
        "title": "OrganizationId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_PageToken": {
        "description": "用于分页的页面 token。",
        "title": "PageToken",
        "type": "string"
      },
      "ResponseD09F9471A0E8_apiKeys_ApiKey": {
        "description": "One credential of any family. `type` is `bearer` or `public_key`. A\npublic key carrying `status` is a sign-in key; one without it is a\nregistered signing key.",
        "oneOf": [
          {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_BearerApiKey"
          },
          {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_PublicKeyCredential"
          }
        ],
        "title": "ApiKey"
      },
      "ResponseD09F9471A0E8_apiKeys_ApiKeyCreator": {
        "description": "The bearer API key that created the credential. Provenance only; the credential outlives it.",
        "properties": {
          "api_key_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ApiKeyId"
          }
        },
        "required": [
          "api_key_id"
        ],
        "title": "ApiKeyCreator",
        "type": "object"
      },
      "ResponseD09F9471A0E8_apiKeys_ApiKeyId": {
        "description": "API 密钥的 ID。",
        "title": "ApiKeyId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_apiKeys_ApiKeyPermissions": {
        "description": "API 密钥的细粒度权限。省略时授予所有权限；否则，仅授予设置为 true 的权限。",
        "properties": {
          "account_update": {
            "description": "Update accounts: disable or re-enable an inbox's sign-in at an app. Reading accounts\nneeds only `inbox_read`.",
            "type": "boolean"
          },
          "api_key_create": {
            "description": "创建 API 密钥。",
            "type": "boolean"
          },
          "api_key_delete": {
            "description": "删除 API 密钥。",
            "type": "boolean"
          },
          "api_key_read": {
            "description": "读取 API 密钥。",
            "type": "boolean"
          },
          "api_key_update": {
            "description": "Update API keys.",
            "type": "boolean"
          },
          "app_connect": {
            "description": "Sign in to apps as an inbox: connect an app, authorize an inbox, and mint the\nsign-in keys. Omitted on a new bearer key means false, whatever else the key holds.",
            "type": "boolean"
          },
          "app_share_owner": {
            "description": "Share the organization owner's name and email with apps at sign-in. One permission\nfor both values.",
            "type": "boolean"
          },
          "calendar_event_create": {
            "description": "Create calendar events.",
            "type": "boolean"
          },
          "calendar_event_delete": {
            "description": "Delete calendar events.",
            "type": "boolean"
          },
          "calendar_event_read": {
            "description": "Read calendar events, and receive `calendar.event.*` webhook and WebSocket events.",
            "type": "boolean"
          },
          "calendar_event_update": {
            "description": "Update calendar events and respond to invitations.",
            "type": "boolean"
          },
          "calendar_read": {
            "description": "Read inbox calendar settings.",
            "type": "boolean"
          },
          "calendar_update": {
            "description": "Update inbox calendar settings.",
            "type": "boolean"
          },
          "domain_create": {
            "description": "创建域名。",
            "type": "boolean"
          },
          "domain_delete": {
            "description": "删除域名。",
            "type": "boolean"
          },
          "domain_read": {
            "description": "读取域名详情。",
            "type": "boolean"
          },
          "domain_update": {
            "description": "更新域名。",
            "type": "boolean"
          },
          "draft_create": {
            "description": "创建草稿。",
            "type": "boolean"
          },
          "draft_delete": {
            "description": "删除草稿。",
            "type": "boolean"
          },
          "draft_read": {
            "description": "读取草稿。",
            "type": "boolean"
          },
          "draft_send": {
            "description": "发送草稿。",
            "type": "boolean"
          },
          "draft_update": {
            "description": "更新草稿。",
            "type": "boolean"
          },
          "inbox_create": {
            "description": "创建新收件箱。",
            "type": "boolean"
          },
          "inbox_delete": {
            "description": "删除收件箱。",
            "type": "boolean"
          },
          "inbox_read": {
            "description": "读取收件箱详情。",
            "type": "boolean"
          },
          "inbox_update": {
            "description": "更新收件箱设置。",
            "type": "boolean"
          },
          "label_blocked_read": {
            "description": "访问标记为 blocked 的消息。",
            "type": "boolean"
          },
          "label_spam_read": {
            "description": "访问标记为垃圾邮件的消息。",
            "type": "boolean"
          },
          "label_trash_read": {
            "description": "访问标记为垃圾箱的邮件。",
            "type": "boolean"
          },
          "label_unauthenticated_read": {
            "description": "Access messages labeled unauthenticated.",
            "type": "boolean"
          },
          "list_entry_create": {
            "description": "创建列表条目。",
            "type": "boolean"
          },
          "list_entry_delete": {
            "description": "删除列表条目。",
            "type": "boolean"
          },
          "list_entry_read": {
            "description": "读取列表条目。",
            "type": "boolean"
          },
          "message_delete": {
            "description": "Delete messages. Also required to delete threads.",
            "type": "boolean"
          },
          "message_read": {
            "description": "Read messages. Also required to read threads.",
            "type": "boolean"
          },
          "message_reply": {
            "description": "Reply and reply-all when the request is signed with a registered public key. Bearer keys reply with `message_send`.",
            "type": "boolean"
          },
          "message_send": {
            "description": "发送消息。",
            "type": "boolean"
          },
          "message_update": {
            "description": "Update message labels. Also required to update threads.",
            "type": "boolean"
          },
          "metrics_read": {
            "description": "读取指标。",
            "type": "boolean"
          },
          "pod_create": {
            "description": "创建 Pod。",
            "type": "boolean"
          },
          "pod_delete": {
            "description": "删除 Pod。",
            "type": "boolean"
          },
          "pod_read": {
            "description": "读取 Pod。",
            "type": "boolean"
          },
          "pod_update": {
            "description": "Update pods.",
            "type": "boolean"
          },
          "webhook_create": {
            "description": "创建 Webhook。",
            "type": "boolean"
          },
          "webhook_delete": {
            "description": "删除 Webhook。",
            "type": "boolean"
          },
          "webhook_read": {
            "description": "读取 Webhook 配置。",
            "type": "boolean"
          },
          "webhook_update": {
            "description": "更新 Webhook。",
            "type": "boolean"
          }
        },
        "title": "ApiKeyPermissions",
        "type": "object"
      },
      "ResponseD09F9471A0E8_apiKeys_BearerApiKey": {
        "description": "An API key presented as a bearer token in the `Authorization` header.",
        "properties": {
          "api_key_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ApiKeyId"
          },
          "created_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_CreatedAt"
          },
          "expires_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ExpiresAt"
          },
          "inbox_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_InboxScopeId"
          },
          "name": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_Name"
          },
          "permissions": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ApiKeyPermissions"
          },
          "pod_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_PodScopeId"
          },
          "prefix": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_Prefix"
          },
          "type": {
            "enum": [
              "bearer"
            ],
            "type": "string"
          },
          "updated_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_UpdatedAt"
          },
          "used_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_UsedAt"
          }
        },
        "required": [
          "type",
          "api_key_id",
          "prefix",
          "name",
          "created_at",
          "updated_at"
        ],
        "title": "BearerApiKey",
        "type": "object"
      },
      "ResponseD09F9471A0E8_apiKeys_CreateApiKeyResponse": {
        "properties": {
          "api_key": {
            "description": "API 密钥。",
            "type": "string"
          },
          "api_key_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ApiKeyId"
          },
          "created_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_CreatedAt"
          },
          "expires_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ExpiresAt"
          },
          "inbox_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_InboxScopeId"
          },
          "name": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_Name"
          },
          "permissions": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ApiKeyPermissions"
          },
          "pod_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_PodScopeId"
          },
          "prefix": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_Prefix"
          }
        },
        "required": [
          "api_key_id",
          "api_key",
          "prefix",
          "name",
          "created_at"
        ],
        "title": "CreateApiKeyResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_apiKeys_CreateApiKeyResult": {
        "description": "The secret-bearing bearer key, or the registered public key without any secret.",
        "oneOf": [
          {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_CreateApiKeyResponse"
          },
          {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_PublicKeyCredential"
          }
        ],
        "title": "CreateApiKeyResult"
      },
      "ResponseD09F9471A0E8_apiKeys_CreatedAt": {
        "description": "API 密钥的创建时间。",
        "format": "date-time",
        "title": "CreatedAt",
        "type": "string"
      },
      "ResponseD09F9471A0E8_apiKeys_ExpiresAt": {
        "description": "Time at which api key expires. Omitted when it does not expire.",
        "format": "date-time",
        "title": "ExpiresAt",
        "type": "string"
      },
      "ResponseD09F9471A0E8_apiKeys_InboxScopeId": {
        "description": "API 密钥限定访问的收件箱 ID。如果设置，该密钥只能访问此收件箱内的资源。",
        "title": "InboxScopeId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_apiKeys_ListApiKeysResponse": {
        "properties": {
          "api_keys": {
            "description": "Every credential family, ordered by `created_at`. `type` restricts\nto one family.",
            "items": {
              "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ApiKey"
            },
            "type": "array"
          },
          "count": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Count"
          },
          "next_page_token": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_PageToken"
          }
        },
        "required": [
          "count",
          "api_keys"
        ],
        "title": "ListApiKeysResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_apiKeys_Name": {
        "description": "API 密钥的名称。",
        "title": "Name",
        "type": "string"
      },
      "ResponseD09F9471A0E8_apiKeys_PodScopeId": {
        "description": "API 密钥作用域所限定的 Pod ID。设置后，该密钥只能访问此 Pod 内的资源。",
        "title": "PodScopeId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_apiKeys_Prefix": {
        "description": "API 密钥的前缀。",
        "title": "Prefix",
        "type": "string"
      },
      "ResponseD09F9471A0E8_apiKeys_PublicJwk": {
        "description": "A public P-256 JWK. The object accepts exactly `kty`, `crv`, `x`, and `y`.\nPrivate key material such as `d`, embedded key IDs, and all other members\nare rejected. The server also rejects coordinates that are not a point on\nP-256.",
        "properties": {
          "crv": {
            "enum": [
              "P-256"
            ],
            "type": "string"
          },
          "kty": {
            "enum": [
              "EC"
            ],
            "type": "string"
          },
          "x": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_PublicJwkCoordinate"
          },
          "y": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_PublicJwkCoordinate"
          }
        },
        "required": [
          "kty",
          "crv",
          "x",
          "y"
        ],
        "title": "PublicJwk",
        "type": "object"
      },
      "ResponseD09F9471A0E8_apiKeys_PublicJwkCoordinate": {
        "description": "A 32-byte P-256 coordinate encoded as unpadded base64url.",
        "maxLength": 43,
        "minLength": 43,
        "pattern": "^[A-Za-z0-9_-]{43}$",
        "title": "PublicJwkCoordinate",
        "type": "string"
      },
      "ResponseD09F9471A0E8_apiKeys_PublicKeyClientId": {
        "description": "Caller-chosen alias for a public key, unique within the organization and\nreusable after deletion. Accepted in place of `api_key_id` on get, update,\nand delete. Registration is idempotent on it: the same alias returns the\nexisting key, a conflicting one returns `409`. URL-safe; no slash or `@`.",
        "title": "PublicKeyClientId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_apiKeys_PublicKeyCredential": {
        "description": "An AgentID sign-in credential, scoped like a bearer key; `api_key_id` is\nthe JWS `kid`. A sign-in key carries `status`, gains `public_key` once\nthe client has proved it, expires 30 days after\nactivation, and carries exactly `app_connect` and\n`app_share_owner`, snapshotted from the bearer key that created it\nand enforced from the key itself.",
        "properties": {
          "api_key_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ApiKeyId"
          },
          "client_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_PublicKeyClientId"
          },
          "created_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_CreatedAt"
          },
          "created_by": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ApiKeyCreator"
          },
          "expires_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ExpiresAt"
          },
          "inbox_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_InboxScopeId"
          },
          "name": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_Name"
          },
          "permissions": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ApiKeyPermissions"
          },
          "pod_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_PodScopeId"
          },
          "public_key": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_PublicKeyMaterial"
          },
          "status": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_PublicKeyStatus"
          },
          "type": {
            "enum": [
              "public_key"
            ],
            "type": "string"
          },
          "updated_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_UpdatedAt"
          },
          "used_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_UsedAt"
          }
        },
        "required": [
          "type",
          "api_key_id",
          "name",
          "permissions",
          "created_by",
          "created_at",
          "updated_at"
        ],
        "title": "PublicKeyCredential",
        "type": "object"
      },
      "ResponseD09F9471A0E8_apiKeys_PublicKeyMaterial": {
        "description": "Registered public key material and its server-computed RFC 7638 thumbprint.",
        "properties": {
          "fingerprint": {
            "description": "RFC 7638 SHA-256 JWK thumbprint encoded as unpadded base64url.",
            "maxLength": 43,
            "minLength": 43,
            "pattern": "^[A-Za-z0-9_-]{43}$",
            "type": "string"
          },
          "jwk": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_PublicJwk"
          }
        },
        "required": [
          "jwk",
          "fingerprint"
        ],
        "title": "PublicKeyMaterial",
        "type": "object"
      },
      "ResponseD09F9471A0E8_apiKeys_PublicKeyStatus": {
        "description": "Lifecycle of a sign-in key: `pending` until the client finishes\ncreating it on the AgentID page, `active` once it can sign in as the\ninbox. Absent on a registered key.",
        "enum": [
          "pending",
          "active"
        ],
        "title": "PublicKeyStatus",
        "type": "string"
      },
      "ResponseD09F9471A0E8_apiKeys_UpdatedAt": {
        "description": "Time at which api key was last updated.",
        "format": "date-time",
        "title": "UpdatedAt",
        "type": "string"
      },
      "ResponseD09F9471A0E8_apiKeys_UsedAt": {
        "description": "API 密钥上次使用的时间。",
        "format": "date-time",
        "title": "UsedAt",
        "type": "string"
      },
      "ResponseD09F9471A0E8_attachments_Attachment": {
        "properties": {
          "attachment_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentId"
          },
          "content_disposition": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentContentDisposition"
          },
          "content_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentContentId"
          },
          "content_type": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentContentType"
          },
          "filename": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentFilename"
          },
          "size": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentSize"
          }
        },
        "required": [
          "attachment_id",
          "size"
        ],
        "title": "Attachment",
        "type": "object"
      },
      "ResponseD09F9471A0E8_attachments_AttachmentContentDisposition": {
        "description": "附件的内容处置方式。",
        "enum": [
          "inline",
          "attachment"
        ],
        "title": "AttachmentContentDisposition",
        "type": "string"
      },
      "ResponseD09F9471A0E8_attachments_AttachmentContentId": {
        "description": "附件的内容 ID。",
        "title": "AttachmentContentId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_attachments_AttachmentContentType": {
        "description": "附件的内容类型。",
        "title": "AttachmentContentType",
        "type": "string"
      },
      "ResponseD09F9471A0E8_attachments_AttachmentFilename": {
        "description": "附件文件名。",
        "title": "AttachmentFilename",
        "type": "string"
      },
      "ResponseD09F9471A0E8_attachments_AttachmentId": {
        "description": "附件 ID。",
        "title": "AttachmentId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_attachments_AttachmentResponse": {
        "properties": {
          "attachment_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentId"
          },
          "content_disposition": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentContentDisposition"
          },
          "content_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentContentId"
          },
          "content_type": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentContentType"
          },
          "download_url": {
            "description": "Signed HTTPS CDN URL to download the attachment bytes. Retrieve a fresh URL when needed rather than storing it permanently.",
            "type": "string"
          },
          "expires_at": {
            "description": "Time at which download_url and text_url (when present) expire. Retrieve the attachment again to obtain fresh URLs.",
            "format": "date-time",
            "type": "string"
          },
          "filename": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentFilename"
          },
          "size": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentSize"
          },
          "text_url": {
            "description": "Signed HTTPS CDN URL to download extracted plain text, when available. Omitted when no extracted text is available. Expires at the same time as download_url.",
            "type": "string"
          }
        },
        "required": [
          "attachment_id",
          "size",
          "download_url",
          "expires_at"
        ],
        "title": "AttachmentResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_attachments_AttachmentSize": {
        "description": "附件大小（字节）。",
        "title": "AttachmentSize",
        "type": "integer"
      },
      "ResponseD09F9471A0E8_domains_ClientId": {
        "description": "域的客户端 ID。",
        "title": "ClientId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_domains_Domain": {
        "properties": {
          "client_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_ClientId"
          },
          "created_at": {
            "description": "域名的创建时间。",
            "format": "date-time",
            "type": "string"
          },
          "domain": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_DomainName"
          },
          "domain_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_DomainId"
          },
          "feedback_enabled": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_FeedbackEnabled"
          },
          "inbound_enabled": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_InboundEnabled",
            "description": "Absent on domains created before this field existed; those receive email."
          },
          "pod_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_pods_PodId"
          },
          "reason": {
            "description": "Why the domain is not (yet) VERIFIED, when known. `dns_records_missing` / `dns_records_invalid` point at the DNS records. The `ses_*` values mean the records look right and sending-infrastructure validation has not converged: `ses_dkim_pending` / `ses_mail_from_pending` (still checking), `ses_dkim_temporary_failure` / `ses_mail_from_temporary_failure` (a transient error the infrastructure keeps retrying on its own — usually resolves without changes), `ses_dkim_failed` / `ses_mail_from_failed` (a terminal verdict; re-verify after fixing), `ses_dkim_not_started` / `ses_mail_from_not_started` (the attribute was never configured on the identity — re-verify to push it), and `ses_not_verified_for_sending`. Absent when VERIFIED.",
            "type": "string"
          },
          "records": {
            "description": "A list of DNS records required to verify the domain. Includes the apex\nMX record unless `inbound_enabled` is false, and a wildcard MX record\n(`*.<domain>`) when `subdomains_enabled` is true.",
            "items": {
              "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_VerificationRecord"
            },
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_Status"
          },
          "subdomains_enabled": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_SubdomainsEnabled"
          },
          "tracking_enabled": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_TrackingEnabled"
          },
          "updated_at": {
            "description": "域名上次更新的时间。",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "domain_id",
          "domain",
          "status",
          "feedback_enabled",
          "subdomains_enabled",
          "tracking_enabled",
          "records",
          "updated_at",
          "created_at"
        ],
        "title": "Domain",
        "type": "object"
      },
      "ResponseD09F9471A0E8_domains_DomainId": {
        "description": "域名的 ID。",
        "title": "DomainId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_domains_DomainItem": {
        "properties": {
          "client_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_ClientId"
          },
          "created_at": {
            "description": "域名的创建时间。",
            "format": "date-time",
            "type": "string"
          },
          "domain": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_DomainName"
          },
          "domain_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_DomainId"
          },
          "feedback_enabled": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_FeedbackEnabled"
          },
          "inbound_enabled": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_InboundEnabled",
            "description": "Absent on domains created before this field existed; those receive email."
          },
          "pod_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_pods_PodId"
          },
          "subdomains_enabled": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_SubdomainsEnabled"
          },
          "tracking_enabled": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_TrackingEnabled"
          },
          "updated_at": {
            "description": "域名上次更新的时间。",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "domain_id",
          "domain",
          "feedback_enabled",
          "subdomains_enabled",
          "tracking_enabled",
          "updated_at",
          "created_at"
        ],
        "title": "DomainItem",
        "type": "object"
      },
      "ResponseD09F9471A0E8_domains_DomainName": {
        "description": "域名（例如 `example.com`）。",
        "title": "DomainName",
        "type": "string"
      },
      "ResponseD09F9471A0E8_domains_FeedbackEnabled": {
        "description": "退信和投诉通知将发送到您的收件箱。",
        "title": "FeedbackEnabled",
        "type": "boolean"
      },
      "ResponseD09F9471A0E8_domains_InboundEnabled": {
        "description": "Receive email for this domain. Defaults to `true`. Set `false` for a send-only\ndomain: the apex MX record is not required and is omitted from `records`, so the\ndomain's existing email provider keeps receiving its mail. Inboxes on a send-only\ndomain can still send.",
        "title": "InboundEnabled",
        "type": "boolean"
      },
      "ResponseD09F9471A0E8_domains_ListDomainsResponse": {
        "properties": {
          "count": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Count"
          },
          "domains": {
            "description": "按 `created_at` 降序排列。",
            "items": {
              "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_DomainItem"
            },
            "type": "array"
          },
          "limit": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Limit"
          },
          "next_page_token": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_PageToken"
          }
        },
        "required": [
          "count",
          "domains"
        ],
        "title": "ListDomainsResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_domains_RecordStatus": {
        "enum": [
          "MISSING",
          "INVALID",
          "VALID"
        ],
        "title": "RecordStatus",
        "type": "string"
      },
      "ResponseD09F9471A0E8_domains_RecordType": {
        "enum": [
          "TXT",
          "CNAME",
          "MX"
        ],
        "title": "RecordType",
        "type": "string"
      },
      "ResponseD09F9471A0E8_domains_Status": {
        "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_VerificationStatus",
        "description": "域名的验证状态。",
        "title": "Status"
      },
      "ResponseD09F9471A0E8_domains_SubdomainsEnabled": {
        "description": "Allow inboxes on any subdomain of this domain. Adds a required wildcard MX\nrecord (`*.<domain>`) to `records`.",
        "title": "SubdomainsEnabled",
        "type": "boolean"
      },
      "ResponseD09F9471A0E8_domains_TrackingEnabled": {
        "description": "Serve open tracking pixels from this domain. Adds a required `link.<domain>`\nCNAME record to `records`, which must be published and verified before\n`track_opens` can be used on a send.",
        "title": "TrackingEnabled",
        "type": "boolean"
      },
      "ResponseD09F9471A0E8_domains_VerificationRecord": {
        "properties": {
          "name": {
            "description": "记录的名称或主机。",
            "type": "string"
          },
          "priority": {
            "description": "MX 记录的优先级。",
            "type": "integer"
          },
          "reason": {
            "description": "Why the record is INVALID, when known. `duplicate_records` means the expected value is present but extra records coexist at the same name; `value_mismatch` means a record exists but does not match the expected value.",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_RecordStatus",
            "description": "此特定记录的验证状态。"
          },
          "type": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_RecordType",
            "description": "DNS 记录的类型。"
          },
          "value": {
            "description": "记录的值。",
            "type": "string"
          }
        },
        "required": [
          "type",
          "name",
          "value",
          "status"
        ],
        "title": "VerificationRecord",
        "type": "object"
      },
      "ResponseD09F9471A0E8_domains_VerificationStatus": {
        "enum": [
          "NOT_STARTED",
          "PENDING",
          "INVALID",
          "FAILED",
          "VERIFYING",
          "VERIFIED"
        ],
        "title": "VerificationStatus",
        "type": "string"
      },
      "ResponseD09F9471A0E8_drafts_Draft": {
        "properties": {
          "attachments": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftAttachments"
          },
          "bcc": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftBcc"
          },
          "cc": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftCc"
          },
          "client_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftClientId"
          },
          "created_at": {
            "description": "草稿创建时间。",
            "format": "date-time",
            "type": "string"
          },
          "draft_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftId"
          },
          "forward_of": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftForwardOf"
          },
          "html": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftHtml"
          },
          "in_reply_to": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftInReplyTo"
          },
          "inbox_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_InboxId"
          },
          "labels": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftLabels"
          },
          "preview": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftPreview"
          },
          "references": {
            "description": "会话串中先前消息的 ID。",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "reply_to": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftReplyTo"
          },
          "send_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftSendAt"
          },
          "send_status": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftSendStatus"
          },
          "subject": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftSubject"
          },
          "text": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftText"
          },
          "to": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftTo"
          },
          "updated_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftUpdatedAt"
          }
        },
        "required": [
          "inbox_id",
          "draft_id",
          "labels",
          "updated_at",
          "created_at"
        ],
        "title": "Draft",
        "type": "object"
      },
      "ResponseD09F9471A0E8_drafts_DraftAttachments": {
        "description": "草稿中的附件。",
        "items": {
          "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_Attachment"
        },
        "title": "DraftAttachments",
        "type": "array"
      },
      "ResponseD09F9471A0E8_drafts_DraftBcc": {
        "description": "BCC 收件人的地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "items": {
          "type": "string"
        },
        "title": "DraftBcc",
        "type": "array"
      },
      "ResponseD09F9471A0E8_drafts_DraftCc": {
        "description": "抄送收件人的地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "items": {
          "type": "string"
        },
        "title": "DraftCc",
        "type": "array"
      },
      "ResponseD09F9471A0E8_drafts_DraftClientId": {
        "description": "草稿的客户端 ID。",
        "title": "DraftClientId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_drafts_DraftForwardOf": {
        "description": "ID of message being forwarded.",
        "title": "DraftForwardOf",
        "type": "string"
      },
      "ResponseD09F9471A0E8_drafts_DraftHtml": {
        "description": "草稿的 HTML 正文。",
        "title": "DraftHtml",
        "type": "string"
      },
      "ResponseD09F9471A0E8_drafts_DraftId": {
        "description": "草稿 ID。",
        "title": "DraftId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_drafts_DraftInReplyTo": {
        "description": "被回复消息的 ID。",
        "title": "DraftInReplyTo",
        "type": "string"
      },
      "ResponseD09F9471A0E8_drafts_DraftItem": {
        "properties": {
          "attachments": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftAttachments"
          },
          "bcc": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftBcc"
          },
          "cc": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftCc"
          },
          "draft_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftId"
          },
          "forward_of": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftForwardOf"
          },
          "in_reply_to": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftInReplyTo"
          },
          "inbox_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_InboxId"
          },
          "labels": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftLabels"
          },
          "preview": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftPreview"
          },
          "send_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftSendAt"
          },
          "send_status": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftSendStatus"
          },
          "subject": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftSubject"
          },
          "to": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftTo"
          },
          "updated_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftUpdatedAt"
          }
        },
        "required": [
          "inbox_id",
          "draft_id",
          "labels",
          "updated_at"
        ],
        "title": "DraftItem",
        "type": "object"
      },
      "ResponseD09F9471A0E8_drafts_DraftLabels": {
        "description": "草稿标签。",
        "items": {
          "type": "string"
        },
        "title": "DraftLabels",
        "type": "array"
      },
      "ResponseD09F9471A0E8_drafts_DraftPreview": {
        "description": "草稿文本预览。",
        "title": "DraftPreview",
        "type": "string"
      },
      "ResponseD09F9471A0E8_drafts_DraftReplyTo": {
        "description": "回复地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "items": {
          "type": "string"
        },
        "title": "DraftReplyTo",
        "type": "array"
      },
      "ResponseD09F9471A0E8_drafts_DraftSendAt": {
        "description": "计划发送草稿的时间。",
        "format": "date-time",
        "title": "DraftSendAt",
        "type": "string"
      },
      "ResponseD09F9471A0E8_drafts_DraftSendStatus": {
        "description": "草稿的定时发送状态。",
        "enum": [
          "scheduled",
          "sending",
          "failed"
        ],
        "title": "DraftSendStatus",
        "type": "string"
      },
      "ResponseD09F9471A0E8_drafts_DraftSubject": {
        "description": "草稿主题。",
        "title": "DraftSubject",
        "type": "string"
      },
      "ResponseD09F9471A0E8_drafts_DraftText": {
        "description": "草稿的纯文本正文。",
        "title": "DraftText",
        "type": "string"
      },
      "ResponseD09F9471A0E8_drafts_DraftTo": {
        "description": "收件人地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "items": {
          "type": "string"
        },
        "title": "DraftTo",
        "type": "array"
      },
      "ResponseD09F9471A0E8_drafts_DraftUpdatedAt": {
        "description": "草稿的最后更新时间。",
        "format": "date-time",
        "title": "DraftUpdatedAt",
        "type": "string"
      },
      "ResponseD09F9471A0E8_drafts_ListDraftsResponse": {
        "properties": {
          "count": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Count"
          },
          "drafts": {
            "description": "按 `updated_at` 降序排列。",
            "items": {
              "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_DraftItem"
            },
            "type": "array"
          },
          "limit": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Limit"
          },
          "next_page_token": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_PageToken"
          }
        },
        "required": [
          "count",
          "drafts"
        ],
        "title": "ListDraftsResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_inboxEvents_InboxEvent": {
        "properties": {
          "created_at": {
            "description": "事件的记录时间。",
            "format": "date-time",
            "type": "string"
          },
          "event_at": {
            "description": "事件发生的时间。",
            "format": "date-time",
            "type": "string"
          },
          "event_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxEvents_InboxEventId"
          },
          "event_type": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxEvents_InboxEventType"
          },
          "inbox_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_InboxId"
          },
          "label": {
            "description": "标签已添加或移除。",
            "type": "string"
          },
          "message_id": {
            "description": "消息 ID。",
            "type": "string"
          },
          "organization_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_OrganizationId"
          },
          "pod_id": {
            "description": "Pod ID。",
            "type": "string"
          }
        },
        "required": [
          "organization_id",
          "pod_id",
          "inbox_id",
          "event_id",
          "event_type",
          "message_id",
          "label",
          "event_at",
          "created_at"
        ],
        "title": "InboxEvent",
        "type": "object"
      },
      "ResponseD09F9471A0E8_inboxEvents_InboxEventId": {
        "description": "事件 ID。",
        "title": "InboxEventId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_inboxEvents_InboxEventType": {
        "description": "收件箱事件类型。传输格式采用 dot.case，以匹配\nWebhook 事件使用的约定（events.yml 中的 `message.received`、\n`domain.verified` 等）。2026-04 之前使用的是\n`label_added`/`label_removed`（snake_case）。Fern 枚举的 `name`\n字段仍采用 uppercase-snake（Fern 约定）；仅传输格式的\n`value` 发生了变化。",
        "enum": [
          "label.added",
          "label.removed"
        ],
        "title": "InboxEventType",
        "type": "string"
      },
      "ResponseD09F9471A0E8_inboxEvents_ListInboxEventsResponse": {
        "properties": {
          "count": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Count"
          },
          "events": {
            "description": "按 `event_id` 降序排列。",
            "items": {
              "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxEvents_InboxEvent"
            },
            "type": "array"
          },
          "limit": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Limit"
          },
          "next_page_token": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_PageToken"
          }
        },
        "required": [
          "count",
          "events"
        ],
        "title": "ListInboxEventsResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_inboxes_ClientId": {
        "description": "收件箱的客户端 ID。",
        "title": "ClientId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_inboxes_DisplayName": {
        "description": "显示名称：`Display Name <username@domain.com>`。",
        "title": "DisplayName",
        "type": "string"
      },
      "ResponseD09F9471A0E8_inboxes_Email": {
        "description": "收件箱的电子邮件地址。",
        "title": "Email",
        "type": "string"
      },
      "ResponseD09F9471A0E8_inboxes_Inbox": {
        "properties": {
          "client_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_ClientId"
          },
          "created_at": {
            "description": "收件箱的创建时间。",
            "format": "date-time",
            "type": "string"
          },
          "display_name": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_DisplayName"
          },
          "email": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_Email"
          },
          "inbox_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_InboxId"
          },
          "metadata": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_Metadata",
            "description": "附加到收件箱的自定义元数据。"
          },
          "pod_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_pods_PodId"
          },
          "status": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_InboxStatus",
            "description": "`paused` when the inbox is paused. Omitted when the inbox is active.\nTreat any value other than `paused` as an inbox that sends and\nreceives normally."
          },
          "updated_at": {
            "description": "收件箱上次更新的时间。",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "pod_id",
          "inbox_id",
          "email",
          "updated_at",
          "created_at"
        ],
        "title": "Inbox",
        "type": "object"
      },
      "ResponseD09F9471A0E8_inboxes_InboxId": {
        "description": "收件箱的 ID。",
        "title": "InboxId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_inboxes_InboxStatus": {
        "description": "Whether the inbox sends and receives mail. `paused` stops both: sends\nreturn `403` with code `inbox_paused`, and incoming mail is not\ndelivered and not bounced, then or on resume. Mail already in the inbox,\nits drafts, and its API keys are kept. Set `active` to resume.",
        "enum": [
          "active",
          "paused"
        ],
        "title": "InboxStatus",
        "type": "string"
      },
      "ResponseD09F9471A0E8_inboxes_ListInboxesResponse": {
        "properties": {
          "count": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Count"
          },
          "inboxes": {
            "description": "按 `created_at` 降序排列。",
            "items": {
              "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_Inbox"
            },
            "type": "array"
          },
          "limit": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Limit"
          },
          "next_page_token": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_PageToken"
          }
        },
        "required": [
          "count",
          "inboxes"
        ],
        "title": "ListInboxesResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_inboxes_Metadata": {
        "additionalProperties": {
          "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_MetadataValue"
        },
        "description": "附加到收件箱的自定义键值对。最多 256 个键。键和\n字符串值均限制为 256 个字符。更新 metadata 时，\n发送值为 null 的键即可删除该键。",
        "title": "Metadata",
        "type": "object"
      },
      "ResponseD09F9471A0E8_inboxes_MetadataValue": {
        "description": "元数据值。可以是字符串、数字或布尔值。",
        "oneOf": [
          {
            "type": "string"
          },
          {
            "format": "double",
            "type": "number"
          },
          {
            "type": "boolean"
          }
        ],
        "title": "MetadataValue"
      },
      "ResponseD09F9471A0E8_lists_Direction": {
        "description": "列表条目的方向。",
        "enum": [
          "send",
          "receive",
          "reply"
        ],
        "title": "Direction",
        "type": "string"
      },
      "ResponseD09F9471A0E8_lists_EntryType": {
        "description": "该条目是电子邮件地址还是域名。",
        "enum": [
          "email",
          "domain"
        ],
        "title": "EntryType",
        "type": "string"
      },
      "ResponseD09F9471A0E8_lists_ListEntry": {
        "properties": {
          "created_at": {
            "description": "条目创建时间。",
            "format": "date-time",
            "type": "string"
          },
          "direction": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_Direction"
          },
          "entry": {
            "description": "列表条目的电子邮件地址或域名。",
            "type": "string"
          },
          "entry_type": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_EntryType"
          },
          "list_type": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_ListType"
          },
          "organization_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_OrganizationId"
          },
          "read_only": {
            "description": "该条目是否为只读且无法通过 API 删除。",
            "type": "boolean"
          },
          "reason": {
            "description": "添加该条目的原因。",
            "type": "string"
          }
        },
        "required": [
          "entry",
          "organization_id",
          "direction",
          "list_type",
          "entry_type",
          "created_at"
        ],
        "title": "ListEntry",
        "type": "object"
      },
      "ResponseD09F9471A0E8_lists_ListListEntriesResponse": {
        "properties": {
          "count": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Count"
          },
          "entries": {
            "description": "按 entry 升序排列。",
            "items": {
              "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_ListEntry"
            },
            "type": "array"
          },
          "limit": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Limit"
          },
          "next_page_token": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_PageToken"
          }
        },
        "required": [
          "count",
          "entries"
        ],
        "title": "ListListEntriesResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_lists_ListType": {
        "description": "列表条目的类型。",
        "enum": [
          "allow",
          "block"
        ],
        "title": "ListType",
        "type": "string"
      },
      "ResponseD09F9471A0E8_lists_PodListEntry": {
        "properties": {
          "created_at": {
            "description": "条目创建时间。",
            "format": "date-time",
            "type": "string"
          },
          "direction": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_Direction"
          },
          "entry": {
            "description": "列表条目的电子邮件地址或域名。",
            "type": "string"
          },
          "entry_type": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_EntryType"
          },
          "inbox_id": {
            "description": "收件箱 ID（如果条目限定于收件箱）。",
            "type": "string"
          },
          "list_type": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_ListType"
          },
          "organization_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_OrganizationId"
          },
          "pod_id": {
            "description": "Pod ID。",
            "type": "string"
          },
          "read_only": {
            "description": "该条目是否为只读且无法通过 API 删除。",
            "type": "boolean"
          },
          "reason": {
            "description": "添加该条目的原因。",
            "type": "string"
          }
        },
        "required": [
          "entry",
          "organization_id",
          "direction",
          "list_type",
          "entry_type",
          "created_at",
          "pod_id"
        ],
        "title": "PodListEntry",
        "type": "object"
      },
      "ResponseD09F9471A0E8_lists_PodListListEntriesResponse": {
        "properties": {
          "count": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Count"
          },
          "entries": {
            "description": "按 entry 升序排列。",
            "items": {
              "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_PodListEntry"
            },
            "type": "array"
          },
          "limit": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Limit"
          },
          "next_page_token": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_PageToken"
          }
        },
        "required": [
          "count",
          "entries"
        ],
        "title": "PodListListEntriesResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_messages_ListMessagesResponse": {
        "properties": {
          "count": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Count"
          },
          "limit": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Limit"
          },
          "messages": {
            "description": "按 `timestamp` 降序排列。",
            "items": {
              "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageItem"
            },
            "type": "array"
          },
          "next_page_token": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_PageToken"
          }
        },
        "required": [
          "count",
          "messages"
        ],
        "title": "ListMessagesResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_messages_Message": {
        "properties": {
          "attachments": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageAttachments"
          },
          "bcc": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageBcc"
          },
          "calendar_event_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageCalendarEventId"
          },
          "cc": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageCc"
          },
          "created_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageCreatedAt"
          },
          "extracted_html": {
            "description": "提取的新 HTML 内容。",
            "type": "string"
          },
          "extracted_text": {
            "description": "提取的新文本内容。",
            "type": "string"
          },
          "from": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageFrom"
          },
          "headers": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageHeaders"
          },
          "html": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageHtml"
          },
          "in_reply_to": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageInReplyTo"
          },
          "inbox_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_InboxId"
          },
          "labels": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageLabels"
          },
          "message_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageId"
          },
          "preview": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessagePreview"
          },
          "references": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageReferences"
          },
          "reply_to": {
            "description": "回复地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "size": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageSize"
          },
          "subject": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageSubject"
          },
          "text": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageText"
          },
          "thread_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadId"
          },
          "timestamp": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageTimestamp"
          },
          "to": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageTo"
          },
          "updated_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageUpdatedAt"
          }
        },
        "required": [
          "inbox_id",
          "thread_id",
          "message_id",
          "labels",
          "timestamp",
          "from",
          "to",
          "size",
          "updated_at",
          "created_at"
        ],
        "title": "Message",
        "type": "object"
      },
      "ResponseD09F9471A0E8_messages_MessageAttachments": {
        "description": "消息中的附件。",
        "items": {
          "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_Attachment"
        },
        "title": "MessageAttachments",
        "type": "array"
      },
      "ResponseD09F9471A0E8_messages_MessageBcc": {
        "description": "BCC 收件人的地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "items": {
          "type": "string"
        },
        "title": "MessageBcc",
        "type": "array"
      },
      "ResponseD09F9471A0E8_messages_MessageCalendarEventId": {
        "description": "The calendar event this email's invitation was applied to: set when the email's calendar\ninvitation, update, cancellation or attendee reply changed the inbox's calendar, a few seconds\nafter the email arrives. For an email about one date of a recurring event, it is that date's\nevent ID. Absent on other emails, and on invitations that were not imported. Calendar is in\nprivate beta.",
        "title": "MessageCalendarEventId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_messages_MessageCc": {
        "description": "抄送收件人的地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "items": {
          "type": "string"
        },
        "title": "MessageCc",
        "type": "array"
      },
      "ResponseD09F9471A0E8_messages_MessageCreatedAt": {
        "description": "消息的创建时间。",
        "format": "date-time",
        "title": "MessageCreatedAt",
        "type": "string"
      },
      "ResponseD09F9471A0E8_messages_MessageFrom": {
        "description": "发件人地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "title": "MessageFrom",
        "type": "string"
      },
      "ResponseD09F9471A0E8_messages_MessageHeaders": {
        "additionalProperties": {
          "type": "string"
        },
        "description": "消息中的标头。",
        "title": "MessageHeaders",
        "type": "object"
      },
      "ResponseD09F9471A0E8_messages_MessageHtml": {
        "description": "消息的 HTML 正文。",
        "title": "MessageHtml",
        "type": "string"
      },
      "ResponseD09F9471A0E8_messages_MessageId": {
        "description": "消息 ID。",
        "title": "MessageId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_messages_MessageInReplyTo": {
        "description": "被回复消息的 ID。",
        "title": "MessageInReplyTo",
        "type": "string"
      },
      "ResponseD09F9471A0E8_messages_MessageItem": {
        "properties": {
          "attachments": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageAttachments"
          },
          "bcc": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageBcc"
          },
          "calendar_event_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageCalendarEventId"
          },
          "cc": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageCc"
          },
          "created_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageCreatedAt"
          },
          "from": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageFrom"
          },
          "headers": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageHeaders"
          },
          "in_reply_to": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageInReplyTo"
          },
          "inbox_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_InboxId"
          },
          "labels": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageLabels"
          },
          "message_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageId"
          },
          "preview": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessagePreview"
          },
          "references": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageReferences"
          },
          "size": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageSize"
          },
          "subject": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageSubject"
          },
          "thread_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadId"
          },
          "timestamp": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageTimestamp"
          },
          "to": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageTo"
          },
          "updated_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageUpdatedAt"
          }
        },
        "required": [
          "inbox_id",
          "thread_id",
          "message_id",
          "labels",
          "timestamp",
          "from",
          "to",
          "size",
          "updated_at",
          "created_at"
        ],
        "title": "MessageItem",
        "type": "object"
      },
      "ResponseD09F9471A0E8_messages_MessageLabels": {
        "description": "消息标签。",
        "items": {
          "type": "string"
        },
        "title": "MessageLabels",
        "type": "array"
      },
      "ResponseD09F9471A0E8_messages_MessagePreview": {
        "description": "消息文本预览。",
        "title": "MessagePreview",
        "type": "string"
      },
      "ResponseD09F9471A0E8_messages_MessageReferences": {
        "description": "会话串中先前消息的 ID。",
        "items": {
          "type": "string"
        },
        "title": "MessageReferences",
        "type": "array"
      },
      "ResponseD09F9471A0E8_messages_MessageSize": {
        "description": "消息大小（以字节为单位）。",
        "title": "MessageSize",
        "type": "integer"
      },
      "ResponseD09F9471A0E8_messages_MessageSubject": {
        "description": "消息主题。",
        "title": "MessageSubject",
        "type": "string"
      },
      "ResponseD09F9471A0E8_messages_MessageText": {
        "description": "消息的纯文本正文。",
        "title": "MessageText",
        "type": "string"
      },
      "ResponseD09F9471A0E8_messages_MessageTimestamp": {
        "description": "消息的发送或起草时间。",
        "format": "date-time",
        "title": "MessageTimestamp",
        "type": "string"
      },
      "ResponseD09F9471A0E8_messages_MessageTo": {
        "description": "收件人地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "items": {
          "type": "string"
        },
        "title": "MessageTo",
        "type": "array"
      },
      "ResponseD09F9471A0E8_messages_MessageUpdatedAt": {
        "description": "消息最后更新的时间。",
        "format": "date-time",
        "title": "MessageUpdatedAt",
        "type": "string"
      },
      "ResponseD09F9471A0E8_messages_RawMessageResponse": {
        "description": "CloudFront signed URL to download the raw .eml file.",
        "properties": {
          "download_url": {
            "description": "CloudFront signed URL to download the raw message. Expires at expires_at.",
            "type": "string"
          },
          "expires_at": {
            "description": "下载 URL 的过期时间。",
            "format": "date-time",
            "type": "string"
          },
          "message_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageId",
            "description": "消息的 ID。"
          },
          "size": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageSize",
            "description": "原始消息的大小（以字节为单位）。"
          }
        },
        "required": [
          "message_id",
          "size",
          "download_url",
          "expires_at"
        ],
        "title": "RawMessageResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_messages_SendMessageResponse": {
        "properties": {
          "message_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageId"
          },
          "thread_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadId"
          }
        },
        "required": [
          "message_id",
          "thread_id"
        ],
        "title": "SendMessageResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_messages_UpdateMessageResponse": {
        "properties": {
          "labels": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageLabels"
          },
          "message_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_MessageId"
          }
        },
        "required": [
          "message_id",
          "labels"
        ],
        "title": "UpdateMessageResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_pods_PodId": {
        "description": "Pod ID。",
        "title": "PodId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_threads_ListThreadsResponse": {
        "properties": {
          "count": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Count"
          },
          "limit": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Limit"
          },
          "next_page_token": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_PageToken"
          },
          "threads": {
            "description": "按 `timestamp` 降序排列。",
            "items": {
              "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadItem"
            },
            "type": "array"
          }
        },
        "required": [
          "count",
          "threads"
        ],
        "title": "ListThreadsResponse",
        "type": "object"
      },
      "ResponseD09F9471A0E8_threads_Thread": {
        "properties": {
          "attachments": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadAttachments"
          },
          "count": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Count",
            "description": "Number of messages in this response page."
          },
          "created_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadCreatedAt"
          },
          "inbox_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_InboxId"
          },
          "labels": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadLabels"
          },
          "last_message_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadLastMessageId"
          },
          "limit": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_Limit",
            "description": "Maximum number of messages requested for this page."
          },
          "message_count": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadMessageCount"
          },
          "messages": {
            "description": "Messages in this page, ordered by `timestamp` ascending. The first page contains the newest messages; follow `next_page_token` to retrieve older pages.",
            "items": {
              "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_Message"
            },
            "type": "array"
          },
          "next_page_token": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_PageToken",
            "description": "Token for the next, older page of messages. Omitted when this page completes the thread."
          },
          "preview": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadPreview"
          },
          "received_timestamp": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadReceivedTimestamp"
          },
          "recipients": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadRecipients"
          },
          "senders": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadSenders"
          },
          "sent_timestamp": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadSentTimestamp"
          },
          "size": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadSize"
          },
          "subject": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadSubject"
          },
          "thread_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadId"
          },
          "timestamp": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadTimestamp"
          },
          "updated_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadUpdatedAt"
          }
        },
        "required": [
          "inbox_id",
          "thread_id",
          "labels",
          "timestamp",
          "senders",
          "recipients",
          "last_message_id",
          "message_count",
          "size",
          "updated_at",
          "created_at",
          "count",
          "messages"
        ],
        "title": "Thread",
        "type": "object"
      },
      "ResponseD09F9471A0E8_threads_ThreadAttachments": {
        "description": "线程中的附件。",
        "items": {
          "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_Attachment"
        },
        "title": "ThreadAttachments",
        "type": "array"
      },
      "ResponseD09F9471A0E8_threads_ThreadCreatedAt": {
        "description": "会话串的创建时间。",
        "format": "date-time",
        "title": "ThreadCreatedAt",
        "type": "string"
      },
      "ResponseD09F9471A0E8_threads_ThreadId": {
        "description": "会话 ID。",
        "title": "ThreadId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_threads_ThreadItem": {
        "properties": {
          "attachments": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadAttachments"
          },
          "created_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadCreatedAt"
          },
          "inbox_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_InboxId"
          },
          "labels": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadLabels"
          },
          "last_message_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadLastMessageId"
          },
          "message_count": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadMessageCount"
          },
          "preview": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadPreview"
          },
          "received_timestamp": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadReceivedTimestamp"
          },
          "recipients": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadRecipients"
          },
          "senders": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadSenders"
          },
          "sent_timestamp": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadSentTimestamp"
          },
          "size": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadSize"
          },
          "subject": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadSubject"
          },
          "thread_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadId"
          },
          "timestamp": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadTimestamp"
          },
          "updated_at": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadUpdatedAt"
          }
        },
        "required": [
          "inbox_id",
          "thread_id",
          "labels",
          "timestamp",
          "senders",
          "recipients",
          "last_message_id",
          "message_count",
          "size",
          "updated_at",
          "created_at"
        ],
        "title": "ThreadItem",
        "type": "object"
      },
      "ResponseD09F9471A0E8_threads_ThreadLabels": {
        "description": "会话标签。",
        "items": {
          "type": "string"
        },
        "title": "ThreadLabels",
        "type": "array"
      },
      "ResponseD09F9471A0E8_threads_ThreadLastMessageId": {
        "description": "会话串中最后一条消息的 ID。",
        "title": "ThreadLastMessageId",
        "type": "string"
      },
      "ResponseD09F9471A0E8_threads_ThreadMessageCount": {
        "description": "会话中的消息数量。",
        "title": "ThreadMessageCount",
        "type": "integer"
      },
      "ResponseD09F9471A0E8_threads_ThreadPreview": {
        "description": "会话中最后一条消息的文本预览。",
        "title": "ThreadPreview",
        "type": "string"
      },
      "ResponseD09F9471A0E8_threads_ThreadReceivedTimestamp": {
        "description": "最后收到消息的时间戳。",
        "format": "date-time",
        "title": "ThreadReceivedTimestamp",
        "type": "string"
      },
      "ResponseD09F9471A0E8_threads_ThreadRecipients": {
        "description": "会话中的收件人。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "items": {
          "type": "string"
        },
        "title": "ThreadRecipients",
        "type": "array"
      },
      "ResponseD09F9471A0E8_threads_ThreadSenders": {
        "description": "会话中的发件人。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
        "items": {
          "type": "string"
        },
        "title": "ThreadSenders",
        "type": "array"
      },
      "ResponseD09F9471A0E8_threads_ThreadSentTimestamp": {
        "description": "最后发送消息的时间戳。",
        "format": "date-time",
        "title": "ThreadSentTimestamp",
        "type": "string"
      },
      "ResponseD09F9471A0E8_threads_ThreadSize": {
        "description": "线程大小（以字节为单位）。",
        "title": "ThreadSize",
        "type": "integer"
      },
      "ResponseD09F9471A0E8_threads_ThreadSubject": {
        "description": "会话主题。",
        "title": "ThreadSubject",
        "type": "string"
      },
      "ResponseD09F9471A0E8_threads_ThreadTimestamp": {
        "description": "最后发送或接收消息的时间戳。",
        "format": "date-time",
        "title": "ThreadTimestamp",
        "type": "string"
      },
      "ResponseD09F9471A0E8_threads_ThreadUpdatedAt": {
        "description": "线程上次更新的时间。",
        "format": "date-time",
        "title": "ThreadUpdatedAt",
        "type": "string"
      },
      "ResponseD09F9471A0E8_threads_UpdateThreadResponse": {
        "properties": {
          "labels": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadLabels"
          },
          "thread_id": {
            "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ThreadId"
          }
        },
        "required": [
          "thread_id",
          "labels"
        ],
        "title": "UpdateThreadResponse",
        "type": "object"
      }
    },
    "securitySchemes": {
      "Bearer": {
        "scheme": "bearer",
        "type": "http"
      },
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "AgentMail API",
    "version": "1",
    "x-aisa-capabilities": {
      "idempotency": "Idempotency-Key",
      "max_price": "X-AISA-Max-Price-USD",
      "quote": {
        "header": "X-AISA-Cost-Mode",
        "value": "quote"
      }
    },
    "x-aisa-catalogs": {
      "agentmail": {
        "description": "",
        "title": "AgentMail API",
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          }
        },
        "x-aisa-document": {
          "facts_hash": "b99ca4149ff3daae12d76cfc531f5283e79e7d7a4e0325efb1f93efd8385607e",
          "generator_version": "3",
          "protocol_version": "1",
          "schema_version": "1"
        },
        "x-aisa-plans": {
          "builder": 1.0,
          "display_plan": "payg",
          "payg": 1.0,
          "similarweb_payg": 1.0,
          "team": 1.0,
          "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
        }
      }
    },
    "x-aisa-configured-paths": [
      "/apis/v1/agentmail/api-keys",
      "/apis/v1/agentmail/api-keys/{api_key_id}",
      "/apis/v1/agentmail/domains",
      "/apis/v1/agentmail/domains/{domain_id}",
      "/apis/v1/agentmail/domains/{domain_id}/verify",
      "/apis/v1/agentmail/domains/{domain_id}/zone-file",
      "/apis/v1/agentmail/drafts",
      "/apis/v1/agentmail/drafts/{draft_id}",
      "/apis/v1/agentmail/drafts/{draft_id}/attachments/{attachment_id}",
      "/apis/v1/agentmail/inboxes",
      "/apis/v1/agentmail/inboxes/{inbox_id}",
      "/apis/v1/agentmail/inboxes/{inbox_id}/api-keys",
      "/apis/v1/agentmail/inboxes/{inbox_id}/api-keys/{api_key_id}",
      "/apis/v1/agentmail/inboxes/{inbox_id}/drafts",
      "/apis/v1/agentmail/inboxes/{inbox_id}/drafts/{draft_id}",
      "/apis/v1/agentmail/inboxes/{inbox_id}/drafts/{draft_id}/attachments/{attachment_id}",
      "/apis/v1/agentmail/inboxes/{inbox_id}/drafts/{draft_id}/send",
      "/apis/v1/agentmail/inboxes/{inbox_id}/events",
      "/apis/v1/agentmail/inboxes/{inbox_id}/lists/{direction}/{type}",
      "/apis/v1/agentmail/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
      "/apis/v1/agentmail/inboxes/{inbox_id}/messages",
      "/apis/v1/agentmail/inboxes/{inbox_id}/messages/send",
      "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}",
      "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/attachments/{attachment_id}",
      "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/forward",
      "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/raw",
      "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/reply",
      "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/reply-all",
      "/apis/v1/agentmail/inboxes/{inbox_id}/metrics",
      "/apis/v1/agentmail/inboxes/{inbox_id}/threads",
      "/apis/v1/agentmail/inboxes/{inbox_id}/threads/{thread_id}",
      "/apis/v1/agentmail/inboxes/{inbox_id}/threads/{thread_id}/attachments/{attachment_id}",
      "/apis/v1/agentmail/lists/{direction}/{type}",
      "/apis/v1/agentmail/lists/{direction}/{type}/{entry}",
      "/apis/v1/agentmail/metrics",
      "/apis/v1/agentmail/threads",
      "/apis/v1/agentmail/threads/{thread_id}",
      "/apis/v1/agentmail/threads/{thread_id}/attachments/{attachment_id}"
    ],
    "x-aisa-document": {
      "composer_version": "31",
      "document_hash": "sha256:ed12426fb0dc5733f97f022e77880313a0e7546e21b84f18cec40e122cf9ec51",
      "facts_hash": "b99ca4149ff3daae12d76cfc531f5283e79e7d7a4e0325efb1f93efd8385607e",
      "generator_version": "3",
      "protocol_version": "1",
      "response_pending": [],
      "schema_version": "1"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "agentmail"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/apis/v1/agentmail/api-keys": {
      "get": {
        "description": "Lists every credential, newest first. Filter one family with `type`.\nPage to token exhaustion: a page can be empty and still carry a\n`next_page_token`.\n\n**CLI:**\n```bash\nagentmail api-keys list\n```\n\nRetrieve a paginated list of API keys or create a new API key with optional permissions and scope settings.",
        "operationId": "get_agentmail_api_keys",
        "parameters": [
          {
            "in": "query",
            "name": "ascending",
            "required": false,
            "schema": {
              "description": "按时间升序排序。",
              "title": "Ascending",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          },
          {
            "description": "Restrict the list to one credential family. Omit for every family.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "bearer",
                "public_key"
              ],
              "title": "ApiKeyType",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ListApiKeysResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List And Create API Keys",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-api-keys",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:dc5189bdbc3508f609d8ddac23f1cf4be441f7e22abf092378b00a91b9d6b979",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "a1804828ebe2"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_api_keys",
          "path": "/apis/v1/agentmail/api-keys"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/api-keys",
        "x-aisa-validation": "provider"
      },
      "post": {
        "description": "Creates a bearer key, or registers a public key when the body carries\n`public_key`. The route selects the scope. Bearer secrets are returned once.\n\n**CLI:**\n```bash\nagentmail api-keys create --name \"My Key\"\n```\n\nRetrieve a paginated list of API keys or create a new API key with optional permissions and scope settings.",
        "operationId": "post_get_agentmail_api_keys",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "A body with `public_key` registers a public-key credential; any other\nbody mints a bearer key.",
                "oneOf": [
                  {
                    "description": "`expires_at` must be in the future and is immutable once the key exists.\nOmitted, the new key inherits the authenticating key's expiry, and never\nexpires only when that key never does. A key cannot create one that\noutlives it: an `expires_at` later than the authenticating key's own\nreturns `403`.",
                    "properties": {
                      "expires_at": {
                        "description": "Time at which api key expires. Omitted when it does not expire.",
                        "format": "date-time",
                        "title": "ExpiresAt",
                        "type": "string"
                      },
                      "name": {
                        "description": "API 密钥的名称。",
                        "title": "Name",
                        "type": "string"
                      },
                      "permissions": {
                        "description": "API 密钥的细粒度权限。省略时授予所有权限；否则，仅授予设置为 true 的权限。",
                        "properties": {
                          "account_update": {
                            "description": "Update accounts: disable or re-enable an inbox's sign-in at an app. Reading accounts\nneeds only `inbox_read`.",
                            "type": "boolean"
                          },
                          "api_key_create": {
                            "description": "创建 API 密钥。",
                            "type": "boolean"
                          },
                          "api_key_delete": {
                            "description": "删除 API 密钥。",
                            "type": "boolean"
                          },
                          "api_key_read": {
                            "description": "读取 API 密钥。",
                            "type": "boolean"
                          },
                          "api_key_update": {
                            "description": "Update API keys.",
                            "type": "boolean"
                          },
                          "app_connect": {
                            "description": "Sign in to apps as an inbox: connect an app, authorize an inbox, and mint the\nsign-in keys. Omitted on a new bearer key means false, whatever else the key holds.",
                            "type": "boolean"
                          },
                          "app_share_owner": {
                            "description": "Share the organization owner's name and email with apps at sign-in. One permission\nfor both values.",
                            "type": "boolean"
                          },
                          "calendar_event_create": {
                            "description": "Create calendar events.",
                            "type": "boolean"
                          },
                          "calendar_event_delete": {
                            "description": "Delete calendar events.",
                            "type": "boolean"
                          },
                          "calendar_event_read": {
                            "description": "Read calendar events, and receive `calendar.event.*` webhook and WebSocket events.",
                            "type": "boolean"
                          },
                          "calendar_event_update": {
                            "description": "Update calendar events and respond to invitations.",
                            "type": "boolean"
                          },
                          "calendar_read": {
                            "description": "Read inbox calendar settings.",
                            "type": "boolean"
                          },
                          "calendar_update": {
                            "description": "Update inbox calendar settings.",
                            "type": "boolean"
                          },
                          "domain_create": {
                            "description": "创建域名。",
                            "type": "boolean"
                          },
                          "domain_delete": {
                            "description": "删除域名。",
                            "type": "boolean"
                          },
                          "domain_read": {
                            "description": "读取域名详情。",
                            "type": "boolean"
                          },
                          "domain_update": {
                            "description": "更新域名。",
                            "type": "boolean"
                          },
                          "draft_create": {
                            "description": "创建草稿。",
                            "type": "boolean"
                          },
                          "draft_delete": {
                            "description": "删除草稿。",
                            "type": "boolean"
                          },
                          "draft_read": {
                            "description": "读取草稿。",
                            "type": "boolean"
                          },
                          "draft_send": {
                            "description": "发送草稿。",
                            "type": "boolean"
                          },
                          "draft_update": {
                            "description": "更新草稿。",
                            "type": "boolean"
                          },
                          "inbox_create": {
                            "description": "创建新收件箱。",
                            "type": "boolean"
                          },
                          "inbox_delete": {
                            "description": "删除收件箱。",
                            "type": "boolean"
                          },
                          "inbox_read": {
                            "description": "读取收件箱详情。",
                            "type": "boolean"
                          },
                          "inbox_update": {
                            "description": "更新收件箱设置。",
                            "type": "boolean"
                          },
                          "label_blocked_read": {
                            "description": "访问标记为 blocked 的消息。",
                            "type": "boolean"
                          },
                          "label_spam_read": {
                            "description": "访问标记为垃圾邮件的消息。",
                            "type": "boolean"
                          },
                          "label_trash_read": {
                            "description": "访问标记为垃圾箱的邮件。",
                            "type": "boolean"
                          },
                          "label_unauthenticated_read": {
                            "description": "Access messages labeled unauthenticated.",
                            "type": "boolean"
                          },
                          "list_entry_create": {
                            "description": "创建列表条目。",
                            "type": "boolean"
                          },
                          "list_entry_delete": {
                            "description": "删除列表条目。",
                            "type": "boolean"
                          },
                          "list_entry_read": {
                            "description": "读取列表条目。",
                            "type": "boolean"
                          },
                          "message_delete": {
                            "description": "Delete messages. Also required to delete threads.",
                            "type": "boolean"
                          },
                          "message_read": {
                            "description": "Read messages. Also required to read threads.",
                            "type": "boolean"
                          },
                          "message_reply": {
                            "description": "Reply and reply-all when the request is signed with a registered public key. Bearer keys reply with `message_send`.",
                            "type": "boolean"
                          },
                          "message_send": {
                            "description": "发送消息。",
                            "type": "boolean"
                          },
                          "message_update": {
                            "description": "Update message labels. Also required to update threads.",
                            "type": "boolean"
                          },
                          "metrics_read": {
                            "description": "读取指标。",
                            "type": "boolean"
                          },
                          "pod_create": {
                            "description": "创建 Pod。",
                            "type": "boolean"
                          },
                          "pod_delete": {
                            "description": "删除 Pod。",
                            "type": "boolean"
                          },
                          "pod_read": {
                            "description": "读取 Pod。",
                            "type": "boolean"
                          },
                          "pod_update": {
                            "description": "Update pods.",
                            "type": "boolean"
                          },
                          "webhook_create": {
                            "description": "创建 Webhook。",
                            "type": "boolean"
                          },
                          "webhook_delete": {
                            "description": "删除 Webhook。",
                            "type": "boolean"
                          },
                          "webhook_read": {
                            "description": "读取 Webhook 配置。",
                            "type": "boolean"
                          },
                          "webhook_update": {
                            "description": "更新 Webhook。",
                            "type": "boolean"
                          }
                        },
                        "title": "ApiKeyPermissions",
                        "type": "object"
                      }
                    },
                    "title": "CreateBearerApiKeyRequest",
                    "type": "object"
                  },
                  {
                    "description": "Registers a public P-256 JWK at the route's scope. `type` and\n`api_key_id` are server-owned. `name` defaults to\n`AgentID key {first eight fingerprint characters}`; `permissions`\ndefaults to the registering key's, and only grants it holds may be\ntrue; `expires_at` defaults to the registering key's expiry and is\nindependent of that key afterward.",
                    "properties": {
                      "client_id": {
                        "description": "Caller-chosen alias for a public key, unique within the organization and\nreusable after deletion. Accepted in place of `api_key_id` on get, update,\nand delete. Registration is idempotent on it: the same alias returns the\nexisting key, a conflicting one returns `409`. URL-safe; no slash or `@`.",
                        "title": "PublicKeyClientId",
                        "type": "string"
                      },
                      "expires_at": {
                        "description": "Time at which api key expires. Omitted when it does not expire.",
                        "format": "date-time",
                        "title": "ExpiresAt",
                        "type": "string"
                      },
                      "name": {
                        "description": "API 密钥的名称。",
                        "title": "Name",
                        "type": "string"
                      },
                      "permissions": {
                        "description": "API 密钥的细粒度权限。省略时授予所有权限；否则，仅授予设置为 true 的权限。",
                        "properties": {
                          "account_update": {
                            "description": "Update accounts: disable or re-enable an inbox's sign-in at an app. Reading accounts\nneeds only `inbox_read`.",
                            "type": "boolean"
                          },
                          "api_key_create": {
                            "description": "创建 API 密钥。",
                            "type": "boolean"
                          },
                          "api_key_delete": {
                            "description": "删除 API 密钥。",
                            "type": "boolean"
                          },
                          "api_key_read": {
                            "description": "读取 API 密钥。",
                            "type": "boolean"
                          },
                          "api_key_update": {
                            "description": "Update API keys.",
                            "type": "boolean"
                          },
                          "app_connect": {
                            "description": "Sign in to apps as an inbox: connect an app, authorize an inbox, and mint the\nsign-in keys. Omitted on a new bearer key means false, whatever else the key holds.",
                            "type": "boolean"
                          },
                          "app_share_owner": {
                            "description": "Share the organization owner's name and email with apps at sign-in. One permission\nfor both values.",
                            "type": "boolean"
                          },
                          "calendar_event_create": {
                            "description": "Create calendar events.",
                            "type": "boolean"
                          },
                          "calendar_event_delete": {
                            "description": "Delete calendar events.",
                            "type": "boolean"
                          },
                          "calendar_event_read": {
                            "description": "Read calendar events, and receive `calendar.event.*` webhook and WebSocket events.",
                            "type": "boolean"
                          },
                          "calendar_event_update": {
                            "description": "Update calendar events and respond to invitations.",
                            "type": "boolean"
                          },
                          "calendar_read": {
                            "description": "Read inbox calendar settings.",
                            "type": "boolean"
                          },
                          "calendar_update": {
                            "description": "Update inbox calendar settings.",
                            "type": "boolean"
                          },
                          "domain_create": {
                            "description": "创建域名。",
                            "type": "boolean"
                          },
                          "domain_delete": {
                            "description": "删除域名。",
                            "type": "boolean"
                          },
                          "domain_read": {
                            "description": "读取域名详情。",
                            "type": "boolean"
                          },
                          "domain_update": {
                            "description": "更新域名。",
                            "type": "boolean"
                          },
                          "draft_create": {
                            "description": "创建草稿。",
                            "type": "boolean"
                          },
                          "draft_delete": {
                            "description": "删除草稿。",
                            "type": "boolean"
                          },
                          "draft_read": {
                            "description": "读取草稿。",
                            "type": "boolean"
                          },
                          "draft_send": {
                            "description": "发送草稿。",
                            "type": "boolean"
                          },
                          "draft_update": {
                            "description": "更新草稿。",
                            "type": "boolean"
                          },
                          "inbox_create": {
                            "description": "创建新收件箱。",
                            "type": "boolean"
                          },
                          "inbox_delete": {
                            "description": "删除收件箱。",
                            "type": "boolean"
                          },
                          "inbox_read": {
                            "description": "读取收件箱详情。",
                            "type": "boolean"
                          },
                          "inbox_update": {
                            "description": "更新收件箱设置。",
                            "type": "boolean"
                          },
                          "label_blocked_read": {
                            "description": "访问标记为 blocked 的消息。",
                            "type": "boolean"
                          },
                          "label_spam_read": {
                            "description": "访问标记为垃圾邮件的消息。",
                            "type": "boolean"
                          },
                          "label_trash_read": {
                            "description": "访问标记为垃圾箱的邮件。",
                            "type": "boolean"
                          },
                          "label_unauthenticated_read": {
                            "description": "Access messages labeled unauthenticated.",
                            "type": "boolean"
                          },
                          "list_entry_create": {
                            "description": "创建列表条目。",
                            "type": "boolean"
                          },
                          "list_entry_delete": {
                            "description": "删除列表条目。",
                            "type": "boolean"
                          },
                          "list_entry_read": {
                            "description": "读取列表条目。",
                            "type": "boolean"
                          },
                          "message_delete": {
                            "description": "Delete messages. Also required to delete threads.",
                            "type": "boolean"
                          },
                          "message_read": {
                            "description": "Read messages. Also required to read threads.",
                            "type": "boolean"
                          },
                          "message_reply": {
                            "description": "Reply and reply-all when the request is signed with a registered public key. Bearer keys reply with `message_send`.",
                            "type": "boolean"
                          },
                          "message_send": {
                            "description": "发送消息。",
                            "type": "boolean"
                          },
                          "message_update": {
                            "description": "Update message labels. Also required to update threads.",
                            "type": "boolean"
                          },
                          "metrics_read": {
                            "description": "读取指标。",
                            "type": "boolean"
                          },
                          "pod_create": {
                            "description": "创建 Pod。",
                            "type": "boolean"
                          },
                          "pod_delete": {
                            "description": "删除 Pod。",
                            "type": "boolean"
                          },
                          "pod_read": {
                            "description": "读取 Pod。",
                            "type": "boolean"
                          },
                          "pod_update": {
                            "description": "Update pods.",
                            "type": "boolean"
                          },
                          "webhook_create": {
                            "description": "创建 Webhook。",
                            "type": "boolean"
                          },
                          "webhook_delete": {
                            "description": "删除 Webhook。",
                            "type": "boolean"
                          },
                          "webhook_read": {
                            "description": "读取 Webhook 配置。",
                            "type": "boolean"
                          },
                          "webhook_update": {
                            "description": "更新 Webhook。",
                            "type": "boolean"
                          }
                        },
                        "title": "ApiKeyPermissions",
                        "type": "object"
                      },
                      "public_key": {
                        "description": "A public P-256 JWK. The object accepts exactly `kty`, `crv`, `x`, and `y`.\nPrivate key material such as `d`, embedded key IDs, and all other members\nare rejected. The server also rejects coordinates that are not a point on\nP-256.",
                        "properties": {
                          "crv": {
                            "enum": [
                              "P-256"
                            ],
                            "type": "string"
                          },
                          "kty": {
                            "enum": [
                              "EC"
                            ],
                            "type": "string"
                          },
                          "x": {
                            "description": "A 32-byte P-256 coordinate encoded as unpadded base64url.",
                            "maxLength": 43,
                            "minLength": 43,
                            "pattern": "^[A-Za-z0-9_-]{43}$",
                            "title": "PublicJwkCoordinate",
                            "type": "string"
                          },
                          "y": {
                            "description": "A 32-byte P-256 coordinate encoded as unpadded base64url.",
                            "maxLength": 43,
                            "minLength": 43,
                            "pattern": "^[A-Za-z0-9_-]{43}$",
                            "title": "PublicJwkCoordinate",
                            "type": "string"
                          }
                        },
                        "required": [
                          "kty",
                          "crv",
                          "x",
                          "y"
                        ],
                        "title": "PublicJwk",
                        "type": "object"
                      }
                    },
                    "required": [
                      "public_key"
                    ],
                    "title": "CreatePublicKeyRequest",
                    "type": "object"
                  }
                ],
                "title": "CreateApiKeyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_CreateApiKeyResult"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List And Create API Keys",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/post_get_agentmail_api_keys",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:3cfaa3359e14b598ba19adb03be60204983f1d4a001da49eb935ce7204e7d11f",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "a1804828ebe2"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_api_keys",
          "path": "/apis/v1/agentmail/api-keys"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/api-keys",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/api-keys/{api_key_id}": {
      "delete": {
        "description": "Deletes one credential of any family. A pending sign-in key is\ncancelled; an active one is revoked. Public keys also resolve by `client_id`.\n\n**CLI:**\n```bash\nagentmail api-keys delete --api-key-id <api_key_id>\n```",
        "operationId": "delete_any_agentmail_apis_v1_agentmail_api_keys_a_3ff578",
        "parameters": [
          {
            "in": "path",
            "name": "api_key_id",
            "required": true,
            "schema": {
              "description": "API 密钥的 ID。",
              "title": "ApiKeyId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {},
            "description": "",
            "x-aisa-no-content": true
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Delete API Key",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/delete_any_agentmail_apis_v1_agentmail_api_keys_a_3ff578",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:15f49afe0a16f487c1afb361da67e8727da0109e50cbaff432647ae67998cc3a",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "69be7758800e"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_agentmail_apis_v1_agentmail_api_keys_api_key_id",
          "path": "/apis/v1/agentmail/api-keys/{api_key_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/api-keys/{api_key_id}",
        "x-aisa-validation": "provider"
      },
      "get": {
        "description": "Returns one credential of any family. Public keys also resolve by\n`client_id`. Poll a sign-in key until `status` is `active`.",
        "operationId": "get_any_agentmail_apis_v1_agentmail_api_keys_api_key_id",
        "parameters": [
          {
            "in": "path",
            "name": "api_key_id",
            "required": true,
            "schema": {
              "description": "API 密钥的 ID。",
              "title": "ApiKeyId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ApiKey"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Delete API Key",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_any_agentmail_apis_v1_agentmail_api_keys_api_key_id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:2ad831fb4cd8335402152923a1b34f1489cf728d89389e9f067924993757cf76",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "69be7758800e"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_agentmail_apis_v1_agentmail_api_keys_api_key_id",
          "path": "/apis/v1/agentmail/api-keys/{api_key_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/api-keys/{api_key_id}",
        "x-aisa-validation": "provider"
      },
      "patch": {
        "description": "Renames a credential or changes its permissions. Public keys also resolve\nby `client_id`; a sign-in key accepts only `app_connect` and\n`app_share_owner`.",
        "operationId": "patch_any_agentmail_apis_v1_agentmail_api_keys_ap_294dbb",
        "parameters": [
          {
            "in": "path",
            "name": "api_key_id",
            "required": true,
            "schema": {
              "description": "API 密钥的 ID。",
              "title": "ApiKeyId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "Rename a credential or change its permissions. Key material, type,\nscope, and expiry are immutable.",
                "properties": {
                  "name": {
                    "description": "API 密钥的名称。",
                    "title": "Name",
                    "type": "string"
                  },
                  "permissions": {
                    "description": "API 密钥的细粒度权限。省略时授予所有权限；否则，仅授予设置为 true 的权限。",
                    "properties": {
                      "account_update": {
                        "description": "Update accounts: disable or re-enable an inbox's sign-in at an app. Reading accounts\nneeds only `inbox_read`.",
                        "type": "boolean"
                      },
                      "api_key_create": {
                        "description": "创建 API 密钥。",
                        "type": "boolean"
                      },
                      "api_key_delete": {
                        "description": "删除 API 密钥。",
                        "type": "boolean"
                      },
                      "api_key_read": {
                        "description": "读取 API 密钥。",
                        "type": "boolean"
                      },
                      "api_key_update": {
                        "description": "Update API keys.",
                        "type": "boolean"
                      },
                      "app_connect": {
                        "description": "Sign in to apps as an inbox: connect an app, authorize an inbox, and mint the\nsign-in keys. Omitted on a new bearer key means false, whatever else the key holds.",
                        "type": "boolean"
                      },
                      "app_share_owner": {
                        "description": "Share the organization owner's name and email with apps at sign-in. One permission\nfor both values.",
                        "type": "boolean"
                      },
                      "calendar_event_create": {
                        "description": "Create calendar events.",
                        "type": "boolean"
                      },
                      "calendar_event_delete": {
                        "description": "Delete calendar events.",
                        "type": "boolean"
                      },
                      "calendar_event_read": {
                        "description": "Read calendar events, and receive `calendar.event.*` webhook and WebSocket events.",
                        "type": "boolean"
                      },
                      "calendar_event_update": {
                        "description": "Update calendar events and respond to invitations.",
                        "type": "boolean"
                      },
                      "calendar_read": {
                        "description": "Read inbox calendar settings.",
                        "type": "boolean"
                      },
                      "calendar_update": {
                        "description": "Update inbox calendar settings.",
                        "type": "boolean"
                      },
                      "domain_create": {
                        "description": "创建域名。",
                        "type": "boolean"
                      },
                      "domain_delete": {
                        "description": "删除域名。",
                        "type": "boolean"
                      },
                      "domain_read": {
                        "description": "读取域名详情。",
                        "type": "boolean"
                      },
                      "domain_update": {
                        "description": "更新域名。",
                        "type": "boolean"
                      },
                      "draft_create": {
                        "description": "创建草稿。",
                        "type": "boolean"
                      },
                      "draft_delete": {
                        "description": "删除草稿。",
                        "type": "boolean"
                      },
                      "draft_read": {
                        "description": "读取草稿。",
                        "type": "boolean"
                      },
                      "draft_send": {
                        "description": "发送草稿。",
                        "type": "boolean"
                      },
                      "draft_update": {
                        "description": "更新草稿。",
                        "type": "boolean"
                      },
                      "inbox_create": {
                        "description": "创建新收件箱。",
                        "type": "boolean"
                      },
                      "inbox_delete": {
                        "description": "删除收件箱。",
                        "type": "boolean"
                      },
                      "inbox_read": {
                        "description": "读取收件箱详情。",
                        "type": "boolean"
                      },
                      "inbox_update": {
                        "description": "更新收件箱设置。",
                        "type": "boolean"
                      },
                      "label_blocked_read": {
                        "description": "访问标记为 blocked 的消息。",
                        "type": "boolean"
                      },
                      "label_spam_read": {
                        "description": "访问标记为垃圾邮件的消息。",
                        "type": "boolean"
                      },
                      "label_trash_read": {
                        "description": "访问标记为垃圾箱的邮件。",
                        "type": "boolean"
                      },
                      "label_unauthenticated_read": {
                        "description": "Access messages labeled unauthenticated.",
                        "type": "boolean"
                      },
                      "list_entry_create": {
                        "description": "创建列表条目。",
                        "type": "boolean"
                      },
                      "list_entry_delete": {
                        "description": "删除列表条目。",
                        "type": "boolean"
                      },
                      "list_entry_read": {
                        "description": "读取列表条目。",
                        "type": "boolean"
                      },
                      "message_delete": {
                        "description": "Delete messages. Also required to delete threads.",
                        "type": "boolean"
                      },
                      "message_read": {
                        "description": "Read messages. Also required to read threads.",
                        "type": "boolean"
                      },
                      "message_reply": {
                        "description": "Reply and reply-all when the request is signed with a registered public key. Bearer keys reply with `message_send`.",
                        "type": "boolean"
                      },
                      "message_send": {
                        "description": "发送消息。",
                        "type": "boolean"
                      },
                      "message_update": {
                        "description": "Update message labels. Also required to update threads.",
                        "type": "boolean"
                      },
                      "metrics_read": {
                        "description": "读取指标。",
                        "type": "boolean"
                      },
                      "pod_create": {
                        "description": "创建 Pod。",
                        "type": "boolean"
                      },
                      "pod_delete": {
                        "description": "删除 Pod。",
                        "type": "boolean"
                      },
                      "pod_read": {
                        "description": "读取 Pod。",
                        "type": "boolean"
                      },
                      "pod_update": {
                        "description": "Update pods.",
                        "type": "boolean"
                      },
                      "webhook_create": {
                        "description": "创建 Webhook。",
                        "type": "boolean"
                      },
                      "webhook_delete": {
                        "description": "删除 Webhook。",
                        "type": "boolean"
                      },
                      "webhook_read": {
                        "description": "读取 Webhook 配置。",
                        "type": "boolean"
                      },
                      "webhook_update": {
                        "description": "更新 Webhook。",
                        "type": "boolean"
                      }
                    },
                    "title": "ApiKeyPermissions",
                    "type": "object"
                  }
                },
                "title": "UpdateApiKeyRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ApiKey"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Delete API Key",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/patch_any_agentmail_apis_v1_agentmail_api_keys_ap_294dbb",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:2ad831fb4cd8335402152923a1b34f1489cf728d89389e9f067924993757cf76",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "69be7758800e"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_agentmail_apis_v1_agentmail_api_keys_api_key_id",
          "path": "/apis/v1/agentmail/api-keys/{api_key_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/api-keys/{api_key_id}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/domains": {
      "get": {
        "description": "**CLI:**\n```bash\nagentmail domains list\n```\n\nRetrieve a paginated list of domains or create a new domain with verification and feedback settings.",
        "operationId": "get_agentmail_domains",
        "parameters": [
          {
            "in": "query",
            "name": "ascending",
            "required": false,
            "schema": {
              "description": "按时间升序排序。",
              "title": "Ascending",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_ListDomainsResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List And Create Domains",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-domains",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:d7cf8aa56c678ae4b09c1ce2cfc6a94fa32af5297558b4d3ebfa60175a50fc6a",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "e932d69ae0a1"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_domains",
          "path": "/apis/v1/agentmail/domains"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/domains",
        "x-aisa-validation": "provider"
      },
      "post": {
        "description": "**CLI:**\n```bash\nagentmail domains create --domain example.com\n```\n\nRetrieve a paginated list of domains or create a new domain with verification and feedback settings.",
        "operationId": "post_get_agentmail_domains",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "allow_conflicting_provider": {
                    "description": "Allow registration when the domain already has Google Workspace MX records.\nDefaults to false; registration otherwise returns 422 when a conflicting\nprovider is detected.\nThis flag does not configure DNS or inbound routing. For shared Google\nWorkspace domains, follow the [Google Workspace guide](/google-workspace).\nOnly checked when `inbound_enabled` is true; a send-only domain skips the check.",
                    "type": "boolean"
                  },
                  "domain": {
                    "description": "域名（例如 `example.com`）。",
                    "title": "DomainName",
                    "type": "string"
                  },
                  "feedback_enabled": {
                    "description": "退信和投诉通知将发送到您的收件箱。",
                    "title": "FeedbackEnabled",
                    "type": "boolean"
                  },
                  "inbound_enabled": {
                    "description": "Receive email for this domain. Defaults to `true`. Set `false` for a send-only\ndomain: the apex MX record is not required and is omitted from `records`, so the\ndomain's existing email provider keeps receiving its mail. Inboxes on a send-only\ndomain can still send.",
                    "title": "InboundEnabled",
                    "type": "boolean"
                  },
                  "subdomains_enabled": {
                    "description": "Allow inboxes on any subdomain of this domain. Adds a required wildcard MX\nrecord (`*.<domain>`) to `records`.",
                    "title": "SubdomainsEnabled",
                    "type": "boolean"
                  },
                  "tracking_enabled": {
                    "description": "Serve open tracking pixels from this domain. Adds a required `link.<domain>`\nCNAME record to `records`, which must be published and verified before\n`track_opens` can be used on a send.",
                    "title": "TrackingEnabled",
                    "type": "boolean"
                  }
                },
                "required": [
                  "domain"
                ],
                "title": "CreateDomainRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_Domain"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List And Create Domains",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/post_get_agentmail_domains",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:2a756cffc885a3f87cb0706e38d8bb82ba424ccfc22d350cb75c9f4601bc9556",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "e932d69ae0a1"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_domains",
          "path": "/apis/v1/agentmail/domains"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/domains",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/domains/{domain_id}": {
      "delete": {
        "description": "**CLI:**\n```bash\nagentmail domains delete --domain-id <domain_id>\n```\n\nRetrieve, update, or delete a domain by its ID, including details such as verification status, DNS records, and notification settings.",
        "operationId": "delete_any_agentmail_apis_v1_agentmail_domains_domain_id",
        "parameters": [
          {
            "in": "path",
            "name": "domain_id",
            "required": true,
            "schema": {
              "description": "域名的 ID。",
              "title": "DomainId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {},
            "description": "",
            "x-aisa-no-content": true
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Domain",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/delete_any_agentmail_apis_v1_agentmail_domains_domain_id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:15f49afe0a16f487c1afb361da67e8727da0109e50cbaff432647ae67998cc3a",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "7390f1607d2b"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_agentmail_apis_v1_agentmail_domains_domain_id",
          "path": "/apis/v1/agentmail/domains/{domain_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/domains/{domain_id}",
        "x-aisa-validation": "provider"
      },
      "get": {
        "description": "**CLI:**\n```bash\nagentmail domains get --domain-id <domain_id>\n```\n\nRetrieve, update, or delete a domain by its ID, including details such as verification status, DNS records, and notification settings.",
        "operationId": "get_any_agentmail_apis_v1_agentmail_domains_domain_id",
        "parameters": [
          {
            "in": "path",
            "name": "domain_id",
            "required": true,
            "schema": {
              "description": "域名的 ID。",
              "title": "DomainId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_Domain"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Domain",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_any_agentmail_apis_v1_agentmail_domains_domain_id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:2a756cffc885a3f87cb0706e38d8bb82ba424ccfc22d350cb75c9f4601bc9556",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "7390f1607d2b"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_agentmail_apis_v1_agentmail_domains_domain_id",
          "path": "/apis/v1/agentmail/domains/{domain_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/domains/{domain_id}",
        "x-aisa-validation": "provider"
      },
      "patch": {
        "description": "**CLI:**\n```bash\nagentmail domains update --domain-id <domain_id>\n```\n\nRetrieve, update, or delete a domain by its ID, including details such as verification status, DNS records, and notification settings.",
        "operationId": "patch_any_agentmail_apis_v1_agentmail_domains_domain_id",
        "parameters": [
          {
            "in": "path",
            "name": "domain_id",
            "required": true,
            "schema": {
              "description": "域名的 ID。",
              "title": "DomainId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "Provide at least one of `feedback_enabled`, `inbound_enabled`,\n`subdomains_enabled`, or `tracking_enabled`. Omitted fields are left\nunchanged; an empty body is rejected. Enabling `inbound_enabled` or\n`subdomains_enabled` on a verified domain returns it to `PENDING` until the\nnewly required MX record (the apex MX, or the wildcard `*.<domain>`) is\npublished and verified.",
                "properties": {
                  "feedback_enabled": {
                    "description": "退信和投诉通知将发送到您的收件箱。",
                    "title": "FeedbackEnabled",
                    "type": "boolean"
                  },
                  "inbound_enabled": {
                    "description": "Receive email for this domain. Defaults to `true`. Set `false` for a send-only\ndomain: the apex MX record is not required and is omitted from `records`, so the\ndomain's existing email provider keeps receiving its mail. Inboxes on a send-only\ndomain can still send.",
                    "title": "InboundEnabled",
                    "type": "boolean"
                  },
                  "subdomains_enabled": {
                    "description": "Allow inboxes on any subdomain of this domain. Adds a required wildcard MX\nrecord (`*.<domain>`) to `records`.",
                    "title": "SubdomainsEnabled",
                    "type": "boolean"
                  },
                  "tracking_enabled": {
                    "description": "Serve open tracking pixels from this domain. Adds a required `link.<domain>`\nCNAME record to `records`, which must be published and verified before\n`track_opens` can be used on a send.",
                    "title": "TrackingEnabled",
                    "type": "boolean"
                  }
                },
                "title": "UpdateDomainRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_domains_Domain"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Domain",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/patch_any_agentmail_apis_v1_agentmail_domains_domain_id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:2a756cffc885a3f87cb0706e38d8bb82ba424ccfc22d350cb75c9f4601bc9556",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "7390f1607d2b"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_agentmail_apis_v1_agentmail_domains_domain_id",
          "path": "/apis/v1/agentmail/domains/{domain_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/domains/{domain_id}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/domains/{domain_id}/verify": {
      "post": {
        "description": "**CLI:**\n```bash\nagentmail domains verify --domain-id <domain_id>\n```",
        "operationId": "any_agentmail_apis_v1_agentmail_domains_domain_id_verify",
        "parameters": [
          {
            "in": "path",
            "name": "domain_id",
            "required": true,
            "schema": {
              "description": "域名的 ID。",
              "title": "DomainId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {},
            "description": "",
            "x-aisa-no-content": true
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Verify Domain",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/any_agentmail_apis_v1_agentmail_domains_domain_id_verify",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:15f49afe0a16f487c1afb361da67e8727da0109e50cbaff432647ae67998cc3a",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "ddab761c90f1"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_agentmail_apis_v1_agentmail_domains_domain_id_verify",
          "path": "/apis/v1/agentmail/domains/{domain_id}/verify"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/domains/{domain_id}/verify",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/domains/{domain_id}/zone-file": {
      "get": {
        "description": "**CLI:**\n```bash\nagentmail domains get-zone-file --domain-id <domain_id>\n```",
        "operationId": "any_agentmail_apis_v1_agentmail_domains_domain_id_725bd7",
        "parameters": [
          {
            "in": "path",
            "name": "domain_id",
            "required": true,
            "schema": {
              "description": "域名的 ID。",
              "title": "DomainId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Zone File",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/any_agentmail_apis_v1_agentmail_domains_domain_id_725bd7",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:cd46625a4152ba4c3201e3485e20959953121add7a553394c6255814cf22079c",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "b0b0caa9bd5e"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_agentmail_apis_v1_agentmail_domains_domain_id_725bd7",
          "path": "/apis/v1/agentmail/domains/{domain_id}/zone-file"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/domains/{domain_id}/zone-file",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/drafts": {
      "get": {
        "description": "**CLI：**\n```bash\nagentmail drafts list\n```",
        "operationId": "get_agentmail_drafts",
        "parameters": [
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "description": "用于筛选此时间戳之后数据的时间戳。",
              "format": "date-time",
              "title": "After",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "ascending",
            "required": false,
            "schema": {
              "description": "按时间升序排序。",
              "title": "Ascending",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "before",
            "required": false,
            "schema": {
              "description": "用于筛选的截止时间戳。",
              "format": "date-time",
              "title": "Before",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "labels",
            "required": false,
            "schema": {
              "description": "用于筛选的标签。",
              "items": {
                "type": "string"
              },
              "title": "Labels",
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_ListDraftsResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "列出草稿",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-drafts",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:86ac058a59b0bf58ada32ede1ed6b66e58dd07cafcfbba46c53b9dbabb1a70db",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "1abfc1e1e04e"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_drafts",
          "path": "/apis/v1/agentmail/drafts"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/drafts",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/drafts/{draft_id}": {
      "get": {
        "description": "**CLI：**\n```bash\nagentmail drafts get --draft-id <draft_id>\n```",
        "operationId": "get_agentmail_draft",
        "parameters": [
          {
            "in": "path",
            "name": "draft_id",
            "required": true,
            "schema": {
              "description": "草稿 ID。",
              "title": "DraftId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_Draft"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "获取草稿",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-drafts-draft-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:1aa38bc64960005a828a45871bf75dd57114543603bd62489db298bf57db4e8d",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "0e8b51caa5d7"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_draft",
          "path": "/apis/v1/agentmail/drafts/{draft_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/drafts/{draft_id}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/drafts/{draft_id}/attachments/{attachment_id}": {
      "get": {
        "description": "**CLI：**\n```bash\nagentmail drafts get-attachment --draft-id <draft_id> --attachment-id <attachment_id>\n```",
        "operationId": "get_agentmail_draft_attachment",
        "parameters": [
          {
            "in": "path",
            "name": "attachment_id",
            "required": true,
            "schema": {
              "description": "附件 ID。",
              "title": "AttachmentId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "draft_id",
            "required": true,
            "schema": {
              "description": "草稿 ID。",
              "title": "DraftId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "获取附件",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-drafts-draft-id-attachments-attachment-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:a29903e99e5a43bdbe154fb1cbae2ead779ed90a13849e08e66b92db4e4b050c",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "2231e23c38ee"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_draft_attachment",
          "path": "/apis/v1/agentmail/drafts/{draft_id}/attachments/{attachment_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/drafts/{draft_id}/attachments/{attachment_id}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes": {
      "get": {
        "description": "**CLI:**\n```bash\nagentmail inboxes list\n```\n\nRetrieve a list of inboxes with pagination support or create a new inbox with optional custom username, domain, and display name.",
        "operationId": "get_agentmail_inboxes",
        "parameters": [
          {
            "in": "query",
            "name": "ascending",
            "required": false,
            "schema": {
              "description": "按时间升序排序。",
              "title": "Ascending",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_ListInboxesResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List And Create Inboxes",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:7d38dcdfaaf2adca54a91a4d8041c602636edf2d8a3676414e8b527d40a88c83",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "3a561dcb6c44"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inboxes",
          "path": "/apis/v1/agentmail/inboxes"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes",
        "x-aisa-validation": "provider"
      },
      "post": {
        "description": "**CLI:**\n```bash\nagentmail inboxes create --display-name \"My Agent\" --username myagent --domain agentmail.to\n```\n\nRetrieve a list of inboxes with pagination support or create a new inbox with optional custom username, domain, and display name.",
        "operationId": "post_agentmail_inbox",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "client_id": {
                    "description": "收件箱的客户端 ID。",
                    "title": "ClientId",
                    "type": "string"
                  },
                  "display_name": {
                    "description": "显示名称：`Display Name <username@domain.com>`。",
                    "title": "DisplayName",
                    "type": "string"
                  },
                  "domain": {
                    "description": "Domain of address. Must be a verified domain, or any subdomain of a\nverified domain that has subdomains enabled (e.g., `bot.example.com`).\nDefaults to `agentmail.to`.",
                    "type": "string"
                  },
                  "metadata": {
                    "additionalProperties": {
                      "description": "元数据值。可以是字符串、数字或布尔值。",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "format": "double",
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        }
                      ],
                      "title": "MetadataValue"
                    },
                    "description": "附加到收件箱的自定义元数据。",
                    "title": "Metadata",
                    "type": "object"
                  },
                  "status": {
                    "description": "Set `paused` to create the inbox paused.",
                    "enum": [
                      "active",
                      "paused"
                    ],
                    "title": "InboxStatus",
                    "type": "string"
                  },
                  "username": {
                    "description": "地址的用户名。如未指定，则随机生成。",
                    "type": "string"
                  }
                },
                "title": "CreateInboxRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_Inbox"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List And Create Inboxes",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/post_agentmail-inboxes",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:5972c838f476efa506b86603c0cceb3e80bf5ee7d0eaaafa021fb2aa31eeb325",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "3a561dcb6c44"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inboxes",
          "path": "/apis/v1/agentmail/inboxes"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}": {
      "delete": {
        "description": "**CLI:**\n```bash\nagentmail inboxes delete --inbox-id <inbox_id>\n```\n\nRetrieve, update, or delete a specific inbox by its ID. Returns inbox details including email, display name, client ID, and timestamps.",
        "operationId": "delete_agentmail_inbox",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {},
            "description": "",
            "x-aisa-no-content": true
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Inbox",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/delete_agentmail-inboxes-inbox-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:15f49afe0a16f487c1afb361da67e8727da0109e50cbaff432647ae67998cc3a",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "b86aed23093b"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}",
        "x-aisa-validation": "provider"
      },
      "get": {
        "description": "**CLI:**\n```bash\nagentmail inboxes get --inbox-id <inbox_id>\n```\n\nRetrieve, update, or delete a specific inbox by its ID. Returns inbox details including email, display name, client ID, and timestamps.",
        "operationId": "get_agentmail_inbox",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_Inbox"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Inbox",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:5972c838f476efa506b86603c0cceb3e80bf5ee7d0eaaafa021fb2aa31eeb325",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "b86aed23093b"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}",
        "x-aisa-validation": "provider"
      },
      "patch": {
        "description": "**CLI:**\n```bash\nagentmail inboxes update --inbox-id <inbox_id> --display-name \"Updated Name\"\n```\n\nTo pause an inbox, set `status` to `paused`; set it back to `active` to\nresume. See [Pausing an inbox](/inboxes#pausing-an-inbox).\n\nRetrieve, update, or delete a specific inbox by its ID. Returns inbox details including email, display name, client ID, and timestamps.",
        "operationId": "patch_agentmail_inbox",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "display_name": {
                    "description": "显示名称：`Display Name <username@domain.com>`。",
                    "title": "DisplayName",
                    "type": "string"
                  },
                  "metadata": {
                    "description": "Metadata to merge into the inbox's existing metadata. Keys you include\nare added or overwritten; keys you omit are left unchanged. To remove a\nsingle key, send it with a null value. To clear all metadata, send\n`metadata` as null. Sending an empty object is rejected; use null to\nclear. Each update must include at least one of `display_name`,\n`status`, or `metadata`.",
                    "oneOf": [
                      {
                        "additionalProperties": {
                          "oneOf": [
                            {
                              "description": "元数据值。可以是字符串、数字或布尔值。",
                              "oneOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "format": "double",
                                  "type": "number"
                                },
                                {
                                  "type": "boolean"
                                }
                              ],
                              "title": "MetadataValue"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "description": "要合并到收件箱现有 metadata 中的自定义键值对。\n值可以是字符串、数字、布尔值或 null。将键设置为 null\n会将其删除。最多支持 256 个键；每个键和字符串值均限制为\n256 个字符。",
                        "title": "UpdateMetadata",
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "description": "`paused` stops the inbox sending and receiving mail; `active` resumes\nit. Mail that arrived while the inbox was paused is not delivered on\nresume.",
                    "enum": [
                      "active",
                      "paused"
                    ],
                    "title": "InboxStatus",
                    "type": "string"
                  }
                },
                "title": "UpdateInboxRequest",
                "type": "object"
              }
            }
          },
          "description": "Expects an object; provide at least one of `display_name`, `status`, or `metadata`."
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxes_Inbox"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Inbox",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/patch_agentmail-inboxes-inbox-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:5972c838f476efa506b86603c0cceb3e80bf5ee7d0eaaafa021fb2aa31eeb325",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "b86aed23093b"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/api-keys": {
      "get": {
        "description": "**CLI:**\n```bash\nagentmail inboxes api-keys list --inbox-id <inbox_id>\n```\n\nRetrieve a list of API keys for a specific inbox or create a new API key with optional permissions and name.",
        "operationId": "get_any_agentmail_apis_v1_agentmail_inboxes_inbox_81bd1e",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ListApiKeysResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List And Create Inbox API Keys",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_any_agentmail_apis_v1_agentmail_inboxes_inbox_81bd1e",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:dc5189bdbc3508f609d8ddac23f1cf4be441f7e22abf092378b00a91b9d6b979",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "428f0f0963df"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_agentmail_apis_v1_agentmail_inboxes_inbox_id__5f4c5f",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/api-keys"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/api-keys",
        "x-aisa-validation": "provider"
      },
      "post": {
        "description": "**CLI:**\n```bash\nagentmail inboxes api-keys create --inbox-id <inbox_id> --name \"My Key\"\n```\n\nRetrieve a list of API keys for a specific inbox or create a new API key with optional permissions and name.",
        "operationId": "post_any_agentmail_apis_v1_agentmail_inboxes_inbo_5d0d22",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "A body with `public_key` registers a public-key credential; any other\nbody mints a bearer key.",
                "oneOf": [
                  {
                    "description": "`expires_at` must be in the future and is immutable once the key exists.\nOmitted, the new key inherits the authenticating key's expiry, and never\nexpires only when that key never does. A key cannot create one that\noutlives it: an `expires_at` later than the authenticating key's own\nreturns `403`.",
                    "properties": {
                      "expires_at": {
                        "description": "Time at which api key expires. Omitted when it does not expire.",
                        "format": "date-time",
                        "title": "ExpiresAt",
                        "type": "string"
                      },
                      "name": {
                        "description": "API 密钥的名称。",
                        "title": "Name",
                        "type": "string"
                      },
                      "permissions": {
                        "description": "API 密钥的细粒度权限。省略时授予所有权限；否则，仅授予设置为 true 的权限。",
                        "properties": {
                          "account_update": {
                            "description": "Update accounts: disable or re-enable an inbox's sign-in at an app. Reading accounts\nneeds only `inbox_read`.",
                            "type": "boolean"
                          },
                          "api_key_create": {
                            "description": "创建 API 密钥。",
                            "type": "boolean"
                          },
                          "api_key_delete": {
                            "description": "删除 API 密钥。",
                            "type": "boolean"
                          },
                          "api_key_read": {
                            "description": "读取 API 密钥。",
                            "type": "boolean"
                          },
                          "api_key_update": {
                            "description": "Update API keys.",
                            "type": "boolean"
                          },
                          "app_connect": {
                            "description": "Sign in to apps as an inbox: connect an app, authorize an inbox, and mint the\nsign-in keys. Omitted on a new bearer key means false, whatever else the key holds.",
                            "type": "boolean"
                          },
                          "app_share_owner": {
                            "description": "Share the organization owner's name and email with apps at sign-in. One permission\nfor both values.",
                            "type": "boolean"
                          },
                          "calendar_event_create": {
                            "description": "Create calendar events.",
                            "type": "boolean"
                          },
                          "calendar_event_delete": {
                            "description": "Delete calendar events.",
                            "type": "boolean"
                          },
                          "calendar_event_read": {
                            "description": "Read calendar events, and receive `calendar.event.*` webhook and WebSocket events.",
                            "type": "boolean"
                          },
                          "calendar_event_update": {
                            "description": "Update calendar events and respond to invitations.",
                            "type": "boolean"
                          },
                          "calendar_read": {
                            "description": "Read inbox calendar settings.",
                            "type": "boolean"
                          },
                          "calendar_update": {
                            "description": "Update inbox calendar settings.",
                            "type": "boolean"
                          },
                          "domain_create": {
                            "description": "创建域名。",
                            "type": "boolean"
                          },
                          "domain_delete": {
                            "description": "删除域名。",
                            "type": "boolean"
                          },
                          "domain_read": {
                            "description": "读取域名详情。",
                            "type": "boolean"
                          },
                          "domain_update": {
                            "description": "更新域名。",
                            "type": "boolean"
                          },
                          "draft_create": {
                            "description": "创建草稿。",
                            "type": "boolean"
                          },
                          "draft_delete": {
                            "description": "删除草稿。",
                            "type": "boolean"
                          },
                          "draft_read": {
                            "description": "读取草稿。",
                            "type": "boolean"
                          },
                          "draft_send": {
                            "description": "发送草稿。",
                            "type": "boolean"
                          },
                          "draft_update": {
                            "description": "更新草稿。",
                            "type": "boolean"
                          },
                          "inbox_create": {
                            "description": "创建新收件箱。",
                            "type": "boolean"
                          },
                          "inbox_delete": {
                            "description": "删除收件箱。",
                            "type": "boolean"
                          },
                          "inbox_read": {
                            "description": "读取收件箱详情。",
                            "type": "boolean"
                          },
                          "inbox_update": {
                            "description": "更新收件箱设置。",
                            "type": "boolean"
                          },
                          "label_blocked_read": {
                            "description": "访问标记为 blocked 的消息。",
                            "type": "boolean"
                          },
                          "label_spam_read": {
                            "description": "访问标记为垃圾邮件的消息。",
                            "type": "boolean"
                          },
                          "label_trash_read": {
                            "description": "访问标记为垃圾箱的邮件。",
                            "type": "boolean"
                          },
                          "label_unauthenticated_read": {
                            "description": "Access messages labeled unauthenticated.",
                            "type": "boolean"
                          },
                          "list_entry_create": {
                            "description": "创建列表条目。",
                            "type": "boolean"
                          },
                          "list_entry_delete": {
                            "description": "删除列表条目。",
                            "type": "boolean"
                          },
                          "list_entry_read": {
                            "description": "读取列表条目。",
                            "type": "boolean"
                          },
                          "message_delete": {
                            "description": "Delete messages. Also required to delete threads.",
                            "type": "boolean"
                          },
                          "message_read": {
                            "description": "Read messages. Also required to read threads.",
                            "type": "boolean"
                          },
                          "message_reply": {
                            "description": "Reply and reply-all when the request is signed with a registered public key. Bearer keys reply with `message_send`.",
                            "type": "boolean"
                          },
                          "message_send": {
                            "description": "发送消息。",
                            "type": "boolean"
                          },
                          "message_update": {
                            "description": "Update message labels. Also required to update threads.",
                            "type": "boolean"
                          },
                          "metrics_read": {
                            "description": "读取指标。",
                            "type": "boolean"
                          },
                          "pod_create": {
                            "description": "创建 Pod。",
                            "type": "boolean"
                          },
                          "pod_delete": {
                            "description": "删除 Pod。",
                            "type": "boolean"
                          },
                          "pod_read": {
                            "description": "读取 Pod。",
                            "type": "boolean"
                          },
                          "pod_update": {
                            "description": "Update pods.",
                            "type": "boolean"
                          },
                          "webhook_create": {
                            "description": "创建 Webhook。",
                            "type": "boolean"
                          },
                          "webhook_delete": {
                            "description": "删除 Webhook。",
                            "type": "boolean"
                          },
                          "webhook_read": {
                            "description": "读取 Webhook 配置。",
                            "type": "boolean"
                          },
                          "webhook_update": {
                            "description": "更新 Webhook。",
                            "type": "boolean"
                          }
                        },
                        "title": "ApiKeyPermissions",
                        "type": "object"
                      }
                    },
                    "title": "CreateBearerApiKeyRequest",
                    "type": "object"
                  },
                  {
                    "description": "Registers a public P-256 JWK at the route's scope. `type` and\n`api_key_id` are server-owned. `name` defaults to\n`AgentID key {first eight fingerprint characters}`; `permissions`\ndefaults to the registering key's, and only grants it holds may be\ntrue; `expires_at` defaults to the registering key's expiry and is\nindependent of that key afterward.",
                    "properties": {
                      "client_id": {
                        "description": "Caller-chosen alias for a public key, unique within the organization and\nreusable after deletion. Accepted in place of `api_key_id` on get, update,\nand delete. Registration is idempotent on it: the same alias returns the\nexisting key, a conflicting one returns `409`. URL-safe; no slash or `@`.",
                        "title": "PublicKeyClientId",
                        "type": "string"
                      },
                      "expires_at": {
                        "description": "Time at which api key expires. Omitted when it does not expire.",
                        "format": "date-time",
                        "title": "ExpiresAt",
                        "type": "string"
                      },
                      "name": {
                        "description": "API 密钥的名称。",
                        "title": "Name",
                        "type": "string"
                      },
                      "permissions": {
                        "description": "API 密钥的细粒度权限。省略时授予所有权限；否则，仅授予设置为 true 的权限。",
                        "properties": {
                          "account_update": {
                            "description": "Update accounts: disable or re-enable an inbox's sign-in at an app. Reading accounts\nneeds only `inbox_read`.",
                            "type": "boolean"
                          },
                          "api_key_create": {
                            "description": "创建 API 密钥。",
                            "type": "boolean"
                          },
                          "api_key_delete": {
                            "description": "删除 API 密钥。",
                            "type": "boolean"
                          },
                          "api_key_read": {
                            "description": "读取 API 密钥。",
                            "type": "boolean"
                          },
                          "api_key_update": {
                            "description": "Update API keys.",
                            "type": "boolean"
                          },
                          "app_connect": {
                            "description": "Sign in to apps as an inbox: connect an app, authorize an inbox, and mint the\nsign-in keys. Omitted on a new bearer key means false, whatever else the key holds.",
                            "type": "boolean"
                          },
                          "app_share_owner": {
                            "description": "Share the organization owner's name and email with apps at sign-in. One permission\nfor both values.",
                            "type": "boolean"
                          },
                          "calendar_event_create": {
                            "description": "Create calendar events.",
                            "type": "boolean"
                          },
                          "calendar_event_delete": {
                            "description": "Delete calendar events.",
                            "type": "boolean"
                          },
                          "calendar_event_read": {
                            "description": "Read calendar events, and receive `calendar.event.*` webhook and WebSocket events.",
                            "type": "boolean"
                          },
                          "calendar_event_update": {
                            "description": "Update calendar events and respond to invitations.",
                            "type": "boolean"
                          },
                          "calendar_read": {
                            "description": "Read inbox calendar settings.",
                            "type": "boolean"
                          },
                          "calendar_update": {
                            "description": "Update inbox calendar settings.",
                            "type": "boolean"
                          },
                          "domain_create": {
                            "description": "创建域名。",
                            "type": "boolean"
                          },
                          "domain_delete": {
                            "description": "删除域名。",
                            "type": "boolean"
                          },
                          "domain_read": {
                            "description": "读取域名详情。",
                            "type": "boolean"
                          },
                          "domain_update": {
                            "description": "更新域名。",
                            "type": "boolean"
                          },
                          "draft_create": {
                            "description": "创建草稿。",
                            "type": "boolean"
                          },
                          "draft_delete": {
                            "description": "删除草稿。",
                            "type": "boolean"
                          },
                          "draft_read": {
                            "description": "读取草稿。",
                            "type": "boolean"
                          },
                          "draft_send": {
                            "description": "发送草稿。",
                            "type": "boolean"
                          },
                          "draft_update": {
                            "description": "更新草稿。",
                            "type": "boolean"
                          },
                          "inbox_create": {
                            "description": "创建新收件箱。",
                            "type": "boolean"
                          },
                          "inbox_delete": {
                            "description": "删除收件箱。",
                            "type": "boolean"
                          },
                          "inbox_read": {
                            "description": "读取收件箱详情。",
                            "type": "boolean"
                          },
                          "inbox_update": {
                            "description": "更新收件箱设置。",
                            "type": "boolean"
                          },
                          "label_blocked_read": {
                            "description": "访问标记为 blocked 的消息。",
                            "type": "boolean"
                          },
                          "label_spam_read": {
                            "description": "访问标记为垃圾邮件的消息。",
                            "type": "boolean"
                          },
                          "label_trash_read": {
                            "description": "访问标记为垃圾箱的邮件。",
                            "type": "boolean"
                          },
                          "label_unauthenticated_read": {
                            "description": "Access messages labeled unauthenticated.",
                            "type": "boolean"
                          },
                          "list_entry_create": {
                            "description": "创建列表条目。",
                            "type": "boolean"
                          },
                          "list_entry_delete": {
                            "description": "删除列表条目。",
                            "type": "boolean"
                          },
                          "list_entry_read": {
                            "description": "读取列表条目。",
                            "type": "boolean"
                          },
                          "message_delete": {
                            "description": "Delete messages. Also required to delete threads.",
                            "type": "boolean"
                          },
                          "message_read": {
                            "description": "Read messages. Also required to read threads.",
                            "type": "boolean"
                          },
                          "message_reply": {
                            "description": "Reply and reply-all when the request is signed with a registered public key. Bearer keys reply with `message_send`.",
                            "type": "boolean"
                          },
                          "message_send": {
                            "description": "发送消息。",
                            "type": "boolean"
                          },
                          "message_update": {
                            "description": "Update message labels. Also required to update threads.",
                            "type": "boolean"
                          },
                          "metrics_read": {
                            "description": "读取指标。",
                            "type": "boolean"
                          },
                          "pod_create": {
                            "description": "创建 Pod。",
                            "type": "boolean"
                          },
                          "pod_delete": {
                            "description": "删除 Pod。",
                            "type": "boolean"
                          },
                          "pod_read": {
                            "description": "读取 Pod。",
                            "type": "boolean"
                          },
                          "pod_update": {
                            "description": "Update pods.",
                            "type": "boolean"
                          },
                          "webhook_create": {
                            "description": "创建 Webhook。",
                            "type": "boolean"
                          },
                          "webhook_delete": {
                            "description": "删除 Webhook。",
                            "type": "boolean"
                          },
                          "webhook_read": {
                            "description": "读取 Webhook 配置。",
                            "type": "boolean"
                          },
                          "webhook_update": {
                            "description": "更新 Webhook。",
                            "type": "boolean"
                          }
                        },
                        "title": "ApiKeyPermissions",
                        "type": "object"
                      },
                      "public_key": {
                        "description": "A public P-256 JWK. The object accepts exactly `kty`, `crv`, `x`, and `y`.\nPrivate key material such as `d`, embedded key IDs, and all other members\nare rejected. The server also rejects coordinates that are not a point on\nP-256.",
                        "properties": {
                          "crv": {
                            "enum": [
                              "P-256"
                            ],
                            "type": "string"
                          },
                          "kty": {
                            "enum": [
                              "EC"
                            ],
                            "type": "string"
                          },
                          "x": {
                            "description": "A 32-byte P-256 coordinate encoded as unpadded base64url.",
                            "maxLength": 43,
                            "minLength": 43,
                            "pattern": "^[A-Za-z0-9_-]{43}$",
                            "title": "PublicJwkCoordinate",
                            "type": "string"
                          },
                          "y": {
                            "description": "A 32-byte P-256 coordinate encoded as unpadded base64url.",
                            "maxLength": 43,
                            "minLength": 43,
                            "pattern": "^[A-Za-z0-9_-]{43}$",
                            "title": "PublicJwkCoordinate",
                            "type": "string"
                          }
                        },
                        "required": [
                          "kty",
                          "crv",
                          "x",
                          "y"
                        ],
                        "title": "PublicJwk",
                        "type": "object"
                      }
                    },
                    "required": [
                      "public_key"
                    ],
                    "title": "CreatePublicKeyRequest",
                    "type": "object"
                  }
                ],
                "title": "CreateApiKeyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_CreateApiKeyResult"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List And Create Inbox API Keys",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/post_any_agentmail_apis_v1_agentmail_inboxes_inbo_5d0d22",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:3cfaa3359e14b598ba19adb03be60204983f1d4a001da49eb935ce7204e7d11f",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "428f0f0963df"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_agentmail_apis_v1_agentmail_inboxes_inbox_id__5f4c5f",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/api-keys"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/api-keys",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/api-keys/{api_key_id}": {
      "delete": {
        "description": "**CLI:**\n```bash\nagentmail inboxes api-keys delete --inbox-id <inbox_id> --api-key-id <api_key_id>\n```\n\nDelete API Key",
        "operationId": "delete_any_agentmail_apis_v1_agentmail_inboxes_in_4ef7af",
        "parameters": [
          {
            "in": "path",
            "name": "api_key_id",
            "required": true,
            "schema": {
              "description": "API 密钥的 ID。",
              "title": "ApiKeyId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {},
            "description": "",
            "x-aisa-no-content": true
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - Delete API Key",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/delete_any_agentmail_apis_v1_agentmail_inboxes_in_4ef7af",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:15f49afe0a16f487c1afb361da67e8727da0109e50cbaff432647ae67998cc3a",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "28fe152d6645"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_agentmail_apis_v1_agentmail_inboxes_inbox_id__aff47c",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/api-keys/{api_key_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
        "x-aisa-validation": "provider"
      },
      "patch": {
        "description": "**CLI:**\n```bash\nagentmail inboxes api-keys update --inbox-id <inbox_id> --api-key-id <api_key_id> --name \"Renamed\"\n```\n\nDelete API Key",
        "operationId": "patch_any_agentmail_apis_v1_agentmail_inboxes_inb_9e18e8",
        "parameters": [
          {
            "in": "path",
            "name": "api_key_id",
            "required": true,
            "schema": {
              "description": "API 密钥的 ID。",
              "title": "ApiKeyId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "Rename a credential or change its permissions. Key material, type,\nscope, and expiry are immutable.",
                "properties": {
                  "name": {
                    "description": "API 密钥的名称。",
                    "title": "Name",
                    "type": "string"
                  },
                  "permissions": {
                    "description": "API 密钥的细粒度权限。省略时授予所有权限；否则，仅授予设置为 true 的权限。",
                    "properties": {
                      "account_update": {
                        "description": "Update accounts: disable or re-enable an inbox's sign-in at an app. Reading accounts\nneeds only `inbox_read`.",
                        "type": "boolean"
                      },
                      "api_key_create": {
                        "description": "创建 API 密钥。",
                        "type": "boolean"
                      },
                      "api_key_delete": {
                        "description": "删除 API 密钥。",
                        "type": "boolean"
                      },
                      "api_key_read": {
                        "description": "读取 API 密钥。",
                        "type": "boolean"
                      },
                      "api_key_update": {
                        "description": "Update API keys.",
                        "type": "boolean"
                      },
                      "app_connect": {
                        "description": "Sign in to apps as an inbox: connect an app, authorize an inbox, and mint the\nsign-in keys. Omitted on a new bearer key means false, whatever else the key holds.",
                        "type": "boolean"
                      },
                      "app_share_owner": {
                        "description": "Share the organization owner's name and email with apps at sign-in. One permission\nfor both values.",
                        "type": "boolean"
                      },
                      "calendar_event_create": {
                        "description": "Create calendar events.",
                        "type": "boolean"
                      },
                      "calendar_event_delete": {
                        "description": "Delete calendar events.",
                        "type": "boolean"
                      },
                      "calendar_event_read": {
                        "description": "Read calendar events, and receive `calendar.event.*` webhook and WebSocket events.",
                        "type": "boolean"
                      },
                      "calendar_event_update": {
                        "description": "Update calendar events and respond to invitations.",
                        "type": "boolean"
                      },
                      "calendar_read": {
                        "description": "Read inbox calendar settings.",
                        "type": "boolean"
                      },
                      "calendar_update": {
                        "description": "Update inbox calendar settings.",
                        "type": "boolean"
                      },
                      "domain_create": {
                        "description": "创建域名。",
                        "type": "boolean"
                      },
                      "domain_delete": {
                        "description": "删除域名。",
                        "type": "boolean"
                      },
                      "domain_read": {
                        "description": "读取域名详情。",
                        "type": "boolean"
                      },
                      "domain_update": {
                        "description": "更新域名。",
                        "type": "boolean"
                      },
                      "draft_create": {
                        "description": "创建草稿。",
                        "type": "boolean"
                      },
                      "draft_delete": {
                        "description": "删除草稿。",
                        "type": "boolean"
                      },
                      "draft_read": {
                        "description": "读取草稿。",
                        "type": "boolean"
                      },
                      "draft_send": {
                        "description": "发送草稿。",
                        "type": "boolean"
                      },
                      "draft_update": {
                        "description": "更新草稿。",
                        "type": "boolean"
                      },
                      "inbox_create": {
                        "description": "创建新收件箱。",
                        "type": "boolean"
                      },
                      "inbox_delete": {
                        "description": "删除收件箱。",
                        "type": "boolean"
                      },
                      "inbox_read": {
                        "description": "读取收件箱详情。",
                        "type": "boolean"
                      },
                      "inbox_update": {
                        "description": "更新收件箱设置。",
                        "type": "boolean"
                      },
                      "label_blocked_read": {
                        "description": "访问标记为 blocked 的消息。",
                        "type": "boolean"
                      },
                      "label_spam_read": {
                        "description": "访问标记为垃圾邮件的消息。",
                        "type": "boolean"
                      },
                      "label_trash_read": {
                        "description": "访问标记为垃圾箱的邮件。",
                        "type": "boolean"
                      },
                      "label_unauthenticated_read": {
                        "description": "Access messages labeled unauthenticated.",
                        "type": "boolean"
                      },
                      "list_entry_create": {
                        "description": "创建列表条目。",
                        "type": "boolean"
                      },
                      "list_entry_delete": {
                        "description": "删除列表条目。",
                        "type": "boolean"
                      },
                      "list_entry_read": {
                        "description": "读取列表条目。",
                        "type": "boolean"
                      },
                      "message_delete": {
                        "description": "Delete messages. Also required to delete threads.",
                        "type": "boolean"
                      },
                      "message_read": {
                        "description": "Read messages. Also required to read threads.",
                        "type": "boolean"
                      },
                      "message_reply": {
                        "description": "Reply and reply-all when the request is signed with a registered public key. Bearer keys reply with `message_send`.",
                        "type": "boolean"
                      },
                      "message_send": {
                        "description": "发送消息。",
                        "type": "boolean"
                      },
                      "message_update": {
                        "description": "Update message labels. Also required to update threads.",
                        "type": "boolean"
                      },
                      "metrics_read": {
                        "description": "读取指标。",
                        "type": "boolean"
                      },
                      "pod_create": {
                        "description": "创建 Pod。",
                        "type": "boolean"
                      },
                      "pod_delete": {
                        "description": "删除 Pod。",
                        "type": "boolean"
                      },
                      "pod_read": {
                        "description": "读取 Pod。",
                        "type": "boolean"
                      },
                      "pod_update": {
                        "description": "Update pods.",
                        "type": "boolean"
                      },
                      "webhook_create": {
                        "description": "创建 Webhook。",
                        "type": "boolean"
                      },
                      "webhook_delete": {
                        "description": "删除 Webhook。",
                        "type": "boolean"
                      },
                      "webhook_read": {
                        "description": "读取 Webhook 配置。",
                        "type": "boolean"
                      },
                      "webhook_update": {
                        "description": "更新 Webhook。",
                        "type": "boolean"
                      }
                    },
                    "title": "ApiKeyPermissions",
                    "type": "object"
                  }
                },
                "title": "UpdateApiKeyRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_apiKeys_ApiKey"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - Delete API Key",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/patch_any_agentmail_apis_v1_agentmail_inboxes_inb_9e18e8",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:2ad831fb4cd8335402152923a1b34f1489cf728d89389e9f067924993757cf76",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "28fe152d6645"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "any_agentmail_apis_v1_agentmail_inboxes_inbox_id__aff47c",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/api-keys/{api_key_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/drafts": {
      "get": {
        "description": "**CLI:**\n```bash\nagentmail inboxes drafts list --inbox-id <inbox_id>\n```\n\nRetrieve a list of email drafts from the specified inbox, with optional filters and pagination support.",
        "operationId": "get_agentmail_inbox_drafts",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "description": "用于筛选此时间戳之后数据的时间戳。",
              "format": "date-time",
              "title": "After",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "ascending",
            "required": false,
            "schema": {
              "description": "按时间升序排序。",
              "title": "Ascending",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "before",
            "required": false,
            "schema": {
              "description": "用于筛选的截止时间戳。",
              "format": "date-time",
              "title": "Before",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "labels",
            "required": false,
            "schema": {
              "description": "用于筛选的标签。",
              "items": {
                "type": "string"
              },
              "title": "Labels",
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_ListDraftsResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "列出草稿",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-drafts",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:86ac058a59b0bf58ada32ede1ed6b66e58dd07cafcfbba46c53b9dbabb1a70db",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "6d09a32cdbc0"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inbox_drafts",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/drafts"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/drafts",
        "x-aisa-validation": "provider"
      },
      "post": {
        "description": "Create a draft. Supply `in_reply_to` to create a reply draft (with\n`reply_all` to address the whole thread), whose recipients, subject, and\nthreading are derived from the referenced message, or `forward_of` to\ncreate a forward draft, which derives the subject, threading, and\nforwarded content from the source but keeps recipients caller-supplied.\n\n**CLI:**\n```bash\nagentmail inboxes drafts create --inbox-id <inbox_id> --to recipient@example.com --subject \"Draft subject\" --text \"Draft body\"\n```\n\nRetrieve a list of email drafts from the specified inbox, with optional filters and pagination support.",
        "operationId": "post_agentmail_inbox_draft",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "Body for creating a draft. Supports plain, reply, reply-all, and forward\ndrafts:\n\n- **Plain draft:** supply `to`, `subject`, `text`, etc.\n- **Reply:** set `in_reply_to` to a message ID. Recipients, subject, and\n  threading are derived from that message. Set `reply_all` to address the\n  whole thread (you then cannot also pass `to`, `cc`, or `bcc`).\n- **Forward:** set `forward_of` to a message ID. The subject and threading\n  are derived from the source message, whose body and attachments are\n  merged in at send time.\n\n`in_reply_to` and `forward_of` are mutually exclusive, and reading the\nreferenced message requires `message_read` permission.",
                "properties": {
                  "attachments": {
                    "description": "草稿中要包含的附件。",
                    "items": {
                      "description": "Provide either `content` or `url` for each attachment.",
                      "properties": {
                        "content": {
                          "description": "Base64 encoded content of the attachment. The entire request, including the message body and all attachments, is limited to 6 MB.",
                          "type": "string"
                        },
                        "content_disposition": {
                          "description": "附件的内容处置方式。",
                          "enum": [
                            "inline",
                            "attachment"
                          ],
                          "title": "AttachmentContentDisposition",
                          "type": "string"
                        },
                        "content_id": {
                          "description": "附件的内容 ID。",
                          "title": "AttachmentContentId",
                          "type": "string"
                        },
                        "content_type": {
                          "description": "附件的内容类型。",
                          "title": "AttachmentContentType",
                          "type": "string"
                        },
                        "filename": {
                          "description": "附件文件名。",
                          "title": "AttachmentFilename",
                          "type": "string"
                        },
                        "url": {
                          "description": "URL that AgentMail can download without custom authentication headers or cookies.\nRedirects and pre-signed URLs are supported, and the final response must be a\nsuccessful 2xx response. Keep URL-backed attachments around 30 MB total per message.",
                          "type": "string"
                        }
                      },
                      "title": "SendAttachment",
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "bcc": {
                    "description": "BCC 收件人的地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                    "items": {
                      "type": "string"
                    },
                    "title": "DraftBcc",
                    "type": "array"
                  },
                  "cc": {
                    "description": "抄送收件人的地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                    "items": {
                      "type": "string"
                    },
                    "title": "DraftCc",
                    "type": "array"
                  },
                  "client_id": {
                    "description": "草稿的客户端 ID。",
                    "title": "DraftClientId",
                    "type": "string"
                  },
                  "forward_of": {
                    "description": "ID of message being forwarded.",
                    "title": "DraftForwardOf",
                    "type": "string"
                  },
                  "html": {
                    "description": "草稿的 HTML 正文。",
                    "title": "DraftHtml",
                    "type": "string"
                  },
                  "in_reply_to": {
                    "description": "被回复消息的 ID。",
                    "title": "DraftInReplyTo",
                    "type": "string"
                  },
                  "labels": {
                    "description": "草稿标签。",
                    "items": {
                      "type": "string"
                    },
                    "title": "DraftLabels",
                    "type": "array"
                  },
                  "reply_all": {
                    "description": "回复原始消息的所有收件人。",
                    "title": "DraftReplyAll",
                    "type": "boolean"
                  },
                  "reply_to": {
                    "description": "回复地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                    "items": {
                      "type": "string"
                    },
                    "title": "DraftReplyTo",
                    "type": "array"
                  },
                  "send_at": {
                    "description": "计划发送草稿的时间。",
                    "format": "date-time",
                    "title": "DraftSendAt",
                    "type": "string"
                  },
                  "subject": {
                    "description": "草稿主题。",
                    "title": "DraftSubject",
                    "type": "string"
                  },
                  "text": {
                    "description": "草稿的纯文本正文。",
                    "title": "DraftText",
                    "type": "string"
                  },
                  "to": {
                    "description": "收件人地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                    "items": {
                      "type": "string"
                    },
                    "title": "DraftTo",
                    "type": "array"
                  }
                },
                "title": "CreateDraftRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_Draft"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "列出草稿",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/post_agentmail-inboxes-inbox-id-drafts",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:1aa38bc64960005a828a45871bf75dd57114543603bd62489db298bf57db4e8d",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "6d09a32cdbc0"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inbox_drafts",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/drafts"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/drafts",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/drafts/{draft_id}": {
      "delete": {
        "description": "**CLI:**\n```bash\nagentmail inboxes drafts delete --inbox-id <inbox_id> --draft-id <draft_id>\n```\n\nRetrieve, update, or delete a specific email draft within an inbox by its ID. This endpoint allows you to get draft details, modify draft content and recipients, or remove the draft entirely.",
        "operationId": "delete_agentmail_inbox_draft",
        "parameters": [
          {
            "in": "path",
            "name": "draft_id",
            "required": true,
            "schema": {
              "description": "草稿 ID。",
              "title": "DraftId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {},
            "description": "",
            "x-aisa-no-content": true
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Draft",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/delete_agentmail-inboxes-inbox-id-drafts-draft-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:15f49afe0a16f487c1afb361da67e8727da0109e50cbaff432647ae67998cc3a",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "921b08eea565"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox_draft",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/drafts/{draft_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/drafts/{draft_id}",
        "x-aisa-validation": "provider"
      },
      "get": {
        "description": "**CLI:**\n```bash\nagentmail inboxes drafts get --inbox-id <inbox_id> --draft-id <draft_id>\n```\n\nRetrieve, update, or delete a specific email draft within an inbox by its ID. This endpoint allows you to get draft details, modify draft content and recipients, or remove the draft entirely.",
        "operationId": "get_agentmail_inbox_draft",
        "parameters": [
          {
            "in": "path",
            "name": "draft_id",
            "required": true,
            "schema": {
              "description": "草稿 ID。",
              "title": "DraftId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_Draft"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Draft",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-drafts-draft-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:1aa38bc64960005a828a45871bf75dd57114543603bd62489db298bf57db4e8d",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "921b08eea565"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox_draft",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/drafts/{draft_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/drafts/{draft_id}",
        "x-aisa-validation": "provider"
      },
      "patch": {
        "description": "Edit fields on an existing draft. Passing `null` clears a field (or `[]`\nfor a recipient field); `send_at: null` un-schedules a scheduled draft.\nA draft that is already being sent cannot be edited.\n\n**CLI:**\n```bash\nagentmail inboxes drafts update --inbox-id <inbox_id> --draft-id <draft_id> --subject \"Updated subject\"\n```\n\nRetrieve, update, or delete a specific email draft within an inbox by its ID. This endpoint allows you to get draft details, modify draft content and recipients, or remove the draft entirely.",
        "operationId": "patch_agentmail_inbox_draft",
        "parameters": [
          {
            "in": "path",
            "name": "draft_id",
            "required": true,
            "schema": {
              "description": "草稿 ID。",
              "title": "DraftId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "Edit fields on an existing draft. A draft's kind (plain, reply, or forward)\nis fixed at creation and cannot be changed here. Omitting a field leaves it\nunchanged; passing `null` (or `[]` for a recipient field) clears it. Pass\n`send_at` to schedule or reschedule the draft, or `null` to un-schedule it.",
                "properties": {
                  "add_attachments": {
                    "description": "Attachments to add to the draft.",
                    "items": {
                      "description": "Provide either `content` or `url` for each attachment.",
                      "properties": {
                        "content": {
                          "description": "Base64 encoded content of the attachment. The entire request, including the message body and all attachments, is limited to 6 MB.",
                          "type": "string"
                        },
                        "content_disposition": {
                          "description": "附件的内容处置方式。",
                          "enum": [
                            "inline",
                            "attachment"
                          ],
                          "title": "AttachmentContentDisposition",
                          "type": "string"
                        },
                        "content_id": {
                          "description": "附件的内容 ID。",
                          "title": "AttachmentContentId",
                          "type": "string"
                        },
                        "content_type": {
                          "description": "附件的内容类型。",
                          "title": "AttachmentContentType",
                          "type": "string"
                        },
                        "filename": {
                          "description": "附件文件名。",
                          "title": "AttachmentFilename",
                          "type": "string"
                        },
                        "url": {
                          "description": "URL that AgentMail can download without custom authentication headers or cookies.\nRedirects and pre-signed URLs are supported, and the final response must be a\nsuccessful 2xx response. Keep URL-backed attachments around 30 MB total per message.",
                          "type": "string"
                        }
                      },
                      "title": "SendAttachment",
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "add_labels": {
                    "description": "Label or labels to add to the draft.",
                    "items": {
                      "type": "string"
                    },
                    "title": "DraftLabels",
                    "type": "array"
                  },
                  "bcc": {
                    "oneOf": [
                      {
                        "description": "BCC 收件人的地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                        "items": {
                          "type": "string"
                        },
                        "title": "DraftBcc",
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "cc": {
                    "oneOf": [
                      {
                        "description": "抄送收件人的地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                        "items": {
                          "type": "string"
                        },
                        "title": "DraftCc",
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "html": {
                    "oneOf": [
                      {
                        "description": "草稿的 HTML 正文。",
                        "title": "DraftHtml",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "remove_attachments": {
                    "description": "IDs of attachments to remove from the draft.",
                    "items": {
                      "description": "附件 ID。",
                      "title": "AttachmentId",
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "remove_labels": {
                    "description": "Label or labels to remove from the draft.",
                    "items": {
                      "type": "string"
                    },
                    "title": "DraftLabels",
                    "type": "array"
                  },
                  "reply_to": {
                    "oneOf": [
                      {
                        "description": "回复地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                        "items": {
                          "type": "string"
                        },
                        "title": "DraftReplyTo",
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "send_at": {
                    "oneOf": [
                      {
                        "description": "计划发送草稿的时间。",
                        "format": "date-time",
                        "title": "DraftSendAt",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "subject": {
                    "oneOf": [
                      {
                        "description": "草稿主题。",
                        "title": "DraftSubject",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "text": {
                    "oneOf": [
                      {
                        "description": "草稿的纯文本正文。",
                        "title": "DraftText",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "to": {
                    "oneOf": [
                      {
                        "description": "收件人地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                        "items": {
                          "type": "string"
                        },
                        "title": "DraftTo",
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "title": "UpdateDraftRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_drafts_Draft"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Draft",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/patch_agentmail-inboxes-inbox-id-drafts-draft-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:1aa38bc64960005a828a45871bf75dd57114543603bd62489db298bf57db4e8d",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "921b08eea565"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox_draft",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/drafts/{draft_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/drafts/{draft_id}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/drafts/{draft_id}/attachments/{attachment_id}": {
      "get": {
        "description": "**CLI:**\n```bash\nagentmail inboxes drafts get-attachment --inbox-id <inbox_id> --draft-id <draft_id> --attachment-id <attachment_id>\n```\n\nGet Attachment",
        "operationId": "get_agentmail_inbox_draft_attachment",
        "parameters": [
          {
            "in": "path",
            "name": "attachment_id",
            "required": true,
            "schema": {
              "description": "附件 ID。",
              "title": "AttachmentId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "draft_id",
            "required": true,
            "schema": {
              "description": "草稿 ID。",
              "title": "DraftId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - Get Attachment",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-drafts-draft-id-attachments-attachment-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:a29903e99e5a43bdbe154fb1cbae2ead779ed90a13849e08e66b92db4e4b050c",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "e540a78fe2a7"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inbox_draft_attachment",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/drafts/{draft_id}/attachments/{attachment_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/drafts/{draft_id}/attachments/{attachment_id}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/drafts/{draft_id}/send": {
      "post": {
        "description": "**CLI:**\n```bash\nagentmail inboxes drafts send --inbox-id <inbox_id> --draft-id <draft_id>\n```\n\nSend Draft",
        "operationId": "post_agentmail_inbox_draft_send",
        "parameters": [
          {
            "in": "path",
            "name": "draft_id",
            "required": true,
            "schema": {
              "description": "草稿 ID。",
              "title": "DraftId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "add_labels": {
                    "description": "要添加到消息的一个或多个标签。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "UpdateMessageLabels"
                  },
                  "remove_labels": {
                    "description": "要从消息中移除的一个或多个标签。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "UpdateMessageLabels"
                  }
                },
                "title": "UpdateMessageRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_SendMessageResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - Send Draft",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/post_agentmail-inboxes-inbox-id-drafts-draft-id-send",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:2eff1688471ee9395787355644384adc3dd11d7dd3c0b1d15b5a85c7b72f1e07",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "64bd935dde88"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "post_agentmail_inbox_draft_send",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/drafts/{draft_id}/send"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/drafts/{draft_id}/send",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/events": {
      "get": {
        "description": "List label change events for an inbox. Returns events in reverse chronological order by default. Use for IMAP UID projection or audit logging.\n\n**CLI:**\n```bash\nagentmail inboxes events list --inbox-id <inbox_id>\n```\n\nList Inbox Events",
        "operationId": "get_agentmail_inbox_events",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "ascending",
            "required": false,
            "schema": {
              "description": "按时间升序排序。",
              "title": "Ascending",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_inboxEvents_ListInboxEventsResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - List Inbox Events",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-events",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:2e151b84b4991bdfa96ca3d421c2f63e5dedc15e49a0b314849d6b02525a55f3",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "e5be0a0a6fa2"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inbox_events",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/events"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/events",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/lists/{direction}/{type}": {
      "get": {
        "description": "**CLI:**\n```bash\nagentmail inboxes lists list --inbox-id <inbox_id> --direction <direction> --type <type>\n```\n\nRetrieve or add entries to a specific inbox list based on direction and type. Supports listing entries with pagination and creating new entries with optional reasons.",
        "operationId": "get_agentmail_inbox_list_entries",
        "parameters": [
          {
            "in": "path",
            "name": "direction",
            "required": true,
            "schema": {
              "description": "列表条目的方向。",
              "enum": [
                "send",
                "receive",
                "reply"
              ],
              "title": "Direction",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "type",
            "required": true,
            "schema": {
              "description": "列表条目的类型。",
              "enum": [
                "allow",
                "block"
              ],
              "title": "ListType",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_PodListListEntriesResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List Or Create Inbox List Entry",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-lists-direction-type",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:5820e5cef918ce9e36979d6e1a144d10d110bcea9c7cc1ad798508172c929a99",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "7f439afc19e7"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inbox_list_entries",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/lists/{direction}/{type}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/lists/{direction}/{type}",
        "x-aisa-validation": "provider"
      },
      "post": {
        "description": "**CLI:**\n```bash\nagentmail inboxes lists create --inbox-id <inbox_id> --direction <direction> --type <type> --entry user@example.com\n```\n\nRetrieve or add entries to a specific inbox list based on direction and type. Supports listing entries with pagination and creating new entries with optional reasons.",
        "operationId": "post_agentmail_inbox_list_entry",
        "parameters": [
          {
            "in": "path",
            "name": "direction",
            "required": true,
            "schema": {
              "description": "列表条目的方向。",
              "enum": [
                "send",
                "receive",
                "reply"
              ],
              "title": "Direction",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "type",
            "required": true,
            "schema": {
              "description": "列表条目的类型。",
              "enum": [
                "allow",
                "block"
              ],
              "title": "ListType",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "entry": {
                    "description": "要添加的电子邮件地址或域名。",
                    "type": "string"
                  },
                  "reason": {
                    "description": "添加该条目的原因。",
                    "type": "string"
                  }
                },
                "required": [
                  "entry"
                ],
                "title": "CreateListEntryRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_PodListEntry"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "List Or Create Inbox List Entry",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/post_agentmail-inboxes-inbox-id-lists-direction-type",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:b0d557b71cb097c0665f3132e322b38d09e45c5cd4406a164d26c4179d8a28b5",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "7f439afc19e7"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inbox_list_entries",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/lists/{direction}/{type}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/lists/{direction}/{type}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}": {
      "delete": {
        "description": "**CLI:**\n```bash\nagentmail inboxes lists delete --inbox-id <inbox_id> --direction <direction> --type <type> --entry <entry>\n```\n\nRetrieve details of a specific list entry, such as an email address or domain, within an inbox's list based on direction and type.",
        "operationId": "delete_agentmail_inbox_list_entry",
        "parameters": [
          {
            "in": "path",
            "name": "direction",
            "required": true,
            "schema": {
              "description": "列表条目的方向。",
              "enum": [
                "send",
                "receive",
                "reply"
              ],
              "title": "Direction",
              "type": "string"
            }
          },
          {
            "description": "电子邮件地址或域名。",
            "in": "path",
            "name": "entry",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "type",
            "required": true,
            "schema": {
              "description": "列表条目的类型。",
              "enum": [
                "allow",
                "block"
              ],
              "title": "ListType",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {},
            "description": "",
            "x-aisa-no-content": true
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "获取列表条目",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/delete_agentmail-inboxes-inbox-id-lists-direction-type-entry",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:15f49afe0a16f487c1afb361da67e8727da0109e50cbaff432647ae67998cc3a",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "ff86bd204d77"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox_list_entry",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
        "x-aisa-validation": "provider"
      },
      "get": {
        "description": "**CLI:**\n```bash\nagentmail inboxes lists get --inbox-id <inbox_id> --direction <direction> --type <type> --entry <entry>\n```\n\nRetrieve details of a specific list entry, such as an email address or domain, within an inbox's list based on direction and type.",
        "operationId": "get_agentmail_inbox_list_entry",
        "parameters": [
          {
            "in": "path",
            "name": "direction",
            "required": true,
            "schema": {
              "description": "列表条目的方向。",
              "enum": [
                "send",
                "receive",
                "reply"
              ],
              "title": "Direction",
              "type": "string"
            }
          },
          {
            "description": "电子邮件地址或域名。",
            "in": "path",
            "name": "entry",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "type",
            "required": true,
            "schema": {
              "description": "列表条目的类型。",
              "enum": [
                "allow",
                "block"
              ],
              "title": "ListType",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_PodListEntry"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "获取列表条目",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-lists-direction-type-entry",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:b0d557b71cb097c0665f3132e322b38d09e45c5cd4406a164d26c4179d8a28b5",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "ff86bd204d77"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox_list_entry",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/messages": {
      "get": {
        "description": "Lists messages in the inbox, most recent first. Pass `from`, `to`, or\n`subject` to filter by substring. Filtered requests are served by\nsearch, which caps `limit` at 100. For relevance-ranked full-text\nsearch across sender, recipients, subject, and message body, use\n`Search Messages`.\n\n**CLI:**\n```bash\nagentmail inboxes messages list --inbox-id <inbox_id>\n```\n\nList Messages",
        "operationId": "get_agentmail_inbox_messages",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "description": "用于筛选此时间戳之后数据的时间戳。",
              "format": "date-time",
              "title": "After",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "ascending",
            "required": false,
            "schema": {
              "description": "按时间升序排序。",
              "title": "Ascending",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "before",
            "required": false,
            "schema": {
              "description": "用于筛选的截止时间戳。",
              "format": "date-time",
              "title": "Before",
              "type": "string"
            }
          },
          {
            "description": "Filter to messages whose sender contains this value (substring match). Repeatable; all values must match.",
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "include_blocked",
            "required": false,
            "schema": {
              "description": "在结果中包含被屏蔽项。",
              "title": "IncludeBlocked",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "include_spam",
            "required": false,
            "schema": {
              "description": "在结果中包含垃圾邮件。",
              "title": "IncludeSpam",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "include_trash",
            "required": false,
            "schema": {
              "description": "在结果中包含垃圾内容。",
              "title": "IncludeTrash",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "include_unauthenticated",
            "required": false,
            "schema": {
              "description": "在结果中包含未经身份验证的内容。",
              "title": "IncludeUnauthenticated",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "labels",
            "required": false,
            "schema": {
              "description": "用于筛选的标签。",
              "items": {
                "type": "string"
              },
              "title": "Labels",
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          },
          {
            "description": "Filter to messages whose subject contains this value (substring match). Repeatable; all values must match.",
            "in": "query",
            "name": "subject",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          {
            "description": "Filter to messages whose recipients (to, cc, or bcc) contain this value (substring match). Repeatable; all values must match.",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_ListMessagesResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - List Messages",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-messages",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:ffe2b4eb62e078befd0dd6544fa65be0ac96538e8a04b1880d73ff7ddc3439f9",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "cd4d8c1fc5f2"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inbox_messages",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/messages"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/messages",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/messages/search": {
      "get": {
        "description": "Full-text search across one inbox's messages. Returns `count`, `limit`, `next_page_token` and `messages`; page with `next_page_token`. Same message fields as `get_agentmail_inbox_messages`, which is the one to use when you want everything in date order rather than a query. Searching conversations instead of individual messages is `get_agentmail_inbox_threads_search`.",
        "operationId": "get_agentmail_inbox_messages_search",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "description": "全文搜索查询。匹配发件人、收件人、\n主题（子字符串）和消息正文（词元化全文）。",
              "title": "Query",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "before",
            "required": false,
            "schema": {
              "description": "用于筛选的截止时间戳。",
              "format": "date-time",
              "title": "Before",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "description": "用于筛选此时间戳之后数据的时间戳。",
              "format": "date-time",
              "title": "After",
              "type": "string"
            }
          },
          {
            "description": "Bearer 身份验证",
            "in": "header",
            "name": "Authorization",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "count": {
                      "description": "返回的项目数量。",
                      "title": "Count",
                      "type": "integer"
                    },
                    "limit": {
                      "description": "返回项目数量的上限。",
                      "title": "Limit",
                      "type": "integer"
                    },
                    "messages": {
                      "description": "按相关性排序，最佳匹配项优先。",
                      "items": {
                        "properties": {
                          "attachments": {
                            "description": "消息中的附件。",
                            "items": {
                              "properties": {
                                "attachment_id": {
                                  "description": "附件 ID。",
                                  "title": "AttachmentId",
                                  "type": "string"
                                },
                                "content_disposition": {
                                  "description": "附件的内容处置方式。",
                                  "enum": [
                                    "inline",
                                    "attachment"
                                  ],
                                  "title": "AttachmentContentDisposition",
                                  "type": "string"
                                },
                                "content_id": {
                                  "description": "附件的内容 ID。",
                                  "title": "AttachmentContentId",
                                  "type": "string"
                                },
                                "content_type": {
                                  "description": "附件的内容类型。",
                                  "title": "AttachmentContentType",
                                  "type": "string"
                                },
                                "filename": {
                                  "description": "附件文件名。",
                                  "title": "AttachmentFilename",
                                  "type": "string"
                                },
                                "size": {
                                  "description": "附件大小（字节）。",
                                  "title": "AttachmentSize",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "attachment_id",
                                "size"
                              ],
                              "title": "Attachment",
                              "type": "object"
                            },
                            "title": "MessageAttachments",
                            "type": "array"
                          },
                          "bcc": {
                            "description": "BCC 收件人的地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                            "items": {
                              "type": "string"
                            },
                            "title": "MessageBcc",
                            "type": "array"
                          },
                          "cc": {
                            "description": "抄送收件人的地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                            "items": {
                              "type": "string"
                            },
                            "title": "MessageCc",
                            "type": "array"
                          },
                          "created_at": {
                            "description": "消息的创建时间。",
                            "format": "date-time",
                            "title": "MessageCreatedAt",
                            "type": "string"
                          },
                          "from": {
                            "description": "发件人地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                            "title": "MessageFrom",
                            "type": "string"
                          },
                          "headers": {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "description": "消息中的标头。",
                            "title": "MessageHeaders",
                            "type": "object"
                          },
                          "highlights": {
                            "description": "每个字段中匹配的片段。仅当查询匹配索引字段时存在。",
                            "properties": {
                              "from": {
                                "description": "发件人地址中匹配的片段。",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "recipients": {
                                "description": "收件人地址（to、cc 或 bcc）中匹配的片段。",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "subject": {
                                "description": "主题中匹配的片段。",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "text": {
                                "description": "消息正文中匹配的片段。",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "title": "SearchMessageHighlights",
                            "type": "object"
                          },
                          "in_reply_to": {
                            "description": "被回复消息的 ID。",
                            "title": "MessageInReplyTo",
                            "type": "string"
                          },
                          "inbox_id": {
                            "description": "收件箱的 ID。",
                            "title": "InboxId",
                            "type": "string"
                          },
                          "labels": {
                            "description": "消息标签。",
                            "items": {
                              "type": "string"
                            },
                            "title": "MessageLabels",
                            "type": "array"
                          },
                          "message_id": {
                            "description": "消息 ID。",
                            "title": "MessageId",
                            "type": "string"
                          },
                          "preview": {
                            "description": "消息文本预览。",
                            "title": "MessagePreview",
                            "type": "string"
                          },
                          "references": {
                            "description": "会话串中先前消息的 ID。",
                            "items": {
                              "type": "string"
                            },
                            "title": "MessageReferences",
                            "type": "array"
                          },
                          "size": {
                            "description": "消息大小（以字节为单位）。",
                            "title": "MessageSize",
                            "type": "integer"
                          },
                          "subject": {
                            "description": "消息主题。",
                            "title": "MessageSubject",
                            "type": "string"
                          },
                          "thread_id": {
                            "description": "会话 ID。",
                            "title": "ThreadId",
                            "type": "string"
                          },
                          "timestamp": {
                            "description": "消息的发送或起草时间。",
                            "format": "date-time",
                            "title": "MessageTimestamp",
                            "type": "string"
                          },
                          "to": {
                            "description": "收件人地址。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                            "items": {
                              "type": "string"
                            },
                            "title": "MessageTo",
                            "type": "array"
                          },
                          "updated_at": {
                            "description": "消息最后更新的时间。",
                            "format": "date-time",
                            "title": "MessageUpdatedAt",
                            "type": "string"
                          }
                        },
                        "required": [
                          "inbox_id",
                          "thread_id",
                          "message_id",
                          "labels",
                          "timestamp",
                          "from",
                          "to",
                          "size",
                          "updated_at",
                          "created_at"
                        ],
                        "title": "SearchMessageItem",
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "next_page_token": {
                      "description": "用于分页的页面 token。",
                      "title": "PageToken",
                      "type": "string"
                    }
                  },
                  "required": [
                    "count",
                    "messages"
                  ],
                  "title": "SearchMessagesResponse",
                  "type": "object"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "errors": {
                      "description": "验证错误。"
                    },
                    "name": {
                      "description": "错误名称。",
                      "title": "ErrorName",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "errors"
                  ],
                  "title": "ValidationErrorResponse",
                  "type": "object"
                }
              }
            },
            "description": "状态码为 400 的错误响应"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "message": {
                      "description": "错误消息。",
                      "title": "ErrorMessage",
                      "type": "string"
                    },
                    "name": {
                      "description": "错误名称。",
                      "title": "ErrorName",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "message"
                  ],
                  "title": "ErrorResponse",
                  "type": "object"
                }
              }
            },
            "description": "状态码为 404 的错误响应"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "summary": "搜索消息",
        "tags": [
          "AgentMail"
        ],
        "x-aisa-contract-pending": "not_in_runtime_contract",
        "x-aisa-contract-state": "retained_legacy",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-messages-search",
        "x-aisa-status": "disabled"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/messages/send": {
      "post": {
        "description": "**CLI:**\n```bash\nagentmail inboxes messages send --inbox-id <inbox_id> --to recipient@example.com --subject \"Hello\" --text \"Body\"\n```\n\nSend Message",
        "operationId": "post_agentmail_inbox_message_send",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "attachments": {
                    "description": "消息中要包含的附件。",
                    "items": {
                      "description": "Provide either `content` or `url` for each attachment.",
                      "properties": {
                        "content": {
                          "description": "Base64 encoded content of the attachment. The entire request, including the message body and all attachments, is limited to 6 MB.",
                          "type": "string"
                        },
                        "content_disposition": {
                          "description": "附件的内容处置方式。",
                          "enum": [
                            "inline",
                            "attachment"
                          ],
                          "title": "AttachmentContentDisposition",
                          "type": "string"
                        },
                        "content_id": {
                          "description": "附件的内容 ID。",
                          "title": "AttachmentContentId",
                          "type": "string"
                        },
                        "content_type": {
                          "description": "附件的内容类型。",
                          "title": "AttachmentContentType",
                          "type": "string"
                        },
                        "filename": {
                          "description": "附件文件名。",
                          "title": "AttachmentFilename",
                          "type": "string"
                        },
                        "url": {
                          "description": "URL that AgentMail can download without custom authentication headers or cookies.\nRedirects and pre-signed URLs are supported, and the final response must be a\nsuccessful 2xx response. Keep URL-backed attachments around 30 MB total per message.",
                          "type": "string"
                        }
                      },
                      "title": "SendAttachment",
                      "type": "object"
                    },
                    "title": "SendMessageAttachments",
                    "type": "array"
                  },
                  "bcc": {
                    "description": "密送收件人地址。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "SendMessageBcc"
                  },
                  "cc": {
                    "description": "抄送收件人地址。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "SendMessageCc"
                  },
                  "headers": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "消息中要包含的标头。",
                    "title": "SendMessageHeaders",
                    "type": "object"
                  },
                  "html": {
                    "description": "消息的 HTML 正文。",
                    "title": "MessageHtml",
                    "type": "string"
                  },
                  "labels": {
                    "description": "消息标签。",
                    "items": {
                      "type": "string"
                    },
                    "title": "MessageLabels",
                    "type": "array"
                  },
                  "reply_to": {
                    "description": "回复地址（一个或多个）。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "SendMessageReplyTo"
                  },
                  "subject": {
                    "description": "消息主题。",
                    "title": "MessageSubject",
                    "type": "string"
                  },
                  "text": {
                    "description": "消息的纯文本正文。",
                    "title": "MessageText",
                    "type": "string"
                  },
                  "to": {
                    "description": "收件人地址。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "SendMessageTo"
                  },
                  "track_opens": {
                    "description": "Track when this message is first opened. Requires a custom domain with tracking enabled and\nan HTML body. Opens surface as the `opened` label on the message and as a `message.opened`\nevent. One pixel is injected per message, not per recipient, so a message with several\nrecipients fires once when any of them opens it, and the event does not identify which one.",
                    "title": "TrackOpens",
                    "type": "boolean"
                  }
                },
                "title": "SendMessageRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_SendMessageResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - Send Message",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/post_agentmail-inboxes-inbox-id-messages-send",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:2eff1688471ee9395787355644384adc3dd11d7dd3c0b1d15b5a85c7b72f1e07",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "57f406880e30"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "post_agentmail_inbox_message_send",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/messages/send"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/messages/send",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}": {
      "delete": {
        "description": "Permanently deletes a message.\n\n**CLI:**\n```bash\nagentmail inboxes messages delete --inbox-id <inbox_id> --message-id <message_id>\n```\n\nRetrieve detailed information about a specific message within an inbox, including sender, recipients, content, labels, attachments, and timestamps.",
        "operationId": "delete_agentmail_inbox_message",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "message_id",
            "required": true,
            "schema": {
              "description": "消息 ID。",
              "title": "MessageId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {},
            "description": "",
            "x-aisa-no-content": true
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Inbox Message",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/delete_agentmail-inboxes-inbox-id-messages-message-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:15f49afe0a16f487c1afb361da67e8727da0109e50cbaff432647ae67998cc3a",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "e5411ce160e8"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox_message",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/messages/{message_id}",
        "x-aisa-validation": "provider"
      },
      "get": {
        "description": "**CLI:**\n```bash\nagentmail inboxes messages get --inbox-id <inbox_id> --message-id <message_id>\n```\n\nRetrieve detailed information about a specific message within an inbox, including sender, recipients, content, labels, attachments, and timestamps.",
        "operationId": "get_agentmail_inbox_message",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "message_id",
            "required": true,
            "schema": {
              "description": "消息 ID。",
              "title": "MessageId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_Message"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Inbox Message",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-messages-message-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:5bb57a4c9e685303e2d1e84968aff553b2fc737d3320d46758ee93549a78a96d",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "e5411ce160e8"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox_message",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/messages/{message_id}",
        "x-aisa-validation": "provider"
      },
      "patch": {
        "description": "**CLI:**\n```bash\nagentmail inboxes messages update --inbox-id <inbox_id> --message-id <message_id> --add-labels read --remove-labels unread\n```\n\nRetrieve detailed information about a specific message within an inbox, including sender, recipients, content, labels, attachments, and timestamps.",
        "operationId": "patch_agentmail_inbox_message",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "message_id",
            "required": true,
            "schema": {
              "description": "消息 ID。",
              "title": "MessageId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "add_labels": {
                    "description": "要添加到消息的一个或多个标签。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "UpdateMessageLabels"
                  },
                  "remove_labels": {
                    "description": "要从消息中移除的一个或多个标签。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "UpdateMessageLabels"
                  }
                },
                "title": "UpdateMessageRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_UpdateMessageResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Inbox Message",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/patch_agentmail-inboxes-inbox-id-messages-message-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:f3b72bf0671399d1d94be422bdb4c2ce9a45d9a78703bccb4c76fdef29df888c",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "e5411ce160e8"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox_message",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/messages/{message_id}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/attachments/{attachment_id}": {
      "get": {
        "description": "**CLI:**\n```bash\nagentmail inboxes messages get-attachment --inbox-id <inbox_id> --message-id <message_id> --attachment-id <attachment_id>\n```\n\nGet Attachment",
        "operationId": "get_agentmail_inbox_message_attachment",
        "parameters": [
          {
            "in": "path",
            "name": "attachment_id",
            "required": true,
            "schema": {
              "description": "附件 ID。",
              "title": "AttachmentId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "message_id",
            "required": true,
            "schema": {
              "description": "消息 ID。",
              "title": "MessageId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - Get Attachment",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-messages-message-id-attachments-attachment-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:a29903e99e5a43bdbe154fb1cbae2ead779ed90a13849e08e66b92db4e4b050c",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "8ae864f57081"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inbox_message_attachment",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/attachments/{attachment_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/messages/{message_id}/attachments/{attachment_id}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/forward": {
      "post": {
        "description": "**CLI:**\n```bash\nagentmail inboxes messages forward --inbox-id <inbox_id> --message-id <message_id> --to recipient@example.com\n```\n\nForward Message",
        "operationId": "post_agentmail_inbox_message_forward",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "message_id",
            "required": true,
            "schema": {
              "description": "消息 ID。",
              "title": "MessageId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "attachments": {
                    "description": "消息中要包含的附件。",
                    "items": {
                      "description": "Provide either `content` or `url` for each attachment.",
                      "properties": {
                        "content": {
                          "description": "Base64 encoded content of the attachment. The entire request, including the message body and all attachments, is limited to 6 MB.",
                          "type": "string"
                        },
                        "content_disposition": {
                          "description": "附件的内容处置方式。",
                          "enum": [
                            "inline",
                            "attachment"
                          ],
                          "title": "AttachmentContentDisposition",
                          "type": "string"
                        },
                        "content_id": {
                          "description": "附件的内容 ID。",
                          "title": "AttachmentContentId",
                          "type": "string"
                        },
                        "content_type": {
                          "description": "附件的内容类型。",
                          "title": "AttachmentContentType",
                          "type": "string"
                        },
                        "filename": {
                          "description": "附件文件名。",
                          "title": "AttachmentFilename",
                          "type": "string"
                        },
                        "url": {
                          "description": "URL that AgentMail can download without custom authentication headers or cookies.\nRedirects and pre-signed URLs are supported, and the final response must be a\nsuccessful 2xx response. Keep URL-backed attachments around 30 MB total per message.",
                          "type": "string"
                        }
                      },
                      "title": "SendAttachment",
                      "type": "object"
                    },
                    "title": "SendMessageAttachments",
                    "type": "array"
                  },
                  "bcc": {
                    "description": "密送收件人地址。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "SendMessageBcc"
                  },
                  "cc": {
                    "description": "抄送收件人地址。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "SendMessageCc"
                  },
                  "headers": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "消息中要包含的标头。",
                    "title": "SendMessageHeaders",
                    "type": "object"
                  },
                  "html": {
                    "description": "消息的 HTML 正文。",
                    "title": "MessageHtml",
                    "type": "string"
                  },
                  "labels": {
                    "description": "消息标签。",
                    "items": {
                      "type": "string"
                    },
                    "title": "MessageLabels",
                    "type": "array"
                  },
                  "reply_to": {
                    "description": "回复地址（一个或多个）。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "SendMessageReplyTo"
                  },
                  "subject": {
                    "description": "消息主题。",
                    "title": "MessageSubject",
                    "type": "string"
                  },
                  "text": {
                    "description": "消息的纯文本正文。",
                    "title": "MessageText",
                    "type": "string"
                  },
                  "to": {
                    "description": "收件人地址。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "SendMessageTo"
                  },
                  "track_opens": {
                    "description": "Track when this message is first opened. Requires a custom domain with tracking enabled and\nan HTML body. Opens surface as the `opened` label on the message and as a `message.opened`\nevent. One pixel is injected per message, not per recipient, so a message with several\nrecipients fires once when any of them opens it, and the event does not identify which one.",
                    "title": "TrackOpens",
                    "type": "boolean"
                  }
                },
                "title": "SendMessageRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_SendMessageResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - Forward Message",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/post_agentmail-inboxes-inbox-id-messages-message-id-forward",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:2eff1688471ee9395787355644384adc3dd11d7dd3c0b1d15b5a85c7b72f1e07",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "2cf1f15f60db"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "post_agentmail_inbox_message_forward",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/forward"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/messages/{message_id}/forward",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/raw": {
      "get": {
        "description": "**CLI:**\n```bash\nagentmail inboxes messages get-raw --inbox-id <inbox_id> --message-id <message_id>\n```\n\nGet Raw Message",
        "operationId": "get_agentmail_inbox_message_raw",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "message_id",
            "required": true,
            "schema": {
              "description": "消息 ID。",
              "title": "MessageId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_RawMessageResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - Get Raw Message",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-messages-message-id-raw",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:99fc9f232b8660a06a80d0157e8f05a5d4fe7499cab79665cf9c1f37b5bd0720",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "49b92c3df9df"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inbox_message_raw",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/raw"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/messages/{message_id}/raw",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/reply": {
      "post": {
        "description": "**CLI:**\n```bash\nagentmail inboxes messages reply --inbox-id <inbox_id> --message-id <message_id> --text \"Reply text\"\n```\n\nReply To Message",
        "operationId": "post_agentmail_inbox_message_reply",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "message_id",
            "required": true,
            "schema": {
              "description": "消息 ID。",
              "title": "MessageId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "attachments": {
                    "description": "消息中要包含的附件。",
                    "items": {
                      "description": "Provide either `content` or `url` for each attachment.",
                      "properties": {
                        "content": {
                          "description": "Base64 encoded content of the attachment. The entire request, including the message body and all attachments, is limited to 6 MB.",
                          "type": "string"
                        },
                        "content_disposition": {
                          "description": "附件的内容处置方式。",
                          "enum": [
                            "inline",
                            "attachment"
                          ],
                          "title": "AttachmentContentDisposition",
                          "type": "string"
                        },
                        "content_id": {
                          "description": "附件的内容 ID。",
                          "title": "AttachmentContentId",
                          "type": "string"
                        },
                        "content_type": {
                          "description": "附件的内容类型。",
                          "title": "AttachmentContentType",
                          "type": "string"
                        },
                        "filename": {
                          "description": "附件文件名。",
                          "title": "AttachmentFilename",
                          "type": "string"
                        },
                        "url": {
                          "description": "URL that AgentMail can download without custom authentication headers or cookies.\nRedirects and pre-signed URLs are supported, and the final response must be a\nsuccessful 2xx response. Keep URL-backed attachments around 30 MB total per message.",
                          "type": "string"
                        }
                      },
                      "title": "SendAttachment",
                      "type": "object"
                    },
                    "title": "SendMessageAttachments",
                    "type": "array"
                  },
                  "bcc": {
                    "description": "密送收件人地址。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "SendMessageBcc"
                  },
                  "cc": {
                    "description": "抄送收件人地址。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "SendMessageCc"
                  },
                  "headers": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "消息中要包含的标头。",
                    "title": "SendMessageHeaders",
                    "type": "object"
                  },
                  "html": {
                    "description": "消息的 HTML 正文。",
                    "title": "MessageHtml",
                    "type": "string"
                  },
                  "labels": {
                    "description": "消息标签。",
                    "items": {
                      "type": "string"
                    },
                    "title": "MessageLabels",
                    "type": "array"
                  },
                  "reply_all": {
                    "description": "回复原始消息的所有收件人。",
                    "title": "ReplyAll",
                    "type": "boolean"
                  },
                  "reply_to": {
                    "description": "回复地址（一个或多个）。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "SendMessageReplyTo"
                  },
                  "text": {
                    "description": "消息的纯文本正文。",
                    "title": "MessageText",
                    "type": "string"
                  },
                  "to": {
                    "description": "收件人地址。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "SendMessageTo"
                  },
                  "track_opens": {
                    "description": "Track when this message is first opened. Requires a custom domain with tracking enabled and\nan HTML body. Opens surface as the `opened` label on the message and as a `message.opened`\nevent. One pixel is injected per message, not per recipient, so a message with several\nrecipients fires once when any of them opens it, and the event does not identify which one.",
                    "title": "TrackOpens",
                    "type": "boolean"
                  }
                },
                "title": "ReplyToMessageRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_SendMessageResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - Reply To Message",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/post_agentmail-inboxes-inbox-id-messages-message-id-reply",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:2eff1688471ee9395787355644384adc3dd11d7dd3c0b1d15b5a85c7b72f1e07",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "f5940e23cc55"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "post_agentmail_inbox_message_reply",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/reply"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/messages/{message_id}/reply",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/reply-all": {
      "post": {
        "description": "**CLI:**\n```bash\nagentmail inboxes messages reply-all --inbox-id <inbox_id> --message-id <message_id> --text \"Reply text\"\n```\n\nReply All Message",
        "operationId": "post_agentmail_inbox_message_reply_all",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "message_id",
            "required": true,
            "schema": {
              "description": "消息 ID。",
              "title": "MessageId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "attachments": {
                    "description": "消息中要包含的附件。",
                    "items": {
                      "description": "Provide either `content` or `url` for each attachment.",
                      "properties": {
                        "content": {
                          "description": "Base64 encoded content of the attachment. The entire request, including the message body and all attachments, is limited to 6 MB.",
                          "type": "string"
                        },
                        "content_disposition": {
                          "description": "附件的内容处置方式。",
                          "enum": [
                            "inline",
                            "attachment"
                          ],
                          "title": "AttachmentContentDisposition",
                          "type": "string"
                        },
                        "content_id": {
                          "description": "附件的内容 ID。",
                          "title": "AttachmentContentId",
                          "type": "string"
                        },
                        "content_type": {
                          "description": "附件的内容类型。",
                          "title": "AttachmentContentType",
                          "type": "string"
                        },
                        "filename": {
                          "description": "附件文件名。",
                          "title": "AttachmentFilename",
                          "type": "string"
                        },
                        "url": {
                          "description": "URL that AgentMail can download without custom authentication headers or cookies.\nRedirects and pre-signed URLs are supported, and the final response must be a\nsuccessful 2xx response. Keep URL-backed attachments around 30 MB total per message.",
                          "type": "string"
                        }
                      },
                      "title": "SendAttachment",
                      "type": "object"
                    },
                    "title": "SendMessageAttachments",
                    "type": "array"
                  },
                  "headers": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "消息中要包含的标头。",
                    "title": "SendMessageHeaders",
                    "type": "object"
                  },
                  "html": {
                    "description": "消息的 HTML 正文。",
                    "title": "MessageHtml",
                    "type": "string"
                  },
                  "labels": {
                    "description": "消息标签。",
                    "items": {
                      "type": "string"
                    },
                    "title": "MessageLabels",
                    "type": "array"
                  },
                  "reply_to": {
                    "description": "回复地址（一个或多个）。",
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    ],
                    "title": "SendMessageReplyTo"
                  },
                  "text": {
                    "description": "消息的纯文本正文。",
                    "title": "MessageText",
                    "type": "string"
                  },
                  "track_opens": {
                    "description": "Track when this message is first opened. Requires a custom domain with tracking enabled and\nan HTML body. Opens surface as the `opened` label on the message and as a `message.opened`\nevent. One pixel is injected per message, not per recipient, so a message with several\nrecipients fires once when any of them opens it, and the event does not identify which one.",
                    "title": "TrackOpens",
                    "type": "boolean"
                  }
                },
                "title": "ReplyAllMessageRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_messages_SendMessageResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - Reply All Message",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/post_agentmail-inboxes-inbox-id-messages-message-id-reply-all",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:2eff1688471ee9395787355644384adc3dd11d7dd3c0b1d15b5a85c7b72f1e07",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "8329c32efef9"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "post_agentmail_inbox_message_reply_all",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/reply-all"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/messages/{message_id}/reply-all",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/metrics": {
      "get": {
        "description": "Returns the same aggregate counters as `get_agentmail_metrics` but for one inbox: a flat map of counter name to an array of data points, keyed by `message.received`, `message.received.spam`, `message.received.blocked`, `message.received.unauthenticated`, `message.sent`, `message.delivered`, `message.bounced`, `message.complained`, `message.rejected`, `message.opened` and `domain.verified`. An empty array means no activity, not an error. The shape is not pinned in this spec, so read the keys actually returned. For individual events rather than counts use `get_agentmail_inbox_events`; for the account-wide totals, `get_agentmail_metrics`.\n\nQuery Metrics",
        "operationId": "get_agentmail_inbox_metrics",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "descending",
            "required": false,
            "schema": {
              "description": "按降序排序。",
              "title": "Descending",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "end",
            "required": false,
            "schema": {
              "description": "查询的结束时间戳。",
              "format": "date-time",
              "title": "End",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "event_types",
            "required": false,
            "schema": {
              "description": "要查询的指标事件类型列表。",
              "items": {
                "description": "指标事件的类型。",
                "enum": [
                  "message.sent",
                  "message.delivered",
                  "message.bounced",
                  "message.delayed",
                  "message.rejected",
                  "message.complained",
                  "message.received"
                ],
                "title": "MetricEventType",
                "type": "string"
              },
              "title": "MetricEventTypes",
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回的桶数量上限。",
              "title": "MetricLimit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "period",
            "required": false,
            "schema": {
              "description": "查询周期，以秒为单位。",
              "title": "Period",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "start",
            "required": false,
            "schema": {
              "description": "查询的开始时间戳。",
              "format": "date-time",
              "title": "Start",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response38395Bb200C1_type_metrics_QueryMetricsResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - Query Metrics",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-metrics",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:d9df62448a2d27aa019356cac355ce1a8d918956b4f586580e614404034bc260",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:f59d27b8c3de2a6a8dff0e92545b4363b1f01f1bfd2f849b69378928a3440991",
            "converter": "scripts/import_existing_contracts.py@1",
            "fetched_at": "2026-09-29T21:25:55+08:00",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "path_space": "public",
            "policy_revision": "sha256:37b838e24510d5cff2464887bdc63d9553c2c74067ee50b5bdcd1839f69985aa",
            "refresh_policy": "manual",
            "review_period_days": 30,
            "url": "https://github.com/AIsa-team/docs/blob/7783840e4710bb00886143feab84606f8aaea67c/openapi/agentmail.json"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "492ea0c8fbf4"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inbox_metrics",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/metrics"
        },
        "x-aisa-source": {
          "content_hash": "sha256:f59d27b8c3de2a6a8dff0e92545b4363b1f01f1bfd2f849b69378928a3440991",
          "converter": "scripts/import_existing_contracts.py@1",
          "fetched_at": "2026-09-29T21:25:55+08:00",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "path_space": "public",
          "policy_revision": "sha256:37b838e24510d5cff2464887bdc63d9553c2c74067ee50b5bdcd1839f69985aa",
          "refresh_policy": "manual",
          "review_period_days": 30,
          "url": "https://github.com/AIsa-team/docs/blob/7783840e4710bb00886143feab84606f8aaea67c/openapi/agentmail.json"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/metrics",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/threads": {
      "get": {
        "description": "Lists threads in the inbox, most recent first. Pass `senders`,\n`recipients`, or `subject` to filter by substring. Filtered requests are\nserved by search, which caps `limit` at 100. For relevance-ranked\nfull-text search, use `Search Threads`.\n\n**CLI:**\n```bash\nagentmail inboxes threads list --inbox-id <inbox_id>\n```\n\nList Threads",
        "operationId": "get_agentmail_inbox_threads",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "description": "用于筛选此时间戳之后数据的时间戳。",
              "format": "date-time",
              "title": "After",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "ascending",
            "required": false,
            "schema": {
              "description": "按时间升序排序。",
              "title": "Ascending",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "before",
            "required": false,
            "schema": {
              "description": "用于筛选的截止时间戳。",
              "format": "date-time",
              "title": "Before",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "include_blocked",
            "required": false,
            "schema": {
              "description": "在结果中包含被屏蔽项。",
              "title": "IncludeBlocked",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "include_spam",
            "required": false,
            "schema": {
              "description": "在结果中包含垃圾邮件。",
              "title": "IncludeSpam",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "include_trash",
            "required": false,
            "schema": {
              "description": "在结果中包含垃圾内容。",
              "title": "IncludeTrash",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "include_unauthenticated",
            "required": false,
            "schema": {
              "description": "在结果中包含未经身份验证的内容。",
              "title": "IncludeUnauthenticated",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "labels",
            "required": false,
            "schema": {
              "description": "用于筛选的标签。",
              "items": {
                "type": "string"
              },
              "title": "Labels",
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          },
          {
            "description": "Filter to threads whose recipients contain this value (substring match). Repeatable; all values must match.",
            "in": "query",
            "name": "recipients",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          {
            "description": "Filter to threads whose senders contain this value (substring match). Repeatable; all values must match.",
            "in": "query",
            "name": "senders",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          {
            "description": "Filter to threads whose subject contains this value (substring match). Repeatable; all values must match.",
            "in": "query",
            "name": "subject",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ListThreadsResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - List Threads",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-threads",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:d0a26f13b064af16303e2b86c6b0c7d4cb93dbe448eb1b5cc7b07233b5047963",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "02b3c90431bd"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inbox_threads",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/threads"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/threads",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/threads/search": {
      "get": {
        "description": "Full-text search across one inbox's threads. Returns `count`, `limit`, `next_page_token` and `threads`; page with `next_page_token`. Same thread fields as `get_agentmail_inbox_threads`, which is the one to use for everything in date order. To search individual messages rather than conversations use `get_agentmail_inbox_messages_search`.",
        "operationId": "get_agentmail_inbox_threads_search",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "description": "全文搜索查询。匹配发件人、收件人、\n主题（子字符串）和消息正文（词元化全文）。",
              "title": "Query",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "before",
            "required": false,
            "schema": {
              "description": "用于筛选的截止时间戳。",
              "format": "date-time",
              "title": "Before",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "description": "用于筛选此时间戳之后数据的时间戳。",
              "format": "date-time",
              "title": "After",
              "type": "string"
            }
          },
          {
            "description": "Bearer 身份验证",
            "in": "header",
            "name": "Authorization",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "count": {
                      "description": "返回的项目数量。",
                      "title": "Count",
                      "type": "integer"
                    },
                    "limit": {
                      "description": "返回项目数量的上限。",
                      "title": "Limit",
                      "type": "integer"
                    },
                    "next_page_token": {
                      "description": "用于分页的页面 token。",
                      "title": "PageToken",
                      "type": "string"
                    },
                    "threads": {
                      "description": "按相关性排序，最佳匹配项优先。",
                      "items": {
                        "properties": {
                          "attachments": {
                            "description": "线程中的附件。",
                            "items": {
                              "properties": {
                                "attachment_id": {
                                  "description": "附件 ID。",
                                  "title": "AttachmentId",
                                  "type": "string"
                                },
                                "content_disposition": {
                                  "description": "附件的内容处置方式。",
                                  "enum": [
                                    "inline",
                                    "attachment"
                                  ],
                                  "title": "AttachmentContentDisposition",
                                  "type": "string"
                                },
                                "content_id": {
                                  "description": "附件的内容 ID。",
                                  "title": "AttachmentContentId",
                                  "type": "string"
                                },
                                "content_type": {
                                  "description": "附件的内容类型。",
                                  "title": "AttachmentContentType",
                                  "type": "string"
                                },
                                "filename": {
                                  "description": "附件文件名。",
                                  "title": "AttachmentFilename",
                                  "type": "string"
                                },
                                "size": {
                                  "description": "附件大小（字节）。",
                                  "title": "AttachmentSize",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "attachment_id",
                                "size"
                              ],
                              "title": "Attachment",
                              "type": "object"
                            },
                            "title": "ThreadAttachments",
                            "type": "array"
                          },
                          "created_at": {
                            "description": "会话串的创建时间。",
                            "format": "date-time",
                            "title": "ThreadCreatedAt",
                            "type": "string"
                          },
                          "highlights": {
                            "description": "每个字段中匹配的片段。仅当查询匹配索引字段时存在。",
                            "properties": {
                              "from": {
                                "description": "线程中发件人地址的匹配片段。",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "recipients": {
                                "description": "与会话中收件人地址（to、cc 或 bcc）匹配的片段。",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "subject": {
                                "description": "主题中匹配的片段。",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "text": {
                                "description": "线程中消息正文的匹配片段。",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "title": "SearchThreadHighlights",
                            "type": "object"
                          },
                          "inbox_id": {
                            "description": "收件箱的 ID。",
                            "title": "InboxId",
                            "type": "string"
                          },
                          "labels": {
                            "description": "会话标签。",
                            "items": {
                              "type": "string"
                            },
                            "title": "ThreadLabels",
                            "type": "array"
                          },
                          "last_message_id": {
                            "description": "会话串中最后一条消息的 ID。",
                            "title": "ThreadLastMessageId",
                            "type": "string"
                          },
                          "message_count": {
                            "description": "会话中的消息数量。",
                            "title": "ThreadMessageCount",
                            "type": "integer"
                          },
                          "preview": {
                            "description": "会话中最后一条消息的文本预览。",
                            "title": "ThreadPreview",
                            "type": "string"
                          },
                          "received_timestamp": {
                            "description": "最后收到消息的时间戳。",
                            "format": "date-time",
                            "title": "ThreadReceivedTimestamp",
                            "type": "string"
                          },
                          "recipients": {
                            "description": "会话中的收件人。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                            "items": {
                              "type": "string"
                            },
                            "title": "ThreadRecipients",
                            "type": "array"
                          },
                          "senders": {
                            "description": "会话中的发件人。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                            "items": {
                              "type": "string"
                            },
                            "title": "ThreadSenders",
                            "type": "array"
                          },
                          "sent_timestamp": {
                            "description": "最后发送消息的时间戳。",
                            "format": "date-time",
                            "title": "ThreadSentTimestamp",
                            "type": "string"
                          },
                          "size": {
                            "description": "线程大小（以字节为单位）。",
                            "title": "ThreadSize",
                            "type": "integer"
                          },
                          "subject": {
                            "description": "会话主题。",
                            "title": "ThreadSubject",
                            "type": "string"
                          },
                          "thread_id": {
                            "description": "会话 ID。",
                            "title": "ThreadId",
                            "type": "string"
                          },
                          "timestamp": {
                            "description": "最后发送或接收消息的时间戳。",
                            "format": "date-time",
                            "title": "ThreadTimestamp",
                            "type": "string"
                          },
                          "updated_at": {
                            "description": "线程上次更新的时间。",
                            "format": "date-time",
                            "title": "ThreadUpdatedAt",
                            "type": "string"
                          }
                        },
                        "required": [
                          "inbox_id",
                          "thread_id",
                          "labels",
                          "timestamp",
                          "senders",
                          "recipients",
                          "last_message_id",
                          "message_count",
                          "size",
                          "updated_at",
                          "created_at"
                        ],
                        "title": "SearchThreadItem",
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "count",
                    "threads"
                  ],
                  "title": "SearchThreadsResponse",
                  "type": "object"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "errors": {
                      "description": "验证错误。"
                    },
                    "name": {
                      "description": "错误名称。",
                      "title": "ErrorName",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "errors"
                  ],
                  "title": "ValidationErrorResponse",
                  "type": "object"
                }
              }
            },
            "description": "状态码为 400 的错误响应"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "message": {
                      "description": "错误消息。",
                      "title": "ErrorMessage",
                      "type": "string"
                    },
                    "name": {
                      "description": "错误名称。",
                      "title": "ErrorName",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "message"
                  ],
                  "title": "ErrorResponse",
                  "type": "object"
                }
              }
            },
            "description": "状态码为 404 的错误响应"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "summary": "搜索线程",
        "tags": [
          "AgentMail"
        ],
        "x-aisa-contract-pending": "not_in_runtime_contract",
        "x-aisa-contract-state": "retained_legacy",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-threads-search",
        "x-aisa-status": "disabled"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/threads/{thread_id}": {
      "delete": {
        "description": "Permanently deletes a thread and all of its messages.\n\n**CLI:**\n```bash\nagentmail inboxes threads delete --inbox-id <inbox_id> --thread-id <thread_id>\n```\n\nRetrieve, update, or delete a specific email thread within an inbox, including details like messages, labels, senders, and timestamps.",
        "operationId": "delete_agentmail_inbox_thread",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "thread_id",
            "required": true,
            "schema": {
              "description": "会话 ID。",
              "title": "ThreadId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {},
            "description": "",
            "x-aisa-no-content": true
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Inbox Thread",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/delete_agentmail-inboxes-inbox-id-threads-thread-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:15f49afe0a16f487c1afb361da67e8727da0109e50cbaff432647ae67998cc3a",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "61c99a0b9d4d"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox_thread",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/threads/{thread_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/threads/{thread_id}",
        "x-aisa-validation": "provider"
      },
      "get": {
        "description": "**CLI:**\n```bash\nagentmail inboxes threads get --inbox-id <inbox_id> --thread-id <thread_id>\n```\n\nRetrieve, update, or delete a specific email thread within an inbox, including details like messages, labels, senders, and timestamps.",
        "operationId": "get_agentmail_inbox_thread",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "thread_id",
            "required": true,
            "schema": {
              "description": "会话 ID。",
              "title": "ThreadId",
              "type": "string"
            }
          },
          {
            "description": "Maximum number of messages to return. Cannot exceed 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "Token returned by the previous response for retrieving the next, older page.",
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_Thread"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Inbox Thread",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-threads-thread-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:e719a0324352783ad59f1f7b09ba75406fde51fdaf2ae3048e044e94b66d61c8",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "61c99a0b9d4d"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox_thread",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/threads/{thread_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/threads/{thread_id}",
        "x-aisa-validation": "provider"
      },
      "patch": {
        "description": "Updates thread labels. Cannot add or remove system labels (sent, received, bounced, etc.). Rejects requests with a `422` for threads with 100 or more messages.\n\nRetrieve, update, or delete a specific email thread within an inbox, including details like messages, labels, senders, and timestamps.",
        "operationId": "patch_agentmail_inbox_thread",
        "parameters": [
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "thread_id",
            "required": true,
            "schema": {
              "description": "会话 ID。",
              "title": "ThreadId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "add_labels": {
                    "description": "要添加到会话串的标签。不能是系统标签。",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "remove_labels": {
                    "description": "要从会话线程中移除的标签。不能是系统标签。优先级高于 `add_labels`（当传入重复标签时）。",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "title": "UpdateThreadRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_UpdateThreadResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Inbox Thread",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/patch_agentmail-inboxes-inbox-id-threads-thread-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:ce067b735d7693f4e427aa373e5ba608be2807c6473e7d94ae7e1a04b72a443f",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "61c99a0b9d4d"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_inbox_thread",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/threads/{thread_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/threads/{thread_id}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/inboxes/{inbox_id}/threads/{thread_id}/attachments/{attachment_id}": {
      "get": {
        "description": "**CLI:**\n```bash\nagentmail inboxes threads get-attachment --inbox-id <inbox_id> --thread-id <thread_id> --attachment-id <attachment_id>\n```\n\nGet Attachment",
        "operationId": "get_agentmail_inbox_thread_attachment",
        "parameters": [
          {
            "in": "path",
            "name": "attachment_id",
            "required": true,
            "schema": {
              "description": "附件 ID。",
              "title": "AttachmentId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inbox_id",
            "required": true,
            "schema": {
              "description": "收件箱的 ID。",
              "title": "InboxId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "thread_id",
            "required": true,
            "schema": {
              "description": "会话 ID。",
              "title": "ThreadId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Inboxes - Get Attachment",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-inboxes-inbox-id-threads-thread-id-attachments-attachment-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:a29903e99e5a43bdbe154fb1cbae2ead779ed90a13849e08e66b92db4e4b050c",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "ebab2cf4e5c7"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_inbox_thread_attachment",
          "path": "/apis/v1/agentmail/inboxes/{inbox_id}/threads/{thread_id}/attachments/{attachment_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/inboxes/{inbox_id}/threads/{thread_id}/attachments/{attachment_id}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/lists/{direction}/{type}": {
      "get": {
        "description": "**CLI:**\n```bash\nagentmail lists list --direction <direction> --type <type>\n```\n\nRetrieve or create entries in the specified list based on direction and type. Supports listing entries with pagination and adding new email addresses or domains with an optional reason.",
        "operationId": "get_agentmail_list_entries",
        "parameters": [
          {
            "in": "path",
            "name": "direction",
            "required": true,
            "schema": {
              "description": "列表条目的方向。",
              "enum": [
                "send",
                "receive",
                "reply"
              ],
              "title": "Direction",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "type",
            "required": true,
            "schema": {
              "description": "列表条目的类型。",
              "enum": [
                "allow",
                "block"
              ],
              "title": "ListType",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_ListListEntriesResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage List Entries",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-lists-direction-type",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:59890fd8706155da38ab27799a733c723c4603ee2bc5465f1fd1decb1b45971a",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "f66713e294b3"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_list_entries",
          "path": "/apis/v1/agentmail/lists/{direction}/{type}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/lists/{direction}/{type}",
        "x-aisa-validation": "provider"
      },
      "post": {
        "description": "**CLI:**\n```bash\nagentmail lists create --direction <direction> --type <type> --entry user@example.com\n```\n\nRetrieve or create entries in the specified list based on direction and type. Supports listing entries with pagination and adding new email addresses or domains with an optional reason.",
        "operationId": "post_agentmail_list_entry",
        "parameters": [
          {
            "in": "path",
            "name": "direction",
            "required": true,
            "schema": {
              "description": "列表条目的方向。",
              "enum": [
                "send",
                "receive",
                "reply"
              ],
              "title": "Direction",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "type",
            "required": true,
            "schema": {
              "description": "列表条目的类型。",
              "enum": [
                "allow",
                "block"
              ],
              "title": "ListType",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "entry": {
                    "description": "要添加的电子邮件地址或域名。",
                    "type": "string"
                  },
                  "reason": {
                    "description": "添加该条目的原因。",
                    "type": "string"
                  }
                },
                "required": [
                  "entry"
                ],
                "title": "CreateListEntryRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_ListEntry"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage List Entries",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/post_agentmail-lists-direction-type",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:688024f713bfe1b0e6717f31b2cac43330907767a0d3be9e84931ced1038e47f",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "f66713e294b3"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_list_entries",
          "path": "/apis/v1/agentmail/lists/{direction}/{type}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/lists/{direction}/{type}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/lists/{direction}/{type}/{entry}": {
      "delete": {
        "description": "**CLI:**\n```bash\nagentmail lists delete --direction <direction> --type <type> --entry <entry>\n```\n\nRetrieve or delete a specific email address or domain entry from a list based on its direction and type.",
        "operationId": "delete_agentmail_list_entry",
        "parameters": [
          {
            "in": "path",
            "name": "direction",
            "required": true,
            "schema": {
              "description": "列表条目的方向。",
              "enum": [
                "send",
                "receive",
                "reply"
              ],
              "title": "Direction",
              "type": "string"
            }
          },
          {
            "description": "电子邮件地址或域名。",
            "in": "path",
            "name": "entry",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "type",
            "required": true,
            "schema": {
              "description": "列表条目的类型。",
              "enum": [
                "allow",
                "block"
              ],
              "title": "ListType",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {},
            "description": "",
            "x-aisa-no-content": true
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage List Entry",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/delete_agentmail-lists-direction-type-entry",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:15f49afe0a16f487c1afb361da67e8727da0109e50cbaff432647ae67998cc3a",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "02fbd892cbe1"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_list_entry",
          "path": "/apis/v1/agentmail/lists/{direction}/{type}/{entry}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/lists/{direction}/{type}/{entry}",
        "x-aisa-validation": "provider"
      },
      "get": {
        "description": "**CLI:**\n```bash\nagentmail lists get --direction <direction> --type <type> --entry <entry>\n```\n\nRetrieve or delete a specific email address or domain entry from a list based on its direction and type.",
        "operationId": "get_agentmail_list_entry",
        "parameters": [
          {
            "in": "path",
            "name": "direction",
            "required": true,
            "schema": {
              "description": "列表条目的方向。",
              "enum": [
                "send",
                "receive",
                "reply"
              ],
              "title": "Direction",
              "type": "string"
            }
          },
          {
            "description": "电子邮件地址或域名。",
            "in": "path",
            "name": "entry",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "type",
            "required": true,
            "schema": {
              "description": "列表条目的类型。",
              "enum": [
                "allow",
                "block"
              ],
              "title": "ListType",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_lists_ListEntry"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage List Entry",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-lists-direction-type-entry",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:688024f713bfe1b0e6717f31b2cac43330907767a0d3be9e84931ced1038e47f",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "02fbd892cbe1"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_list_entry",
          "path": "/apis/v1/agentmail/lists/{direction}/{type}/{entry}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/lists/{direction}/{type}/{entry}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/metrics": {
      "get": {
        "description": "Returns aggregate counters for the whole account as a flat map of counter name to an array of data points. Measured live on 2026-08-24 the keys are `message.received`, `message.received.spam`, `message.received.blocked`, `message.received.unauthenticated`, `message.sent`, `message.delivered`, `message.bounced`, `message.complained`, `message.rejected`, `message.opened` and `domain.verified`, each an empty array on an account with no traffic — an empty array means no activity, not an error. The shape is not pinned in this spec, so read the keys actually returned rather than assuming this list is closed. This is the organization-wide view spanning every inbox in the account. Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created; the inbox-scoped twin `get_agentmail_inbox_metrics` is the one to use when a single inbox is meant.",
        "operationId": "get_agentmail_metrics",
        "parameters": [
          {
            "in": "query",
            "name": "descending",
            "required": false,
            "schema": {
              "description": "按降序排序。",
              "title": "Descending",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "end",
            "required": false,
            "schema": {
              "description": "查询的结束时间戳。",
              "format": "date-time",
              "title": "End",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "event_types",
            "required": false,
            "schema": {
              "description": "要查询的指标事件类型列表。",
              "items": {
                "description": "指标事件的类型。",
                "enum": [
                  "message.sent",
                  "message.delivered",
                  "message.bounced",
                  "message.delayed",
                  "message.rejected",
                  "message.complained",
                  "message.received"
                ],
                "title": "MetricEventType",
                "type": "string"
              },
              "title": "MetricEventTypes",
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回的桶数量上限。",
              "title": "MetricLimit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "period",
            "required": false,
            "schema": {
              "description": "查询周期，以秒为单位。",
              "title": "Period",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "start",
            "required": false,
            "schema": {
              "description": "查询的开始时间戳。",
              "format": "date-time",
              "title": "Start",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response38395Bb200C1_type_metrics_QueryMetricsResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "查询指标",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-metrics",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:d9df62448a2d27aa019356cac355ce1a8d918956b4f586580e614404034bc260",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:f59d27b8c3de2a6a8dff0e92545b4363b1f01f1bfd2f849b69378928a3440991",
            "converter": "scripts/import_existing_contracts.py@1",
            "fetched_at": "2026-09-29T21:25:55+08:00",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "path_space": "public",
            "policy_revision": "sha256:37b838e24510d5cff2464887bdc63d9553c2c74067ee50b5bdcd1839f69985aa",
            "refresh_policy": "manual",
            "review_period_days": 30,
            "url": "https://github.com/AIsa-team/docs/blob/7783840e4710bb00886143feab84606f8aaea67c/openapi/agentmail.json"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "58fd632bd1d8"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_metrics",
          "path": "/apis/v1/agentmail/metrics"
        },
        "x-aisa-source": {
          "content_hash": "sha256:f59d27b8c3de2a6a8dff0e92545b4363b1f01f1bfd2f849b69378928a3440991",
          "converter": "scripts/import_existing_contracts.py@1",
          "fetched_at": "2026-09-29T21:25:55+08:00",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "path_space": "public",
          "policy_revision": "sha256:37b838e24510d5cff2464887bdc63d9553c2c74067ee50b5bdcd1839f69985aa",
          "refresh_policy": "manual",
          "review_period_days": 30,
          "url": "https://github.com/AIsa-team/docs/blob/7783840e4710bb00886143feab84606f8aaea67c/openapi/agentmail.json"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/metrics",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/threads": {
      "get": {
        "description": "Lists threads, most recent first. Pass `senders`, `recipients`, or\n`subject` to filter by substring. Filtered requests are served by\nsearch, which caps `limit` at 100. For relevance-ranked full-text\nsearch across senders, recipients, subject, and message body, use\n`Search Threads`.\n\n**CLI:**\n```bash\nagentmail threads list\n```",
        "operationId": "get_agentmail_threads",
        "parameters": [
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "description": "用于筛选此时间戳之后数据的时间戳。",
              "format": "date-time",
              "title": "After",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "ascending",
            "required": false,
            "schema": {
              "description": "按时间升序排序。",
              "title": "Ascending",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "before",
            "required": false,
            "schema": {
              "description": "用于筛选的截止时间戳。",
              "format": "date-time",
              "title": "Before",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "include_blocked",
            "required": false,
            "schema": {
              "description": "在结果中包含被屏蔽项。",
              "title": "IncludeBlocked",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "include_spam",
            "required": false,
            "schema": {
              "description": "在结果中包含垃圾邮件。",
              "title": "IncludeSpam",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "include_trash",
            "required": false,
            "schema": {
              "description": "在结果中包含垃圾内容。",
              "title": "IncludeTrash",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "include_unauthenticated",
            "required": false,
            "schema": {
              "description": "在结果中包含未经身份验证的内容。",
              "title": "IncludeUnauthenticated",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "labels",
            "required": false,
            "schema": {
              "description": "用于筛选的标签。",
              "items": {
                "type": "string"
              },
              "title": "Labels",
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          },
          {
            "description": "Filter to threads whose recipients contain this value (substring match). Repeatable; all values must match.",
            "in": "query",
            "name": "recipients",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          {
            "description": "Filter to threads whose senders contain this value (substring match). Repeatable; all values must match.",
            "in": "query",
            "name": "senders",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          {
            "description": "Filter to threads whose subject contains this value (substring match). Repeatable; all values must match.",
            "in": "query",
            "name": "subject",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_ListThreadsResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "列出会话线程",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-threads",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:d0a26f13b064af16303e2b86c6b0c7d4cb93dbe448eb1b5cc7b07233b5047963",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "1b1fa17875fd"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_threads",
          "path": "/apis/v1/agentmail/threads"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/threads",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/threads/search": {
      "get": {
        "description": "Full-text search over threads in **every inbox in the account**. Returns `count`, `limit`, `next_page_token` and `threads`; page with `next_page_token`. Same fields as `get_agentmail_threads`, which is the one to use for everything in date order. This is the organization-wide view spanning every inbox in the account. Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created; the inbox-scoped twin `get_agentmail_inbox_threads_search` is the one to use when a single inbox is meant.",
        "operationId": "get_agentmail_threads_search",
        "parameters": [
          {
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "description": "全文搜索查询。匹配发件人、收件人、\n主题（子字符串）和消息正文（词元化全文）。",
              "title": "Query",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "before",
            "required": false,
            "schema": {
              "description": "用于筛选的截止时间戳。",
              "format": "date-time",
              "title": "Before",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "description": "用于筛选此时间戳之后数据的时间戳。",
              "format": "date-time",
              "title": "After",
              "type": "string"
            }
          },
          {
            "description": "Bearer 身份验证",
            "in": "header",
            "name": "Authorization",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "count": {
                      "description": "返回的项目数量。",
                      "title": "Count",
                      "type": "integer"
                    },
                    "limit": {
                      "description": "返回项目数量的上限。",
                      "title": "Limit",
                      "type": "integer"
                    },
                    "next_page_token": {
                      "description": "用于分页的页面 token。",
                      "title": "PageToken",
                      "type": "string"
                    },
                    "threads": {
                      "description": "按相关性排序，最佳匹配项优先。",
                      "items": {
                        "properties": {
                          "attachments": {
                            "description": "线程中的附件。",
                            "items": {
                              "properties": {
                                "attachment_id": {
                                  "description": "附件 ID。",
                                  "title": "AttachmentId",
                                  "type": "string"
                                },
                                "content_disposition": {
                                  "description": "附件的内容处置方式。",
                                  "enum": [
                                    "inline",
                                    "attachment"
                                  ],
                                  "title": "AttachmentContentDisposition",
                                  "type": "string"
                                },
                                "content_id": {
                                  "description": "附件的内容 ID。",
                                  "title": "AttachmentContentId",
                                  "type": "string"
                                },
                                "content_type": {
                                  "description": "附件的内容类型。",
                                  "title": "AttachmentContentType",
                                  "type": "string"
                                },
                                "filename": {
                                  "description": "附件文件名。",
                                  "title": "AttachmentFilename",
                                  "type": "string"
                                },
                                "size": {
                                  "description": "附件大小（字节）。",
                                  "title": "AttachmentSize",
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "attachment_id",
                                "size"
                              ],
                              "title": "Attachment",
                              "type": "object"
                            },
                            "title": "ThreadAttachments",
                            "type": "array"
                          },
                          "created_at": {
                            "description": "会话串的创建时间。",
                            "format": "date-time",
                            "title": "ThreadCreatedAt",
                            "type": "string"
                          },
                          "highlights": {
                            "description": "每个字段中匹配的片段。仅当查询匹配索引字段时存在。",
                            "properties": {
                              "from": {
                                "description": "线程中发件人地址的匹配片段。",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "recipients": {
                                "description": "与会话中收件人地址（to、cc 或 bcc）匹配的片段。",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "subject": {
                                "description": "主题中匹配的片段。",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "text": {
                                "description": "线程中消息正文的匹配片段。",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "title": "SearchThreadHighlights",
                            "type": "object"
                          },
                          "inbox_id": {
                            "description": "收件箱的 ID。",
                            "title": "InboxId",
                            "type": "string"
                          },
                          "labels": {
                            "description": "会话标签。",
                            "items": {
                              "type": "string"
                            },
                            "title": "ThreadLabels",
                            "type": "array"
                          },
                          "last_message_id": {
                            "description": "会话串中最后一条消息的 ID。",
                            "title": "ThreadLastMessageId",
                            "type": "string"
                          },
                          "message_count": {
                            "description": "会话中的消息数量。",
                            "title": "ThreadMessageCount",
                            "type": "integer"
                          },
                          "preview": {
                            "description": "会话中最后一条消息的文本预览。",
                            "title": "ThreadPreview",
                            "type": "string"
                          },
                          "received_timestamp": {
                            "description": "最后收到消息的时间戳。",
                            "format": "date-time",
                            "title": "ThreadReceivedTimestamp",
                            "type": "string"
                          },
                          "recipients": {
                            "description": "会话中的收件人。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                            "items": {
                              "type": "string"
                            },
                            "title": "ThreadRecipients",
                            "type": "array"
                          },
                          "senders": {
                            "description": "会话中的发件人。格式为 `username@domain.com` 或 `Display Name <username@domain.com>`。",
                            "items": {
                              "type": "string"
                            },
                            "title": "ThreadSenders",
                            "type": "array"
                          },
                          "sent_timestamp": {
                            "description": "最后发送消息的时间戳。",
                            "format": "date-time",
                            "title": "ThreadSentTimestamp",
                            "type": "string"
                          },
                          "size": {
                            "description": "线程大小（以字节为单位）。",
                            "title": "ThreadSize",
                            "type": "integer"
                          },
                          "subject": {
                            "description": "会话主题。",
                            "title": "ThreadSubject",
                            "type": "string"
                          },
                          "thread_id": {
                            "description": "会话 ID。",
                            "title": "ThreadId",
                            "type": "string"
                          },
                          "timestamp": {
                            "description": "最后发送或接收消息的时间戳。",
                            "format": "date-time",
                            "title": "ThreadTimestamp",
                            "type": "string"
                          },
                          "updated_at": {
                            "description": "线程上次更新的时间。",
                            "format": "date-time",
                            "title": "ThreadUpdatedAt",
                            "type": "string"
                          }
                        },
                        "required": [
                          "inbox_id",
                          "thread_id",
                          "labels",
                          "timestamp",
                          "senders",
                          "recipients",
                          "last_message_id",
                          "message_count",
                          "size",
                          "updated_at",
                          "created_at"
                        ],
                        "title": "SearchThreadItem",
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "count",
                    "threads"
                  ],
                  "title": "SearchThreadsResponse",
                  "type": "object"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "errors": {
                      "description": "验证错误。"
                    },
                    "name": {
                      "description": "错误名称。",
                      "title": "ErrorName",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "errors"
                  ],
                  "title": "ValidationErrorResponse",
                  "type": "object"
                }
              }
            },
            "description": "状态码为 400 的错误响应"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "message": {
                      "description": "错误消息。",
                      "title": "ErrorMessage",
                      "type": "string"
                    },
                    "name": {
                      "description": "错误名称。",
                      "title": "ErrorName",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "message"
                  ],
                  "title": "ErrorResponse",
                  "type": "object"
                }
              }
            },
            "description": "状态码为 404 的错误响应"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "summary": "Search All Threads",
        "tags": [
          "AgentMail"
        ],
        "x-aisa-contract-pending": "not_in_runtime_contract",
        "x-aisa-contract-state": "retained_legacy",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-threads-search",
        "x-aisa-status": "disabled"
      }
    },
    "/apis/v1/agentmail/threads/{thread_id}": {
      "delete": {
        "description": "Permanently deletes a thread and all of its messages.\n\n**CLI:**\n```bash\nagentmail threads delete --thread-id <thread_id>\n```\n\nRetrieve, update, or delete an email thread by its ID. Supports fetching thread details, modifying labels, and deleting the thread permanently or moving it to trash.",
        "operationId": "delete_agentmail_thread",
        "parameters": [
          {
            "in": "path",
            "name": "thread_id",
            "required": true,
            "schema": {
              "description": "会话 ID。",
              "title": "ThreadId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {},
            "description": "",
            "x-aisa-no-content": true
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Email Thread",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/delete_agentmail-threads-thread-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:15f49afe0a16f487c1afb361da67e8727da0109e50cbaff432647ae67998cc3a",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "13060c8c3f36"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_thread",
          "path": "/apis/v1/agentmail/threads/{thread_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/threads/{thread_id}",
        "x-aisa-validation": "provider"
      },
      "get": {
        "description": "**CLI:**\n```bash\nagentmail threads get --thread-id <thread_id>\n```\n\nRetrieve, update, or delete an email thread by its ID. Supports fetching thread details, modifying labels, and deleting the thread permanently or moving it to trash.",
        "operationId": "get_agentmail_thread",
        "parameters": [
          {
            "in": "path",
            "name": "thread_id",
            "required": true,
            "schema": {
              "description": "会话 ID。",
              "title": "ThreadId",
              "type": "string"
            }
          },
          {
            "description": "Maximum number of messages to return. Cannot exceed 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "返回项目数量的上限。",
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "Token returned by the previous response for retrieving the next, older page.",
            "in": "query",
            "name": "page_token",
            "required": false,
            "schema": {
              "description": "用于分页的页面 token。",
              "title": "PageToken",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_Thread"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Email Thread",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-threads-thread-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:e719a0324352783ad59f1f7b09ba75406fde51fdaf2ae3048e044e94b66d61c8",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "13060c8c3f36"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_thread",
          "path": "/apis/v1/agentmail/threads/{thread_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/threads/{thread_id}",
        "x-aisa-validation": "provider"
      },
      "patch": {
        "description": "Updates thread labels. Cannot add or remove system labels (sent, received, bounced, etc.). Rejects requests with a `422` for threads with 100 or more messages.\n\nRetrieve, update, or delete an email thread by its ID. Supports fetching thread details, modifying labels, and deleting the thread permanently or moving it to trash.",
        "operationId": "patch_agentmail_thread",
        "parameters": [
          {
            "in": "path",
            "name": "thread_id",
            "required": true,
            "schema": {
              "description": "会话 ID。",
              "title": "ThreadId",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "add_labels": {
                    "description": "要添加到会话串的标签。不能是系统标签。",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "remove_labels": {
                    "description": "要从会话线程中移除的标签。不能是系统标签。优先级高于 `add_labels`（当传入重复标签时）。",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "title": "UpdateThreadRequest",
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_threads_UpdateThreadResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Manage Email Thread",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/patch_agentmail-threads-thread-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:ce067b735d7693f4e427aa373e5ba608be2807c6473e7d94ae7e1a04b72a443f",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "13060c8c3f36"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "delete_agentmail_thread",
          "path": "/apis/v1/agentmail/threads/{thread_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/threads/{thread_id}",
        "x-aisa-validation": "provider"
      }
    },
    "/apis/v1/agentmail/threads/{thread_id}/attachments/{attachment_id}": {
      "get": {
        "description": "**CLI：**\n```bash\nagentmail threads get-attachment --thread-id <thread_id> --attachment-id <attachment_id>\n```",
        "operationId": "get_agentmail_thread_attachment",
        "parameters": [
          {
            "in": "path",
            "name": "attachment_id",
            "required": true,
            "schema": {
              "description": "附件 ID。",
              "title": "AttachmentId",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "thread_id",
            "required": true,
            "schema": {
              "description": "会话 ID。",
              "title": "ThreadId",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseD09F9471A0E8_attachments_AttachmentResponse"
                }
              }
            },
            "description": "状态码为 200 的响应"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "获取附件",
        "tags": [
          "default"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "agentmail",
        "x-aisa-category": "13",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/agentmail/get_agentmail-threads-thread-id-attachments-attachment-id",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "cost_contract": "explicit_zero",
          "customer_pricing": "fixed_success",
          "default_request_estimate_usd": 0.012,
          "estimate_source": "profile_seed",
          "evidence_source": "request_snapshot"
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": true
        },
        "x-aisa-response-source": {
          "content_hash": "sha256:a29903e99e5a43bdbe154fb1cbae2ead779ed90a13849e08e66b92db4e4b050c",
          "kind": "upstream_success_contract",
          "source": {
            "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
            "converter": "scripts/prepare_agentmail_response_reference.py@1",
            "fetched_at": "2026-10-09T05:23:20.481821+00:00",
            "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
            "kind": "manual",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
            "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
            "refresh_policy": "pinned",
            "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
            "response_overrides": [
              "DELETE /v0/api-keys/{api_key_id}",
              "DELETE /v0/domains/{domain_id}",
              "POST /v0/domains/{domain_id}/verify",
              "DELETE /v0/inboxes/{inbox_id}",
              "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
              "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
              "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
              "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
              "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
              "DELETE /v0/lists/{direction}/{type}/{entry}",
              "DELETE /v0/threads/{thread_id}"
            ],
            "retained_request_source": {
              "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
              "converter": "scripts/refresh_upstream.py@2",
              "fetched_at": "2026-10-09T03:31:39.153128+00:00",
              "kind": "provider_openapi",
              "owner": "AIsa-team/docs",
              "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
              "refresh_interval_hours": 24,
              "refresh_policy": "automatic",
              "retained_operations": [
                "GET /v0/providers",
                "GET /v0/providers/search",
                "GET /v0/providers/{provider_id}",
                "GET /v0/providers/{provider_id}/accounts",
                "POST /v0/providers/{provider_id}/connect"
              ],
              "review_period_days": 30,
              "url": "https://docs.agentmail.to/openapi.json"
            },
            "review_period_days": 30,
            "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
            "source_pages": [
              {
                "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
                "scope": "Eleven explicitly declared HTTP 204 success responses only",
                "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
              },
              {
                "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
                "scope": "All other locked request/response/component semantics including five retained operations",
                "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
              }
            ],
            "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
          }
        },
        "x-aisa-revision": {
          "customer_pricing_ref": "4ac6db68e88d",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "f52a1ee8defb"
        },
        "x-aisa-runtime-operation": {
          "method": "ANY",
          "operation_id": "get_agentmail_thread_attachment",
          "path": "/apis/v1/agentmail/threads/{thread_id}/attachments/{attachment_id}"
        },
        "x-aisa-source": {
          "content_hash": "sha256:75da17a0054aa95cb06984c44363aefb64c1367c5db882ad9980e2a6a6548880",
          "converter": "scripts/prepare_agentmail_response_reference.py@1",
          "fetched_at": "2026-10-09T05:23:20.481821+00:00",
          "hosted_status_conflict": "Hosted generated source declares description-only 200; owning pinned fern-openapi output explicitly declares204. Selected formal204 only for eleven reviewed methods; no business-call status verification.",
          "kind": "manual",
          "owner": "AIsa-team/docs",
          "policy_revision": "sha256:1a63cea272cf70d77f8812476de4d5a5bf612e956a5ae693883f472c41bd5fd3",
          "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
          "refresh_policy": "pinned",
          "refresh_reason": "Composite source preserves hosted requests and eleven owning generated 204 responses. Refresh both pinned inputs and independently review before changing either authority.",
          "response_overrides": [
            "DELETE /v0/api-keys/{api_key_id}",
            "DELETE /v0/domains/{domain_id}",
            "POST /v0/domains/{domain_id}/verify",
            "DELETE /v0/inboxes/{inbox_id}",
            "DELETE /v0/inboxes/{inbox_id}/api-keys/{api_key_id}",
            "DELETE /v0/inboxes/{inbox_id}/drafts/{draft_id}",
            "DELETE /v0/inboxes/{inbox_id}/lists/{direction}/{type}/{entry}",
            "DELETE /v0/inboxes/{inbox_id}/messages/{message_id}",
            "DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}",
            "DELETE /v0/lists/{direction}/{type}/{entry}",
            "DELETE /v0/threads/{thread_id}"
          ],
          "retained_request_source": {
            "content_hash": "sha256:cfe34c35024c9f96aaa90ce252972ccdd430dff3643005947ccb4074cc166e12",
            "converter": "scripts/refresh_upstream.py@2",
            "fetched_at": "2026-10-09T03:31:39.153128+00:00",
            "kind": "provider_openapi",
            "owner": "AIsa-team/docs",
            "policy_revision": "sha256:7b1f0a2b05443adf8616f9ad90173721f4caf0dfa4cb1f368dbb7fadf8e7f7d8",
            "refresh_interval_hours": 24,
            "refresh_policy": "automatic",
            "retained_operations": [
              "GET /v0/providers",
              "GET /v0/providers/search",
              "GET /v0/providers/{provider_id}",
              "GET /v0/providers/{provider_id}/accounts",
              "POST /v0/providers/{provider_id}/connect"
            ],
            "review_period_days": 30,
            "url": "https://docs.agentmail.to/openapi.json"
          },
          "review_period_days": 30,
          "source_git_revision": "a7936224861284c48b6a98f731aa5c76b47d1e32",
          "source_pages": [
            {
              "raw_content_hash": "sha256:fc782abbbdacce91c27397a78f3aaa5f2fd3d347d74937600541e799febdf223",
              "scope": "Eleven explicitly declared HTTP 204 success responses only",
              "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
            },
            {
              "raw_content_hash": "sha256:70ec3d05b562a1b19e442480c3c071607e3133780b898db05c1fcf548b7108aa",
              "scope": "All other locked request/response/component semantics including five retained operations",
              "url": "https://raw.githubusercontent.com/AIsa-team/docs/e98e7918260a821397fbd1062da8d1cd9d43bf29/openapi/upstream/agentmail-official.json"
            }
          ],
          "url": "https://raw.githubusercontent.com/agentmail-to/agentmail-docs/a7936224861284c48b6a98f731aa5c76b47d1e32/openapi/openapi.yml"
        },
        "x-aisa-status": "disabled",
        "x-aisa-upstream-path": "/v0/threads/{thread_id}/attachments/{attachment_id}",
        "x-aisa-validation": "provider"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ]
}
