{"openapi":"3.1.0","info":{"title":"Agent Temp Mail","version":"0.3.1","description":"Key-derived addresses receive immediately without registration. Ed25519 signatures authorize private reads and mutations."},"servers":[{"url":"https://agent-temp-mail.com"}],"paths":{"/v1/inboxes":{"post":{"operationId":"configureInbox","summary":"Configure retention for the signing key's permanent address","parameters":[{"name":"X-Mail-Public-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Timestamp","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Nonce","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Signature","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"retention_seconds":{"type":"integer","minimum":3600,"maximum":604800,"default":86400}},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox"}}}},"400":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/inboxes/{address}":{"get":{"operationId":"inspectInbox","summary":"Inspect a permanent address","parameters":[{"name":"X-Mail-Public-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Timestamp","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Nonce","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Signature","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"mail_public_key","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"mail_timestamp","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"mail_nonce","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"mail_signature","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"address","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox"}}}},"400":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"configureInboxCompatibility","summary":"Configure future-message retention","parameters":[{"name":"X-Mail-Public-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Timestamp","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Nonce","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Signature","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"address","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"retention_seconds":{"type":"integer","minimum":3600,"maximum":604800,"default":86400}},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox"}}}},"400":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"purgeInbox","summary":"Purge stored messages and settings","parameters":[{"name":"X-Mail-Public-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Timestamp","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Nonce","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Signature","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"address","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deletion"}}}},"400":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/inboxes/{address}/messages":{"get":{"operationId":"listMessages","summary":"List metadata oldest-first","parameters":[{"name":"X-Mail-Public-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Timestamp","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Nonce","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Signature","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"mail_public_key","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"mail_timestamp","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"mail_nonce","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"mail_signature","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"address","in":"path","required":true,"schema":{"type":"string"}},{"name":"after","schema":{"type":"string"},"in":"query"},{"name":"limit","schema":{"type":"integer","minimum":1,"maximum":50},"in":"query"},{"name":"since","schema":{"type":"string","format":"date-time"},"in":"query"},{"name":"sender","schema":{"type":"string","format":"email"},"in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessagePage"}}}},"400":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/inboxes/{address}/messages/{id}":{"get":{"operationId":"getMessage","summary":"Read untrusted text and candidates","parameters":[{"name":"X-Mail-Public-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Timestamp","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Nonce","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Signature","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"mail_public_key","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"mail_timestamp","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"mail_nonce","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"mail_signature","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"address","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"400":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteMessage","summary":"Delete one message","parameters":[{"name":"X-Mail-Public-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Timestamp","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Nonce","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Signature","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"address","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deletion"}}}},"400":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/inboxes/{address}/candidates":{"get":{"operationId":"getCandidates","summary":"List candidate OTPs and links with sources","parameters":[{"name":"X-Mail-Public-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Timestamp","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Nonce","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"X-Mail-Signature","in":"header","required":false,"schema":{"type":"string"},"description":"Required as a complete set unless a signed GET URL is used."},{"name":"mail_public_key","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"mail_timestamp","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"mail_nonce","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"mail_signature","in":"query","required":false,"schema":{"type":"string"},"description":"GET-only signed URL authentication; provide the complete set."},{"name":"address","in":"path","required":true,"schema":{"type":"string"}},{"name":"after","schema":{"type":"string"},"in":"query"},{"name":"limit","schema":{"type":"integer","minimum":1,"maximum":50},"in":"query"},{"name":"since","schema":{"type":"string","format":"date-time"},"in":"query"},{"name":"sender","schema":{"type":"string","format":"email"},"in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidatePage"}}}},"400":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/bootstrap":{"post":{"operationId":"bootstrap","summary":"Generate an immediately usable key-derived address; server sees the private key","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"salt":{"type":"string","maxLength":256}},"required":[],"additionalProperties":false}}}},"responses":{"201":{"description":"Fresh identity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bootstrap"}}}},"400":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/easy":{"post":{"operationId":"easyToolCall","summary":"Optional server-processed private-key tool interface","description":"new_address needs no Authorization. Other tools use Authorization: Bearer ACCESS_KEY, where ACCESS_KEY is the Ed25519 private key returned during generation.","security":[{"MailboxPrivateKey":[]},{}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"tool":{"const":"new_address"},"arguments":{"type":"object","properties":{},"required":[],"additionalProperties":false}},"required":["tool"],"additionalProperties":false},{"type":"object","properties":{"tool":{"const":"inspect_inbox"},"arguments":{"type":"object","properties":{"address":{"type":"string","description":"Mailbox address. Defaults to the permanent address derived from the signing public key."}},"required":[],"additionalProperties":false}},"required":["tool"],"additionalProperties":false},{"type":"object","properties":{"tool":{"const":"configure_inbox"},"arguments":{"type":"object","properties":{"retention_seconds":{"type":"integer","minimum":3600,"maximum":604800,"description":"Lifetime of newly received messages. Default 86400 (24 hours). The address itself does not expire."}},"required":[],"additionalProperties":false}},"required":["tool"],"additionalProperties":false},{"type":"object","properties":{"tool":{"const":"purge_inbox"},"arguments":{"type":"object","properties":{"address":{"type":"string","description":"Mailbox address. Defaults to the permanent address derived from the signing public key."}},"required":[],"additionalProperties":false}},"required":["tool"],"additionalProperties":false},{"type":"object","properties":{"tool":{"const":"list_messages"},"arguments":{"type":"object","properties":{"address":{"type":"string","description":"Mailbox address. Defaults to the permanent address derived from the signing public key."},"after":{"type":"string","description":"Opaque cursor from the previous response. Keep filters unchanged while paging."},"limit":{"type":"integer","minimum":1,"maximum":50,"default":20},"since":{"type":"string","format":"date-time","description":"Inclusive arrival time, ISO 8601 with timezone."},"sender":{"type":"string","description":"Exact From email address; not proof of authenticity."}},"required":[],"additionalProperties":false}},"required":["tool"],"additionalProperties":false},{"type":"object","properties":{"tool":{"const":"get_message"},"arguments":{"type":"object","properties":{"address":{"type":"string","description":"Mailbox address. Defaults to the permanent address derived from the signing public key."},"message_id":{"type":"string"}},"required":["message_id"],"additionalProperties":false}},"required":["tool"],"additionalProperties":false},{"type":"object","properties":{"tool":{"const":"get_candidates"},"arguments":{"type":"object","properties":{"address":{"type":"string","description":"Mailbox address. Defaults to the permanent address derived from the signing public key."},"after":{"type":"string","description":"Opaque cursor from the previous response. Keep filters unchanged while paging."},"limit":{"type":"integer","minimum":1,"maximum":50,"default":20},"since":{"type":"string","format":"date-time","description":"Inclusive arrival time, ISO 8601 with timezone."},"sender":{"type":"string","description":"Exact From email address; not proof of authenticity."}},"required":[],"additionalProperties":false}},"required":["tool"],"additionalProperties":false},{"type":"object","properties":{"tool":{"const":"delete_message"},"arguments":{"type":"object","properties":{"address":{"type":"string","description":"Mailbox address. Defaults to the permanent address derived from the signing public key."},"message_id":{"type":"string"}},"required":["message_id"],"additionalProperties":false}},"required":["tool"],"additionalProperties":false}]}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EasyResult"}}}},"201":{"description":"New immediately usable identity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EasyCreation"}}}},"400":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured service error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/health":{"get":{"operationId":"health","summary":"Worker liveness","responses":{"200":{"description":"Worker response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"service":{"type":"string"},"version":{"type":"string"},"server_time":{"type":"string"}},"required":[],"additionalProperties":false}}}}}}}},"components":{"securitySchemes":{"MailboxPrivateKey":{"type":"http","scheme":"bearer","bearerFormat":"Ed25519 PKCS8 base64url","description":"Convenience mode only; prefer local signing."}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retry_after_seconds":{"type":"integer"}},"required":["code","message"],"additionalProperties":false},"server_time":{"type":"string"}},"required":["error","server_time"],"additionalProperties":false},"Inbox":{"type":"object","properties":{"address":{"type":"string"},"created_at":{"type":["string","null"],"format":"date-time"},"expires_at":{"type":"null"},"persistent":{"const":true},"accepting_mail":{"const":true},"storage_initialized":{"type":"boolean"},"retention_seconds":{"type":"integer"},"stored_message_count":{"type":"integer"},"stored_bytes":{"type":"integer"},"limits":{"type":"object","properties":{"messages":{"type":"integer"},"bytes":{"type":"integer"}},"required":[],"additionalProperties":false},"poll_after_seconds":{"type":"integer"},"note":{"type":"string"}},"required":["address","persistent","accepting_mail","retention_seconds"],"additionalProperties":false},"Deletion":{"type":"object","properties":{"deleted":{"type":"boolean"},"address":{"type":"string"},"id":{"type":"string"},"accepting_mail":{"type":"boolean"},"note":{"type":"string"}},"required":["deleted"],"additionalProperties":false},"Candidates":{"type":"object","properties":{"source_message_id":{"type":"string"},"otp_codes":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"context":{"type":"string"},"kind":{"type":"string"}},"required":[],"additionalProperties":false}},"links":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"likely_verification":{"type":"boolean"}},"required":[],"additionalProperties":false}}},"required":[],"additionalProperties":false},"MessageSummary":{"type":"object","properties":{"id":{"type":"string"},"inbox":{"type":"string"},"sender":{"type":"string"},"envelope_from":{"type":"string"},"subject":{"type":"string"},"received_at":{"type":"string"},"expires_at":{"type":"string"},"truncated":{"type":"boolean"},"attachments_removed":{"type":"boolean"}},"required":["id","inbox","sender","subject","received_at","expires_at"],"additionalProperties":false},"Message":{"allOf":[{"$ref":"#/components/schemas/MessageSummary"},{"type":"object","properties":{"text":{"type":"string"},"candidates":{"$ref":"#/components/schemas/Candidates"},"untrusted":{"const":true},"warning":{"type":"string"}},"required":[],"additionalProperties":false}]},"MessagePage":{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#/components/schemas/MessageSummary"}},"after":{"type":"string"},"has_more":{"type":"boolean"},"poll_after_seconds":{"type":"integer"},"untrusted":{"const":true},"warning":{"type":"string"}},"required":[],"additionalProperties":false},"CandidatePage":{"type":"object","properties":{"messages":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/MessageSummary"},{"type":"object","properties":{"candidates":{"$ref":"#/components/schemas/Candidates"}},"required":[],"additionalProperties":false}]}},"after":{"type":"string"},"has_more":{"type":"boolean"},"poll_after_seconds":{"type":"integer"},"untrusted":{"const":true},"warning":{"type":"string"}},"required":[],"additionalProperties":false},"Bootstrap":{"type":"object","properties":{"public_key":{"type":"string"},"private_key_pkcs8":{"type":"string"},"address":{"type":"string"},"ready_to_receive":{"const":true},"warning":{"type":"string"}},"required":["public_key","private_key_pkcs8","address","ready_to_receive","warning"],"additionalProperties":false},"EasySecurity":{"type":"object","properties":{"mode":{"const":"server_processed_key"},"key_persisted_by_application":{"const":false},"warning":{"type":"string"}},"required":[],"additionalProperties":false},"EasyResult":{"type":"object","properties":{"result":{},"security":{"$ref":"#/components/schemas/EasySecurity"}},"required":["result","security"],"additionalProperties":false},"EasyCreation":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/Inbox"},"access_key":{"type":"string"},"public_key":{"type":"string"},"security":{"$ref":"#/components/schemas/EasySecurity"}},"required":["result","access_key","public_key","security"],"additionalProperties":false}}}}