{
  "components": {
    "headers": {
      "RateLimitLimit": {
        "description": "Messages this API key may spend in one 60-second window.",
        "schema": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "RateLimitRemaining": {
        "description": "Messages left in the current window.",
        "schema": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "RateLimitReset": {
        "description": "Seconds until the current window resets and the budget refills.",
        "schema": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "RetryAfter": {
        "description": "Seconds to wait before retrying. Present on every refusal the catalog marks retryable — and deliberately absent on one it does not, because a refusal waiting cannot cure must never hand a client a wait hint.",
        "schema": {
          "minimum": 1,
          "type": "integer"
        }
      }
    },
    "parameters": {
      "IdempotencyKey": {
        "description": "Makes this call safe to retry. Send the same key with the same body and the original response is replayed instead of the work happening twice. Keys are 1-256 characters and are remembered for 7 days. While the first attempt is still running, a second call with that key returns 409 idempotency_in_flight (Resend calls this concurrent_idempotent_requests); the same key with a different body returns 409 idempotency_payload_mismatch (Resend: invalid_idempotent_request).",
        "in": "header",
        "name": "Idempotency-Key",
        "required": false,
        "schema": {
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        }
      }
    },
    "schemas": {
      "DeleteAccountReply": {
        "properties": {
          "closed_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "data_removed_after": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "keys_revoked": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "retention_days": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "status": {
            "const": "suspended",
            "type": "string"
          }
        },
        "required": [
          "status",
          "closed_at",
          "keys_revoked",
          "retention_days",
          "data_removed_after"
        ],
        "type": "object"
      },
      "DeleteApi_keysBy_idReply": {
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "deleted"
        ],
        "type": "object"
      },
      "DeleteContactsBy_idReply": {
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "deleted"
        ],
        "type": "object"
      },
      "DeleteDedicated_ipsBy_idReply": {
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "deleted"
        ],
        "type": "object"
      },
      "DeleteDomainsBy_idReply": {
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "deleted"
        ],
        "type": "object"
      },
      "DeleteEventsBy_idReply": {
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "deleted"
        ],
        "type": "object"
      },
      "DeleteSegmentsBy_idReply": {
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "deleted"
        ],
        "type": "object"
      },
      "DeleteSuppressionsBy_idReply": {
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "deleted"
        ],
        "type": "object"
      },
      "DeleteTeamInvitesBy_idReply": {
        "properties": {
          "cancelled": {
            "const": true,
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "cancelled"
        ],
        "type": "object"
      },
      "DeleteTeamMembersBy_idReply": {
        "properties": {
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "removed": {
            "const": true,
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "removed"
        ],
        "type": "object"
      },
      "DeleteTopicsBy_idReply": {
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "deleted"
        ],
        "type": "object"
      },
      "DeleteWebhooksBy_idReply": {
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "deleted"
        ],
        "type": "object"
      },
      "GetAccountReply": {
        "properties": {
          "approval_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "onboarding": {
            "properties": {
              "company": {
                "type": "string"
              },
              "completed_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "contact_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "expected_volume": {
                "anyOf": [
                  {
                    "enum": [
                      "under_30k",
                      "30k_100k",
                      "100k_1m",
                      "over_1m"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "use_cases": {
                "items": {
                  "enum": [
                    "transactional",
                    "product_lifecycle",
                    "ai_agents"
                  ],
                  "type": "string"
                },
                "type": "array"
              },
              "website": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "website_domain": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "contact_name",
              "company",
              "website",
              "website_domain",
              "use_cases",
              "expected_volume",
              "completed_at"
            ],
            "type": "object"
          },
          "status": {
            "enum": [
              "sandboxed",
              "approved",
              "suspended"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "status",
          "approval_reason",
          "created_at",
          "onboarding"
        ],
        "type": "object"
      },
      "GetAgent_actionsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "decided_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "decided_by": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "decision_reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "kind": {
                  "type": "string"
                },
                "payload": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "preview": {
                  "properties": {
                    "api_key_id": {
                      "anyOf": [
                        {
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "first_recipients": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "held_reason": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "html": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "subject": {
                      "type": "string"
                    },
                    "text": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "to_count": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "to_count",
                    "subject",
                    "html",
                    "text",
                    "first_recipients",
                    "api_key_id",
                    "held_reason"
                  ],
                  "type": "object"
                },
                "state": {
                  "enum": [
                    "pending",
                    "approved",
                    "rejected",
                    "killed"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "id",
                "kind",
                "state",
                "payload",
                "preview",
                "decided_by",
                "decision_reason",
                "decided_at",
                "created_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetApi_keysReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "budget_per_period": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "domain_scope": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "expires_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "last_used_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "type": "string"
                },
                "period": {
                  "enum": [
                    "hourly",
                    "daily",
                    "monthly"
                  ],
                  "type": "string"
                },
                "permission": {
                  "enum": [
                    "full_access",
                    "sending_access"
                  ],
                  "type": "string"
                },
                "previous_key_expires_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "rate_ceiling_per_minute": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "request_count_30d": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "rotated_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "scopes": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "system": {
                  "type": "boolean"
                },
                "token_prefix": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "permission",
                "domain_scope",
                "scopes",
                "expires_at",
                "token_prefix",
                "system",
                "created_at",
                "last_used_at",
                "request_count_30d",
                "rotated_at",
                "previous_key_expires_at",
                "budget_per_period",
                "period",
                "rate_ceiling_per_minute"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetAudit_logReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "account_id": {
                  "anyOf": [
                    {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "action": {
                  "type": "string"
                },
                "actor_email": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "actor_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "actor_type": {
                  "type": "string"
                },
                "actor_user_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "after": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "before": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "target_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "target_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "account_id",
                "actor_type",
                "actor_id",
                "actor_user_id",
                "actor_email",
                "action",
                "target_type",
                "target_id",
                "before",
                "after",
                "reason",
                "created_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetAutomationsBy_idRunsBy_run_idReply": {
        "properties": {
          "automation_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "contact_id": {
            "anyOf": [
              {
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "event_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "finished_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "started_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "status": {
            "enum": [
              "running",
              "succeeded",
              "failed"
            ],
            "type": "string"
          },
          "steps": {
            "items": {
              "properties": {
                "error": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "finished_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "index": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "kind": {
                  "type": "string"
                },
                "output": {
                  "anyOf": [
                    {
                      "additionalProperties": {},
                      "propertyNames": {
                        "type": "string"
                      },
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "started_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "succeeded",
                    "skipped",
                    "failed"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "index",
                "kind",
                "status",
                "output",
                "error",
                "started_at",
                "finished_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "trigger_type": {
            "type": "string"
          },
          "version_number": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "automation_id",
          "version_number",
          "trigger_type",
          "event_name",
          "contact_id",
          "status",
          "started_at",
          "finished_at"
        ],
        "type": "object"
      },
      "GetAutomationsBy_idRunsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "automation_id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "contact_id": {
                  "anyOf": [
                    {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "event_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "finished_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "started_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "running",
                    "succeeded",
                    "failed"
                  ],
                  "type": "string"
                },
                "steps": {
                  "items": {
                    "properties": {
                      "error": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "finished_at": {
                        "anyOf": [
                          {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "index": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "kind": {
                        "type": "string"
                      },
                      "output": {
                        "anyOf": [
                          {
                            "additionalProperties": {},
                            "propertyNames": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "started_at": {
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                        "type": "string"
                      },
                      "status": {
                        "enum": [
                          "succeeded",
                          "skipped",
                          "failed"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "index",
                      "kind",
                      "status",
                      "output",
                      "error",
                      "started_at",
                      "finished_at"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "trigger_type": {
                  "type": "string"
                },
                "version_number": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "automation_id",
                "version_number",
                "trigger_type",
                "event_name",
                "contact_id",
                "status",
                "started_at",
                "finished_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetAutomationsBy_idVersionsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "steps": {
                  "items": {},
                  "type": "array"
                },
                "trigger": {
                  "properties": {
                    "event_name": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string"
                    },
                    "interval_minutes": {
                      "maximum": 9007199254740991,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "segment_id": {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "custom_event",
                        "contact.created",
                        "contact.updated",
                        "segment.joined",
                        "segment.left",
                        "scheduled"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": "object"
                },
                "version_number": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "id",
                "version_number",
                "trigger",
                "steps",
                "created_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetAutomationsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "current_version": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                },
                "steps": {
                  "items": {},
                  "type": "array"
                },
                "trigger": {
                  "properties": {
                    "event_name": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string"
                    },
                    "interval_minutes": {
                      "maximum": 9007199254740991,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "segment_id": {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "custom_event",
                        "contact.created",
                        "contact.updated",
                        "segment.joined",
                        "segment.left",
                        "scheduled"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": "object"
                },
                "updated_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "status",
                "trigger",
                "steps",
                "current_version",
                "created_at",
                "updated_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetBillingPlanReply": {
        "properties": {
          "billing_configured": {
            "type": "boolean"
          },
          "billing_term": {
            "anyOf": [
              {
                "enum": [
                  "month",
                  "year"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "entitlements": {
            "properties": {
              "included_emails_per_month": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "max_domains": {
                "anyOf": [
                  {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "max_seats": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "overage_minor_per_1000_emails": {
                "anyOf": [
                  {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "retention_days": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "tier": {
                "enum": [
                  "none",
                  "starter",
                  "pro",
                  "scale"
                ],
                "type": "string"
              }
            },
            "required": [
              "tier",
              "included_emails_per_month",
              "retention_days",
              "max_domains",
              "max_seats",
              "overage_minor_per_1000_emails"
            ],
            "type": "object"
          },
          "needs_plan_selection": {
            "type": "boolean"
          },
          "plan_status": {
            "enum": [
              "none",
              "trialing",
              "active",
              "past_due",
              "canceled"
            ],
            "type": "string"
          },
          "plans": {
            "items": {
              "properties": {
                "featured": {
                  "type": "boolean"
                },
                "included_emails_per_month": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "max_domains": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "max_seats": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "prices": {
                  "properties": {
                    "month": {
                      "properties": {
                        "discount_percent": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "months": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "per_month_minor": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "total_minor": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "per_month_minor",
                        "total_minor",
                        "months",
                        "discount_percent"
                      ],
                      "type": "object"
                    },
                    "year": {
                      "properties": {
                        "discount_percent": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "months": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "per_month_minor": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "total_minor": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "per_month_minor",
                        "total_minor",
                        "months",
                        "discount_percent"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "month",
                    "year"
                  ],
                  "type": "object"
                },
                "retention_days": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "tier": {
                  "enum": [
                    "starter",
                    "pro",
                    "scale"
                  ],
                  "type": "string"
                },
                "trial_eligible": {
                  "type": "boolean"
                }
              },
              "required": [
                "tier",
                "name",
                "featured",
                "trial_eligible",
                "included_emails_per_month",
                "max_domains",
                "max_seats",
                "retention_days",
                "prices"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "purchasable": {
            "items": {
              "properties": {
                "included_emails_per_month": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "monthly_price_minor": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "tier": {
                  "enum": [
                    "starter",
                    "pro",
                    "scale"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "tier",
                "monthly_price_minor",
                "included_emails_per_month"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "subscription": {
            "anyOf": [
              {
                "properties": {
                  "cancel_at_period_end": {
                    "type": "boolean"
                  },
                  "current_period_end": {
                    "anyOf": [
                      {
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "price_lookup_key": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "type": "string"
                  }
                },
                "required": [
                  "status",
                  "price_lookup_key",
                  "current_period_end",
                  "cancel_at_period_end"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "terms_on_sale": {
            "items": {
              "enum": [
                "month",
                "year"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "tier": {
            "enum": [
              "none",
              "starter",
              "pro",
              "scale"
            ],
            "type": "string"
          },
          "trial": {
            "properties": {
              "days": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "days_left": {
                "anyOf": [
                  {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "eligible": {
                "type": "boolean"
              },
              "email_cap": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "emails_used": {
                "anyOf": [
                  {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "ends_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "started_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "eligible",
              "days",
              "started_at",
              "ends_at",
              "days_left",
              "emails_used",
              "email_cap"
            ],
            "type": "object"
          },
          "viewer": {
            "properties": {
              "can_purchase": {
                "type": "boolean"
              },
              "can_start_trial": {
                "type": "boolean"
              },
              "role": {
                "anyOf": [
                  {
                    "enum": [
                      "owner",
                      "admin",
                      "viewer"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "role",
              "can_purchase",
              "can_start_trial"
            ],
            "type": "object"
          }
        },
        "required": [
          "tier",
          "plan_status",
          "needs_plan_selection",
          "billing_term",
          "entitlements",
          "subscription",
          "billing_configured",
          "trial",
          "terms_on_sale",
          "plans",
          "viewer",
          "purchasable"
        ],
        "type": "object"
      },
      "GetBillingReply": {
        "properties": {
          "currency": {
            "type": "string"
          },
          "limits": {
            "items": {
              "properties": {
                "at_limit": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "limit": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "metric": {
                  "enum": [
                    "emails_per_month",
                    "domains",
                    "seats",
                    "retention_days"
                  ],
                  "type": "string"
                },
                "unit": {
                  "type": "string"
                },
                "used": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "metric",
                "label",
                "used",
                "limit",
                "unit",
                "at_limit"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "next_tier": {
            "anyOf": [
              {
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "included_emails_per_month": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "max_domains": {
                    "anyOf": [
                      {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "max_seats": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "monthly_price_minor": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  },
                  "overage_minor_per_1000_emails": {
                    "anyOf": [
                      {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "retention_days": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  }
                },
                "required": [
                  "id",
                  "name",
                  "monthly_price_minor",
                  "included_emails_per_month",
                  "max_domains",
                  "max_seats",
                  "retention_days",
                  "overage_minor_per_1000_emails"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "overage": {
            "properties": {
              "auto_charges": {
                "const": false,
                "type": "boolean"
              },
              "policy": {
                "const": "pause",
                "type": "string"
              },
              "text": {
                "type": "string"
              }
            },
            "required": [
              "policy",
              "text",
              "auto_charges"
            ],
            "type": "object"
          },
          "payment": {
            "properties": {
              "text": {
                "type": "string"
              },
              "writes_enabled": {
                "type": "boolean"
              }
            },
            "required": [
              "writes_enabled",
              "text"
            ],
            "type": "object"
          },
          "period": {
            "properties": {
              "days": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "resets_at": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              "started_at": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              }
            },
            "required": [
              "started_at",
              "resets_at",
              "days"
            ],
            "type": "object"
          },
          "plan": {
            "properties": {
              "id": {
                "type": "string"
              },
              "included_emails_per_month": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "max_domains": {
                "anyOf": [
                  {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "max_seats": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "monthly_price_minor": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "overage_minor_per_1000_emails": {
                "anyOf": [
                  {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "retention_days": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              }
            },
            "required": [
              "id",
              "name",
              "monthly_price_minor",
              "included_emails_per_month",
              "max_domains",
              "max_seats",
              "retention_days",
              "overage_minor_per_1000_emails"
            ],
            "type": "object"
          },
          "pricing_document_version": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          }
        },
        "required": [
          "currency",
          "pricing_document_version",
          "plan",
          "period",
          "limits",
          "overage",
          "next_tier",
          "payment"
        ],
        "type": "object"
      },
      "GetBroadcastsBy_idMessagesReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "contact_id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "message_id": {
                  "anyOf": [
                    {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "state": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "contact_id",
                "message_id",
                "state",
                "created_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetBroadcastsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "archived_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "content": {
                  "anyOf": [
                    {
                      "additionalProperties": {},
                      "propertyNames": {
                        "type": "string"
                      },
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "from_address": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "scheduled_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "segment_id": {
                  "anyOf": [
                    {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "sent_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "sent_count": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "status": {
                  "type": "string"
                },
                "subject": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "template_id": {
                  "anyOf": [
                    {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "updated_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "status",
                "from_address",
                "template_id",
                "segment_id",
                "subject",
                "content",
                "scheduled_at",
                "sent_at",
                "sent_count",
                "archived_at",
                "created_at",
                "updated_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetContactsBy_idTopicsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "basis": {
                  "enum": [
                    "explicit",
                    "default"
                  ],
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "source": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "subscribed": {
                  "type": "boolean"
                },
                "updated_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "name",
                "subscribed",
                "basis",
                "source",
                "updated_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetContactsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "properties": {
                  "additionalProperties": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "property_types": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "status": {
                  "type": "string"
                },
                "updated_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "email",
                "status",
                "properties",
                "property_types",
                "created_at",
                "updated_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetDedicated_ipsRampReply": {
        "properties": {
          "curve": {
            "items": {
              "properties": {
                "percent": {
                  "type": "number"
                },
                "up_to_day": {
                  "type": "number"
                }
              },
              "required": [
                "up_to_day",
                "percent"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "curve"
        ],
        "type": "object"
      },
      "GetDedicated_ipsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "ip": {
                  "type": "string"
                },
                "region": {
                  "type": "string"
                },
                "started_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "state": {
                  "type": "string"
                },
                "warmup_percent": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "id",
                "ip",
                "region",
                "state",
                "started_at",
                "warmup_percent",
                "created_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetDedicated_ipsRoute_decisionBy_messageIdReply": {
        "properties": {
          "ip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "route": {
            "enum": [
              "shared",
              "dedicated"
            ],
            "type": "string"
          },
          "warmup_percent": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "route",
          "ip",
          "warmup_percent"
        ],
        "type": "object"
      },
      "GetDeliverabilityDmarcReply": {
        "properties": {
          "alignment_failure_threshold": {
            "type": "number"
          },
          "days": {
            "items": {
              "properties": {
                "aligned": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "day": {
                  "type": "string"
                },
                "domain": {
                  "type": "string"
                },
                "failing": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "failure_rate": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "total": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "domain",
                "day",
                "total",
                "aligned",
                "failing",
                "failure_rate"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "sources": {
            "items": {
              "properties": {
                "aligned": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "domain": {
                  "type": "string"
                },
                "failing": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "last_seen_day": {
                  "type": "string"
                },
                "message_count": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "ours": {
                  "type": "boolean"
                },
                "source_ip": {
                  "type": "string"
                }
              },
              "required": [
                "domain",
                "source_ip",
                "message_count",
                "aligned",
                "failing",
                "ours",
                "last_seen_day"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "window_days": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          }
        },
        "required": [
          "window_days",
          "alignment_failure_threshold",
          "days",
          "sources"
        ],
        "type": "object"
      },
      "GetDeliverabilityDomainsBy_idReply": {
        "properties": {
          "blocklists": {
            "additionalProperties": {},
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "bounce_classes": {
            "items": {
              "properties": {
                "class": {
                  "enum": [
                    "hard",
                    "soft",
                    "block",
                    "policy"
                  ],
                  "type": "string"
                },
                "count": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "remediation": {
                  "properties": {
                    "docs_anchor": {
                      "type": "string"
                    },
                    "fix": {
                      "type": "string"
                    },
                    "meaning": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "meaning",
                    "fix",
                    "docs_anchor"
                  ],
                  "type": "object"
                },
                "share": {
                  "type": "number"
                }
              },
              "required": [
                "class",
                "count",
                "share",
                "remediation"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "domain_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "domain_name": {
            "type": "string"
          },
          "live": {
            "properties": {
              "bounce_rate": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bounced": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "click_rate": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clicked": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "complained": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "complaint_rate": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "delivered": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "open_rate": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "opened": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "sent": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              }
            },
            "required": [
              "sent",
              "delivered",
              "bounced",
              "complained",
              "opened",
              "clicked",
              "bounce_rate",
              "complaint_rate",
              "open_rate",
              "click_rate"
            ],
            "type": "object"
          },
          "postmaster": {
            "additionalProperties": {},
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "snapshots": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "rates": {
                  "properties": {
                    "bounce_rate": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bounced": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "click_rate": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "clicked": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "complained": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "complaint_rate": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "delivered": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "open_rate": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "opened": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "sent": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "sent",
                    "delivered",
                    "bounced",
                    "complained",
                    "opened",
                    "clicked",
                    "bounce_rate",
                    "complaint_rate",
                    "open_rate",
                    "click_rate"
                  ],
                  "type": "object"
                },
                "snapshot_date": {
                  "type": "string"
                }
              },
              "required": [
                "snapshot_date",
                "rates",
                "created_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "standing": {
            "enum": [
              "no_data",
              "ok",
              "warning",
              "over_limit"
            ],
            "type": "string"
          },
          "thresholds": {
            "properties": {
              "bounce": {
                "properties": {
                  "limit": {
                    "type": "number"
                  },
                  "warn": {
                    "type": "number"
                  }
                },
                "required": [
                  "warn",
                  "limit"
                ],
                "type": "object"
              },
              "complaint": {
                "properties": {
                  "limit": {
                    "type": "number"
                  },
                  "warn": {
                    "type": "number"
                  }
                },
                "required": [
                  "warn",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "bounce",
              "complaint"
            ],
            "type": "object"
          },
          "top_recipient_domains": {
            "items": {
              "properties": {
                "bounce_rate": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "bounced": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "domain": {
                  "type": "string"
                },
                "sent": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "top_reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "domain",
                "sent",
                "bounced",
                "bounce_rate",
                "top_reason"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "window_days": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          }
        },
        "required": [
          "domain_id",
          "domain_name",
          "window_days",
          "standing",
          "thresholds",
          "live",
          "snapshots",
          "bounce_classes",
          "top_recipient_domains",
          "postmaster",
          "blocklists"
        ],
        "type": "object"
      },
      "GetDeliverabilityDomainsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "bounce_rate": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "complaint_rate": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "sent": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "standing": {
                  "enum": [
                    "no_data",
                    "ok",
                    "warning",
                    "over_limit"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "standing",
                "bounce_rate",
                "complaint_rate",
                "sent"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "thresholds": {
            "properties": {
              "bounce": {
                "properties": {
                  "limit": {
                    "type": "number"
                  },
                  "warn": {
                    "type": "number"
                  }
                },
                "required": [
                  "warn",
                  "limit"
                ],
                "type": "object"
              },
              "complaint": {
                "properties": {
                  "limit": {
                    "type": "number"
                  },
                  "warn": {
                    "type": "number"
                  }
                },
                "required": [
                  "warn",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "bounce",
              "complaint"
            ],
            "type": "object"
          },
          "window_days": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          }
        },
        "required": [
          "window_days",
          "thresholds",
          "data"
        ],
        "type": "object"
      },
      "GetDomainsBy_idConnectReply": {
        "properties": {
          "deep_link": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "detected": {
            "type": "boolean"
          },
          "domain": {
            "type": "string"
          },
          "nameservers": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "provider": {
            "anyOf": [
              {
                "properties": {
                  "dnsConsoleUrl": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name",
                  "dnsConsoleUrl"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "records": {
            "items": {
              "properties": {
                "name": {
                  "type": "string"
                },
                "name_relative": {
                  "type": "string"
                },
                "record": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "record",
                "name",
                "name_relative",
                "type",
                "value"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "domain",
          "detected",
          "provider",
          "nameservers",
          "records",
          "deep_link"
        ],
        "type": "object"
      },
      "GetDomainsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "click_tracking": {
                  "type": "boolean"
                },
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "dkim_selector": {
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "open_tracking": {
                  "type": "boolean"
                },
                "region": {
                  "enum": [
                    "us",
                    "eu"
                  ],
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "pending",
                    "verified",
                    "failed",
                    "partially_verified",
                    "partially_failed"
                  ],
                  "type": "string"
                },
                "tracking_subdomain": {
                  "type": "string"
                },
                "verified_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "name",
                "region",
                "status",
                "dkim_selector",
                "click_tracking",
                "open_tracking",
                "tracking_subdomain",
                "created_at",
                "verified_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetEmailsBy_idAttachmentsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "bytes_available": {
                  "type": "boolean"
                },
                "content_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "content_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "filename": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "path": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "size_bytes": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "filename",
                "content_type",
                "size_bytes",
                "content_id",
                "path",
                "bytes_available"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetEmailsBy_idEventsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "detail": {
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "occurred_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "provider_message_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "type",
                "occurred_at",
                "detail",
                "provider_message_id"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetEmailsBy_idExplainReply": {
        "properties": {
          "actions": {
            "items": {
              "properties": {
                "call": {
                  "properties": {
                    "body": {
                      "additionalProperties": {},
                      "propertyNames": {
                        "type": "string"
                      },
                      "type": "object"
                    },
                    "method": {
                      "enum": [
                        "POST",
                        "PATCH",
                        "DELETE",
                        "GET"
                      ],
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "method",
                    "path"
                  ],
                  "type": "object"
                },
                "do": {
                  "type": "string"
                }
              },
              "required": [
                "do"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "evidence": {
            "additionalProperties": {},
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "retryable": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "verdict": {
            "type": "string"
          },
          "what_happened": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "verdict",
          "what_happened",
          "evidence",
          "retryable",
          "actions"
        ],
        "type": "object"
      },
      "GetEmailsBy_idMimeReply": {
        "type": "string"
      },
      "GetEmailsBy_idReply": {
        "properties": {
          "api_key_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "attachments": {
            "anyOf": [
              {
                "items": {
                  "properties": {
                    "content_id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "content_type": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "filename": {
                      "type": "string"
                    },
                    "path": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "size_bytes": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "filename",
                    "content_type",
                    "content_id",
                    "size_bytes",
                    "path"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          },
          "bcc": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          },
          "cc": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "from": {
            "type": "string"
          },
          "headers": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "propertyNames": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "html": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "last_event": {
            "anyOf": [
              {
                "enum": [
                  "queued",
                  "scheduled",
                  "sent",
                  "delivered",
                  "delivery_delayed",
                  "bounced",
                  "complained",
                  "opened",
                  "clicked",
                  "failed",
                  "canceled",
                  "suppressed"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider_message_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "reply_to": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "enum": [
              "queued",
              "scheduled",
              "sent",
              "delivered",
              "delivery_delayed",
              "bounced",
              "complained",
              "opened",
              "clicked",
              "failed",
              "canceled",
              "suppressed"
            ],
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "tags": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "propertyNames": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "template_id": {
            "anyOf": [
              {
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "template_version": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "to": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "updated_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "warnings": {
            "items": {
              "properties": {
                "code": {
                  "type": "string"
                },
                "fix": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "required": [
                "code",
                "message",
                "fix"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "from",
          "to",
          "cc",
          "bcc",
          "reply_to",
          "subject",
          "html",
          "text",
          "headers",
          "tags",
          "attachments",
          "scheduled_at",
          "status",
          "last_event",
          "provider_message_id",
          "api_key_id",
          "template_id",
          "template_version",
          "domain",
          "created_at",
          "updated_at",
          "warnings"
        ],
        "type": "object"
      },
      "GetEmailsReceivingBy_idAttachmentsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "content_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "content_type": {
                  "type": "string"
                },
                "filename": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "size_bytes": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "id",
                "filename",
                "content_type",
                "size_bytes",
                "content_id"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetEmailsReceivingBy_idReply": {
        "properties": {
          "attachment_count": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "attachments": {
            "items": {
              "properties": {
                "content_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "content_type": {
                  "type": "string"
                },
                "filename": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "size_bytes": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "id",
                "filename",
                "content_type",
                "size_bytes",
                "content_id"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "from": {
            "type": "string"
          },
          "headers": {
            "additionalProperties": {
              "type": "string"
            },
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "html": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "received_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "size_bytes": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "to": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "from",
          "to",
          "subject",
          "received_at",
          "size_bytes",
          "attachment_count",
          "headers",
          "text",
          "html",
          "attachments"
        ],
        "type": "object"
      },
      "GetEmailsReceivingReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "attachment_count": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "from": {
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "received_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "size_bytes": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "subject": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "to": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "from",
                "to",
                "subject",
                "received_at",
                "size_bytes",
                "attachment_count"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetEmailsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "api_key_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "attachments": {
                  "anyOf": [
                    {
                      "items": {
                        "properties": {
                          "content_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_type": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "filename": {
                            "type": "string"
                          },
                          "path": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "size_bytes": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "filename",
                          "content_type",
                          "content_id",
                          "size_bytes",
                          "path"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "bcc": {
                  "anyOf": [
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cc": {
                  "anyOf": [
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "domain": {
                  "type": "string"
                },
                "from": {
                  "type": "string"
                },
                "headers": {
                  "anyOf": [
                    {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "propertyNames": {
                        "type": "string"
                      },
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "html": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "last_event": {
                  "anyOf": [
                    {
                      "enum": [
                        "queued",
                        "scheduled",
                        "sent",
                        "delivered",
                        "delivery_delayed",
                        "bounced",
                        "complained",
                        "opened",
                        "clicked",
                        "failed",
                        "canceled",
                        "suppressed"
                      ],
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "provider_message_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "reply_to": {
                  "anyOf": [
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "scheduled_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "status": {
                  "enum": [
                    "queued",
                    "scheduled",
                    "sent",
                    "delivered",
                    "delivery_delayed",
                    "bounced",
                    "complained",
                    "opened",
                    "clicked",
                    "failed",
                    "canceled",
                    "suppressed"
                  ],
                  "type": "string"
                },
                "subject": {
                  "type": "string"
                },
                "tags": {
                  "anyOf": [
                    {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "propertyNames": {
                        "type": "string"
                      },
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "template_id": {
                  "anyOf": [
                    {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "template_version": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "text": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "to": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "updated_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "warnings": {
                  "items": {
                    "properties": {
                      "code": {
                        "type": "string"
                      },
                      "fix": {
                        "type": "string"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "message",
                      "fix"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "id",
                "from",
                "to",
                "cc",
                "bcc",
                "reply_to",
                "subject",
                "html",
                "text",
                "headers",
                "tags",
                "attachments",
                "scheduled_at",
                "status",
                "last_event",
                "provider_message_id",
                "api_key_id",
                "template_id",
                "template_version",
                "domain",
                "created_at",
                "updated_at",
                "warnings"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetEventsBy_idReply": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "last_seen_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "schema": {
            "additionalProperties": {
              "enum": [
                "string",
                "number",
                "boolean",
                "date",
                "enum"
              ],
              "type": "string"
            },
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "strict": {
            "type": "boolean"
          },
          "updated_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "schema",
          "strict",
          "last_seen_at",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "GetEventsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "last_seen_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "type": "string"
                },
                "schema": {
                  "additionalProperties": {
                    "enum": [
                      "string",
                      "number",
                      "boolean",
                      "date",
                      "enum"
                    ],
                    "type": "string"
                  },
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "strict": {
                  "type": "boolean"
                },
                "updated_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "description",
                "schema",
                "strict",
                "last_seen_at",
                "created_at",
                "updated_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetLimitsKeysBy_idReply": {
        "properties": {
          "api_key_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "budget_per_period": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "consumed_in_period": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "consumed_in_window": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "paused": {
            "type": "boolean"
          },
          "paused_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "paused_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "period": {
            "enum": [
              "hourly",
              "daily",
              "monthly"
            ],
            "type": "string"
          },
          "period_started_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "rate_ceiling_per_minute": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "rate_window_started_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          }
        },
        "required": [
          "api_key_id",
          "budget_per_period",
          "period",
          "consumed_in_period",
          "period_started_at",
          "rate_ceiling_per_minute",
          "consumed_in_window",
          "rate_window_started_at",
          "paused",
          "paused_at",
          "paused_reason",
          "updated_at"
        ],
        "type": "object"
      },
      "GetLimitsKeysReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "api_key_id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "budget_per_period": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "consumed_in_period": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "consumed_in_window": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "last_used_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "loop_evidence": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "loop_state": {
                  "enum": [
                    "clear",
                    "watch",
                    "tripped"
                  ],
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "paused": {
                  "type": "boolean"
                },
                "paused_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "paused_reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "period": {
                  "enum": [
                    "hourly",
                    "daily",
                    "monthly"
                  ],
                  "type": "string"
                },
                "period_started_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "rate_ceiling_per_minute": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "rate_window_started_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "system": {
                  "type": "boolean"
                },
                "token_prefix": {
                  "type": "string"
                },
                "updated_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                }
              },
              "required": [
                "api_key_id",
                "budget_per_period",
                "period",
                "consumed_in_period",
                "period_started_at",
                "rate_ceiling_per_minute",
                "consumed_in_window",
                "rate_window_started_at",
                "paused",
                "paused_at",
                "paused_reason",
                "updated_at",
                "name",
                "token_prefix",
                "last_used_at",
                "system",
                "loop_state",
                "loop_evidence"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetLogsBy_idReply": {
        "properties": {
          "api_key_id": {
            "anyOf": [
              {
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "duration_ms": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "error_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "method": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          },
          "route": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "user_agent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "request_id",
          "method",
          "path",
          "route",
          "status",
          "duration_ms",
          "error_code",
          "api_key_id",
          "user_agent",
          "created_at"
        ],
        "type": "object"
      },
      "GetLogsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "api_key_id": {
                  "anyOf": [
                    {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "duration_ms": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "error_code": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "method": {
                  "type": "string"
                },
                "path": {
                  "type": "string"
                },
                "request_id": {
                  "type": "string"
                },
                "route": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "status": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "user_agent": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "request_id",
                "method",
                "path",
                "route",
                "status",
                "duration_ms",
                "error_code",
                "api_key_id",
                "user_agent",
                "created_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetMetricsReply": {
        "properties": {
          "by_api_key": {
            "items": {
              "properties": {
                "bounced": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "complained": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "delivered": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "sent": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "series": {
                  "items": {
                    "properties": {
                      "bounced": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "complained": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "day": {
                        "type": "string"
                      },
                      "delivered": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "sent": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      }
                    },
                    "required": [
                      "day",
                      "sent",
                      "delivered",
                      "bounced",
                      "complained"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "id",
                "name",
                "sent",
                "delivered",
                "bounced",
                "complained",
                "series"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "by_domain": {
            "items": {
              "properties": {
                "bounced": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "complained": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "delivered": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "sent": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "series": {
                  "items": {
                    "properties": {
                      "bounced": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "complained": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "day": {
                        "type": "string"
                      },
                      "delivered": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "sent": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      }
                    },
                    "required": [
                      "day",
                      "sent",
                      "delivered",
                      "bounced",
                      "complained"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "id",
                "name",
                "sent",
                "delivered",
                "bounced",
                "complained",
                "series"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "event": {
            "anyOf": [
              {
                "enum": [
                  "sent",
                  "delivered",
                  "bounced",
                  "complained",
                  "opened",
                  "clicked"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "previous": {
            "properties": {
              "bounced": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "clicks": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "complaints": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "delivered": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "opens": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "sent": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              }
            },
            "required": [
              "sent",
              "delivered",
              "bounced",
              "complaints",
              "opens",
              "clicks"
            ],
            "type": "object"
          },
          "series": {
            "items": {
              "properties": {
                "bounced": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "clicks": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "complaints": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "day": {
                  "type": "string"
                },
                "delivered": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "opens": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "sent": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "day",
                "sent",
                "delivered",
                "bounced",
                "complaints",
                "opens",
                "clicks"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "since": {
            "type": "string"
          },
          "totals": {
            "properties": {
              "bounced": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "clicks": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "complaints": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "delivered": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "opens": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "sent": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              }
            },
            "required": [
              "sent",
              "delivered",
              "bounced",
              "complaints",
              "opens",
              "clicks"
            ],
            "type": "object"
          },
          "until": {
            "type": "string"
          }
        },
        "required": [
          "since",
          "until",
          "event",
          "totals",
          "previous",
          "series",
          "by_domain",
          "by_api_key"
        ],
        "type": "object"
      },
      "GetNotificationsPreferencesReply": {
        "properties": {
          "preferences": {
            "items": {
              "properties": {
                "email": {
                  "type": "boolean"
                },
                "in_app": {
                  "type": "boolean"
                },
                "type": {
                  "enum": [
                    "budget_exhausted",
                    "kill_switch_engaged",
                    "approvals_pending",
                    "trust_state_changed",
                    "webhook_endpoint_disabled",
                    "domain_verification_lost",
                    "appeal_decided",
                    "onboarding",
                    "api_key_leaked",
                    "dmarc_unaligned_source",
                    "welcome",
                    "billing",
                    "support",
                    "trial"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "type",
                "in_app",
                "email"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "preferences"
        ],
        "type": "object"
      },
      "GetNotificationsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "body": {
                  "type": "string"
                },
                "console_path": {
                  "type": "string"
                },
                "dedupe_key": {
                  "type": "string"
                },
                "first_seen_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "last_seen_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "occurrences": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "read_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "resolved_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "state": {
                  "enum": [
                    "open",
                    "resolved"
                  ],
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "type": {
                  "enum": [
                    "budget_exhausted",
                    "kill_switch_engaged",
                    "approvals_pending",
                    "trust_state_changed",
                    "webhook_endpoint_disabled",
                    "domain_verification_lost",
                    "appeal_decided",
                    "onboarding",
                    "api_key_leaked",
                    "dmarc_unaligned_source",
                    "welcome",
                    "billing",
                    "support",
                    "trial"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "id",
                "type",
                "dedupe_key",
                "state",
                "title",
                "body",
                "console_path",
                "occurrences",
                "first_seen_at",
                "last_seen_at",
                "read_at",
                "resolved_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetSegmentsBy_idMembersReply": {
        "properties": {
          "member_ids": {
            "items": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            },
            "type": "array"
          },
          "total": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          }
        },
        "required": [
          "total",
          "member_ids"
        ],
        "type": "object"
      },
      "GetSegmentsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "rules": {
                  "items": {
                    "properties": {
                      "field": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "op": {
                        "enum": [
                          "equals",
                          "not_equals",
                          "contains",
                          "greater_than",
                          "less_than",
                          "in",
                          "exists"
                        ],
                        "type": "string"
                      },
                      "value": {}
                    },
                    "required": [
                      "field",
                      "op"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "updated_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "rules",
                "created_at",
                "updated_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetStatusHistoryReply": {
        "properties": {
          "components": {
            "items": {
              "properties": {
                "availability": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "days": {
                  "items": {
                    "properties": {
                      "date": {
                        "type": "string"
                      },
                      "samples": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "up": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "uptime": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "date",
                      "samples",
                      "up",
                      "uptime"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "name",
                "availability",
                "days"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "from": {
            "type": "string"
          },
          "to": {
            "type": "string"
          },
          "window_days": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          }
        },
        "required": [
          "window_days",
          "from",
          "to",
          "components"
        ],
        "type": "object"
      },
      "GetStatusReply": {
        "properties": {
          "components": {
            "items": {
              "properties": {
                "detail": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "operational",
                    "degraded",
                    "down",
                    "unknown"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "name",
                "state",
                "detail"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "status": {
            "enum": [
              "operational",
              "degraded",
              "outage"
            ],
            "type": "string"
          },
          "time": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          }
        },
        "required": [
          "status",
          "time",
          "components"
        ],
        "type": "object"
      },
      "GetSupportConfigReply": {
        "properties": {
          "attachment_limits": {
            "properties": {
              "max_bytes_per_file": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "max_bytes_per_message": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "max_files_per_message": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              }
            },
            "required": [
              "max_files_per_message",
              "max_bytes_per_file",
              "max_bytes_per_message"
            ],
            "type": "object"
          },
          "hours_label": {
            "type": "string"
          },
          "response_time_label": {
            "type": "string"
          },
          "scale_response_time_label": {
            "type": "string"
          },
          "topics": {
            "items": {
              "properties": {
                "id": {
                  "enum": [
                    "sending",
                    "domains",
                    "deliverability",
                    "guardrails_and_limits",
                    "trust_and_appeals",
                    "webhooks",
                    "api_sdk_mcp",
                    "billing",
                    "account_and_security",
                    "other"
                  ],
                  "type": "string"
                },
                "label": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "label"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "hours_label",
          "response_time_label",
          "scale_response_time_label",
          "topics",
          "attachment_limits"
        ],
        "type": "object"
      },
      "GetSupportReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "has_unread_reply": {
                  "type": "boolean"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "last_message_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "last_message_preview": {
                  "type": "string"
                },
                "message_count": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "ref": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "ref_label": {
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "open",
                    "waiting_on_us",
                    "waiting_on_customer",
                    "resolved",
                    "closed"
                  ],
                  "type": "string"
                },
                "status_label": {
                  "type": "string"
                },
                "subject": {
                  "type": "string"
                },
                "topic": {
                  "enum": [
                    "sending",
                    "domains",
                    "deliverability",
                    "guardrails_and_limits",
                    "trust_and_appeals",
                    "webhooks",
                    "api_sdk_mcp",
                    "billing",
                    "account_and_security",
                    "other"
                  ],
                  "type": "string"
                },
                "updated_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "ref",
                "ref_label",
                "subject",
                "topic",
                "status",
                "status_label",
                "last_message_at",
                "last_message_preview",
                "has_unread_reply",
                "message_count",
                "created_at",
                "updated_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetSuppressionsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "level": {
                  "enum": [
                    "address",
                    "domain",
                    "global"
                  ],
                  "type": "string"
                },
                "origin": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "email",
                "level",
                "origin",
                "created_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetTeamInvitesReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "expires_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "invited_by": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "invited_by_email": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "role": {
                  "enum": [
                    "owner",
                    "admin",
                    "viewer"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "id",
                "email",
                "role",
                "invited_by",
                "invited_by_email",
                "expires_at",
                "created_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetTeamMeReply": {
        "properties": {
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "anyOf": [
              {
                "enum": [
                  "owner",
                  "admin",
                  "viewer"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "seats": {
            "properties": {
              "billed_per_seat": {
                "const": false,
                "type": "boolean"
              },
              "limit": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "plan": {
                "type": "string"
              },
              "used": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              }
            },
            "required": [
              "plan",
              "used",
              "limit",
              "billed_per_seat"
            ],
            "type": "object"
          },
          "user_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "user_id",
          "email",
          "role",
          "seats"
        ],
        "type": "object"
      },
      "GetTeamMembersReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "is_you": {
                  "type": "boolean"
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "role": {
                  "enum": [
                    "owner",
                    "admin",
                    "viewer"
                  ],
                  "type": "string"
                },
                "user_id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "user_id",
                "email",
                "name",
                "role",
                "is_you",
                "created_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetTemplatesBy_idDiffReply": {
        "properties": {
          "changes": {
            "items": {
              "properties": {
                "after": {},
                "before": {},
                "kind": {
                  "enum": [
                    "added",
                    "removed",
                    "changed"
                  ],
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "kind",
                "path"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "from_version_number": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "template_id": {
            "type": "string"
          },
          "to_version_number": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "unchanged": {
            "type": "boolean"
          }
        },
        "required": [
          "template_id",
          "from_version_number",
          "to_version_number",
          "unchanged",
          "changes"
        ],
        "type": "object"
      },
      "GetTemplatesBy_idVersionsBy_nReply": {
        "properties": {
          "content": {
            "anyOf": [
              {
                "properties": {
                  "blocks": {
                    "items": {
                      "anyOf": [
                        {
                          "properties": {
                            "body": {
                              "type": "string"
                            },
                            "kind": {
                              "const": "text",
                              "type": "string"
                            }
                          },
                          "required": [
                            "kind",
                            "body"
                          ],
                          "type": "object"
                        },
                        {
                          "properties": {
                            "html": {
                              "type": "string"
                            },
                            "kind": {
                              "const": "raw",
                              "type": "string"
                            }
                          },
                          "required": [
                            "kind",
                            "html"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "minItems": 1,
                    "type": "array"
                  },
                  "mode": {
                    "const": "block",
                    "type": "string"
                  }
                },
                "required": [
                  "mode",
                  "blocks"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "mode": {
                    "enum": [
                      "markdown",
                      "html"
                    ],
                    "type": "string"
                  },
                  "source": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "mode",
                  "source"
                ],
                "type": "object"
              }
            ]
          },
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "rolled_back_from": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "enum": [
              "draft",
              "published"
            ],
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "template_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "variables": {
            "items": {
              "properties": {
                "default": {
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "required": {
                  "type": "boolean"
                },
                "type": {
                  "enum": [
                    "string",
                    "number",
                    "boolean"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "name",
                "type"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "version_number": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "template_id",
          "version_number",
          "status",
          "content",
          "variables",
          "subject",
          "rolled_back_from",
          "created_at"
        ],
        "type": "object"
      },
      "GetTemplatesBy_idVersionsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "content": {
                  "anyOf": [
                    {
                      "properties": {
                        "blocks": {
                          "items": {
                            "anyOf": [
                              {
                                "properties": {
                                  "body": {
                                    "type": "string"
                                  },
                                  "kind": {
                                    "const": "text",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "body"
                                ],
                                "type": "object"
                              },
                              {
                                "properties": {
                                  "html": {
                                    "type": "string"
                                  },
                                  "kind": {
                                    "const": "raw",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "html"
                                ],
                                "type": "object"
                              }
                            ]
                          },
                          "minItems": 1,
                          "type": "array"
                        },
                        "mode": {
                          "const": "block",
                          "type": "string"
                        }
                      },
                      "required": [
                        "mode",
                        "blocks"
                      ],
                      "type": "object"
                    },
                    {
                      "properties": {
                        "mode": {
                          "enum": [
                            "markdown",
                            "html"
                          ],
                          "type": "string"
                        },
                        "source": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "mode",
                        "source"
                      ],
                      "type": "object"
                    }
                  ]
                },
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "rolled_back_from": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "status": {
                  "enum": [
                    "draft",
                    "published"
                  ],
                  "type": "string"
                },
                "subject": {
                  "type": "string"
                },
                "template_id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "variables": {
                  "items": {
                    "properties": {
                      "default": {
                        "type": "string"
                      },
                      "name": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "type": {
                        "enum": [
                          "string",
                          "number",
                          "boolean"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "name",
                      "type"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "version_number": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "id",
                "template_id",
                "version_number",
                "status",
                "content",
                "variables",
                "subject",
                "rolled_back_from",
                "created_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetTemplatesReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "current_version_number": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "draft_content": {
                  "anyOf": [
                    {
                      "anyOf": [
                        {
                          "properties": {
                            "blocks": {
                              "items": {
                                "anyOf": [
                                  {
                                    "properties": {
                                      "body": {
                                        "type": "string"
                                      },
                                      "kind": {
                                        "const": "text",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "body"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "properties": {
                                      "html": {
                                        "type": "string"
                                      },
                                      "kind": {
                                        "const": "raw",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "html"
                                    ],
                                    "type": "object"
                                  }
                                ]
                              },
                              "minItems": 1,
                              "type": "array"
                            },
                            "mode": {
                              "const": "block",
                              "type": "string"
                            }
                          },
                          "required": [
                            "mode",
                            "blocks"
                          ],
                          "type": "object"
                        },
                        {
                          "properties": {
                            "mode": {
                              "enum": [
                                "markdown",
                                "html"
                              ],
                              "type": "string"
                            },
                            "source": {
                              "minLength": 1,
                              "type": "string"
                            }
                          },
                          "required": [
                            "mode",
                            "source"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "draft_subject": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "draft_variables": {
                  "anyOf": [
                    {
                      "items": {
                        "properties": {
                          "default": {
                            "type": "string"
                          },
                          "name": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "required": {
                            "type": "boolean"
                          },
                          "type": {
                            "enum": [
                              "string",
                              "number",
                              "boolean"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "type"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "draft",
                    "published"
                  ],
                  "type": "string"
                },
                "updated_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "status",
                "current_version_number",
                "draft_content",
                "draft_variables",
                "draft_subject",
                "created_at",
                "updated_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetTopicsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "default_subscribed": {
                  "type": "boolean"
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "updated_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "description",
                "default_subscribed",
                "created_at",
                "updated_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetTrustRemediationReply": {
        "properties": {
          "items": {
            "items": {
              "properties": {
                "done_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "key": {
                  "type": "string"
                }
              },
              "required": [
                "key",
                "done_at"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "type": "object"
      },
      "GetTrustStandingReply": {
        "properties": {
          "history": {
            "items": {
              "properties": {
                "occurred_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type",
                "reason",
                "occurred_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "next_review_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason_codes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "reasons": {
            "items": {
              "properties": {
                "code": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "metric": {
                  "anyOf": [
                    {
                      "enum": [
                        "bounce",
                        "complaint"
                      ],
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "samples": {
                  "items": {
                    "properties": {
                      "email_id": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "subject": {
                        "type": "string"
                      },
                      "to_domain": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "email_id",
                      "subject",
                      "to_domain",
                      "status"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "since": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "threshold": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "window": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "code",
                "metric",
                "value",
                "threshold",
                "window",
                "message",
                "since",
                "samples"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "sla_deadline_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "enum": [
              "ok",
              "warning",
              "throttled",
              "paused"
            ],
            "type": "string"
          }
        },
        "required": [
          "state",
          "reasons",
          "reason_codes",
          "next_review_at",
          "sla_deadline_at",
          "history"
        ],
        "type": "object"
      },
      "GetTrustThresholdsReply": {
        "properties": {
          "ladder": {
            "items": {
              "enum": [
                "ok",
                "warning",
                "throttled",
                "paused"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "metrics": {
            "properties": {
              "bounce": {
                "properties": {
                  "pause": {
                    "type": "number"
                  },
                  "throttle": {
                    "type": "number"
                  },
                  "warn": {
                    "type": "number"
                  }
                },
                "required": [
                  "warn",
                  "throttle",
                  "pause"
                ],
                "type": "object"
              },
              "complaint": {
                "properties": {
                  "pause": {
                    "type": "number"
                  },
                  "throttle": {
                    "type": "number"
                  },
                  "warn": {
                    "type": "number"
                  }
                },
                "required": [
                  "warn",
                  "throttle",
                  "pause"
                ],
                "type": "object"
              }
            },
            "required": [
              "bounce",
              "complaint"
            ],
            "type": "object"
          },
          "min_sample": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "throttled_sends_per_minute": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "window_days": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          }
        },
        "required": [
          "window_days",
          "min_sample",
          "throttled_sends_per_minute",
          "ladder",
          "metrics"
        ],
        "type": "object"
      },
      "GetUsageReply": {
        "properties": {
          "account": {
            "properties": {
              "bounced_30d": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "complained_30d": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "sent_24h": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "sent_30d": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              }
            },
            "required": [
              "sent_30d",
              "sent_24h",
              "bounced_30d",
              "complained_30d"
            ],
            "type": "object"
          },
          "keys": {
            "items": {
              "properties": {
                "budget_per_period": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "consumed_in_period": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "consumed_in_window": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "last_used_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "type": "string"
                },
                "paused": {
                  "type": "boolean"
                },
                "period": {
                  "enum": [
                    "hourly",
                    "daily",
                    "monthly"
                  ],
                  "type": "string"
                },
                "period_started_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "rate_ceiling_per_minute": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "remaining": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "resets_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "used_percent": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "name",
                "budget_per_period",
                "consumed_in_period",
                "remaining",
                "used_percent",
                "rate_ceiling_per_minute",
                "consumed_in_window",
                "paused",
                "last_used_at",
                "period",
                "period_started_at",
                "resets_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "period_started_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          }
        },
        "required": [
          "period_started_at",
          "account",
          "keys"
        ],
        "type": "object"
      },
      "GetWebhooksBy_idDead_lettersReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "attempts": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "delivery_id": {
                  "anyOf": [
                    {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "event_id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "event_type": {
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "last_response_body": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "last_status_code": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "occurred_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "payload": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "reason": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "delivery_id",
                "event_id",
                "event_type",
                "occurred_at",
                "attempts",
                "last_status_code",
                "last_response_body",
                "reason",
                "payload",
                "created_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetWebhooksBy_idDeliveriesReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "attempts": {
                  "items": {
                    "properties": {
                      "at": {
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                        "type": "string"
                      },
                      "duration_ms": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "error": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "response_body": {
                        "type": "string"
                      },
                      "response_headers": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "propertyNames": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      "status_code": {
                        "anyOf": [
                          {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "at",
                      "status_code",
                      "duration_ms",
                      "error"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "event_id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "event_type": {
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "occurred_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "payload": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "status": {
                  "enum": [
                    "pending",
                    "retrying",
                    "delivered",
                    "dead_lettered"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "id",
                "event_id",
                "event_type",
                "status",
                "attempts",
                "payload",
                "occurred_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "GetWebhooksBy_idReply": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "disabled": {
            "type": "boolean"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "svix_compat": {
            "type": "boolean"
          },
          "updated_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "url",
          "events",
          "disabled",
          "svix_compat",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "GetWebhooksReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "disabled": {
                  "type": "boolean"
                },
                "events": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "svix_compat": {
                  "type": "boolean"
                },
                "updated_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "url": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "url",
                "events",
                "disabled",
                "svix_compat",
                "created_at",
                "updated_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "PatchAccountOnboardingBody": {
        "properties": {
          "company": {
            "maxLength": 120,
            "minLength": 1,
            "type": "string"
          },
          "completed": {
            "type": "boolean"
          },
          "contact_name": {
            "maxLength": 120,
            "minLength": 1,
            "type": "string"
          },
          "expected_volume": {
            "anyOf": [
              {
                "enum": [
                  "under_30k",
                  "30k_100k",
                  "100k_1m",
                  "over_1m"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "use_cases": {
            "items": {
              "enum": [
                "transactional",
                "product_lifecycle",
                "ai_agents"
              ],
              "type": "string"
            },
            "maxItems": 3,
            "type": "array"
          },
          "website": {
            "anyOf": [
              {
                "maxLength": 2048,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "PatchApi_keysBy_idBody": {
        "properties": {
          "domain_scope": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string"
          },
          "scopes": {
            "items": {
              "enum": [
                "emails:send",
                "emails:read",
                "domains:read",
                "domains:write",
                "webhooks:read",
                "webhooks:write",
                "limits:read",
                "limits:write",
                "trust:read",
                "contacts:read",
                "contacts:write",
                "suppressions:read",
                "suppressions:write",
                "templates:read",
                "templates:write",
                "segments:read",
                "segments:write",
                "topics:read",
                "topics:write"
              ],
              "type": "string"
            },
            "maxItems": 19,
            "type": "array"
          }
        },
        "type": "object"
      },
      "PatchApi_keysBy_idReply": {
        "properties": {
          "budget_per_period": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "domain_scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "last_used_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "period": {
            "enum": [
              "hourly",
              "daily",
              "monthly"
            ],
            "type": "string"
          },
          "permission": {
            "enum": [
              "full_access",
              "sending_access"
            ],
            "type": "string"
          },
          "previous_key_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "rate_ceiling_per_minute": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "request_count_30d": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "rotated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "system": {
            "type": "boolean"
          },
          "token_prefix": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "permission",
          "domain_scope",
          "scopes",
          "expires_at",
          "token_prefix",
          "system",
          "created_at",
          "last_used_at",
          "request_count_30d",
          "rotated_at",
          "previous_key_expires_at",
          "budget_per_period",
          "period",
          "rate_ceiling_per_minute"
        ],
        "type": "object"
      },
      "PatchAutomationsBy_idBody": {
        "$defs": {
          "__schema0": {
            "anyOf": [
              {
                "properties": {
                  "content": {
                    "additionalProperties": {},
                    "propertyNames": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "from_address": {
                    "minLength": 3,
                    "type": "string"
                  },
                  "kind": {
                    "const": "email",
                    "type": "string"
                  },
                  "subject": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "kind",
                  "from_address",
                  "subject",
                  "content"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "kind": {
                    "const": "webhook",
                    "type": "string"
                  },
                  "url": {
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "kind",
                  "url"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "kind": {
                    "const": "ab_split",
                    "type": "string"
                  },
                  "ratio": {
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "split": {
                    "properties": {
                      "a": {
                        "default": [],
                        "items": {
                          "$ref": "#/$defs/__schema0"
                        },
                        "type": "array"
                      },
                      "b": {
                        "default": [],
                        "items": {
                          "$ref": "#/$defs/__schema0"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  },
                  "variant": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "kind",
                  "variant",
                  "split"
                ],
                "type": "object"
              }
            ]
          }
        },
        "properties": {
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "steps": {
            "items": {
              "$ref": "#/$defs/__schema0"
            },
            "minItems": 1,
            "type": "array"
          },
          "trigger": {
            "properties": {
              "event_name": {
                "maxLength": 200,
                "minLength": 1,
                "type": "string"
              },
              "interval_minutes": {
                "maximum": 9007199254740991,
                "minimum": 1,
                "type": "integer"
              },
              "segment_id": {
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "type": "string"
              },
              "type": {
                "enum": [
                  "custom_event",
                  "contact.created",
                  "contact.updated",
                  "segment.joined",
                  "segment.left",
                  "scheduled"
                ],
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "type": "object"
      },
      "PatchBroadcastsBy_idBody": {
        "properties": {
          "content": {
            "additionalProperties": {},
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "scheduled_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "segment_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "subject": {
            "maxLength": 998,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "PatchContactsBy_idBody": {
        "properties": {
          "email": {
            "format": "email",
            "maxLength": 320,
            "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
            "type": "string"
          },
          "properties": {
            "additionalProperties": {},
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "status": {
            "enum": [
              "active",
              "unsubscribed"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "PatchContactsBy_idTopicsBody": {
        "properties": {
          "topics": {
            "items": {
              "properties": {
                "subscribed": {
                  "type": "boolean"
                },
                "topic_id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                }
              },
              "required": [
                "topic_id",
                "subscribed"
              ],
              "type": "object"
            },
            "maxItems": 100,
            "minItems": 1,
            "type": "array"
          }
        },
        "required": [
          "topics"
        ],
        "type": "object"
      },
      "PatchContactsBy_idTopicsReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "basis": {
                  "enum": [
                    "explicit",
                    "default"
                  ],
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "source": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "subscribed": {
                  "type": "boolean"
                },
                "updated_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "name",
                "subscribed",
                "basis",
                "source",
                "updated_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "has_more",
          "next_cursor"
        ],
        "type": "object"
      },
      "PatchDomainsBy_idBody": {
        "properties": {
          "click_tracking": {
            "type": "boolean"
          },
          "open_tracking": {
            "type": "boolean"
          },
          "tracking_subdomain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "PatchEmailsBy_idBody": {
        "properties": {
          "scheduled_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          }
        },
        "required": [
          "scheduled_at"
        ],
        "type": "object"
      },
      "PatchEmailsBy_idReply": {
        "properties": {
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "scheduled_at": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "scheduled_at"
        ],
        "type": "object"
      },
      "PatchEventsBy_idBody": {
        "properties": {
          "description": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "schema": {
            "additionalProperties": {
              "enum": [
                "string",
                "number",
                "boolean",
                "date",
                "enum"
              ],
              "type": "string"
            },
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "strict": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "PatchLimitsKeysBy_idBody": {
        "properties": {
          "budget_per_period": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "period": {
            "enum": [
              "hourly",
              "daily",
              "monthly"
            ],
            "type": "string"
          },
          "rate_ceiling_per_minute": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object"
      },
      "PatchNotificationsPreferencesBody": {
        "properties": {
          "preferences": {
            "items": {
              "properties": {
                "email": {
                  "type": "boolean"
                },
                "in_app": {
                  "type": "boolean"
                },
                "type": {
                  "enum": [
                    "budget_exhausted",
                    "kill_switch_engaged",
                    "approvals_pending",
                    "trust_state_changed",
                    "webhook_endpoint_disabled",
                    "domain_verification_lost",
                    "appeal_decided",
                    "onboarding",
                    "api_key_leaked",
                    "dmarc_unaligned_source",
                    "welcome",
                    "billing",
                    "support",
                    "trial"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            },
            "minItems": 1,
            "type": "array"
          }
        },
        "required": [
          "preferences"
        ],
        "type": "object"
      },
      "PatchSegmentsBy_idBody": {
        "properties": {
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "rules": {
            "items": {
              "properties": {
                "field": {
                  "minLength": 1,
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "equals",
                    "not_equals",
                    "contains",
                    "greater_than",
                    "less_than",
                    "in",
                    "exists"
                  ],
                  "type": "string"
                },
                "value": {}
              },
              "required": [
                "field",
                "op"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "PatchTeamMembersBy_idBody": {
        "properties": {
          "role": {
            "enum": [
              "owner",
              "admin",
              "viewer"
            ],
            "type": "string"
          }
        },
        "required": [
          "role"
        ],
        "type": "object"
      },
      "PatchTeamMembersBy_idReply": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "is_you": {
            "type": "boolean"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "enum": [
              "owner",
              "admin",
              "viewer"
            ],
            "type": "string"
          },
          "user_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "user_id",
          "email",
          "name",
          "role",
          "is_you",
          "created_at"
        ],
        "type": "object"
      },
      "PatchTemplatesBy_idBody": {
        "properties": {
          "content": {
            "anyOf": [
              {
                "properties": {
                  "blocks": {
                    "items": {
                      "anyOf": [
                        {
                          "properties": {
                            "body": {
                              "type": "string"
                            },
                            "kind": {
                              "const": "text",
                              "type": "string"
                            }
                          },
                          "required": [
                            "kind",
                            "body"
                          ],
                          "type": "object"
                        },
                        {
                          "properties": {
                            "html": {
                              "type": "string"
                            },
                            "kind": {
                              "const": "raw",
                              "type": "string"
                            }
                          },
                          "required": [
                            "kind",
                            "html"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "minItems": 1,
                    "type": "array"
                  },
                  "mode": {
                    "const": "block",
                    "type": "string"
                  }
                },
                "required": [
                  "mode",
                  "blocks"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "mode": {
                    "enum": [
                      "markdown",
                      "html"
                    ],
                    "type": "string"
                  },
                  "source": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "mode",
                  "source"
                ],
                "type": "object"
              }
            ]
          },
          "subject": {
            "maxLength": 998,
            "minLength": 1,
            "type": "string"
          },
          "variables": {
            "items": {
              "properties": {
                "default": {
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "required": {
                  "type": "boolean"
                },
                "type": {
                  "enum": [
                    "string",
                    "number",
                    "boolean"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "name",
                "type"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "PatchTopicsBy_idBody": {
        "properties": {
          "default_subscribed": {
            "type": "boolean"
          },
          "description": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "PatchWebhooksBy_idBody": {
        "properties": {
          "disabled": {
            "type": "boolean"
          },
          "events": {
            "items": {
              "anyOf": [
                {
                  "const": "*",
                  "type": "string"
                },
                {
                  "enum": [
                    "email.queued",
                    "email.sent",
                    "email.delivered",
                    "email.delivery_delayed",
                    "email.bounced",
                    "email.complained",
                    "email.opened",
                    "email.clicked",
                    "email.failed",
                    "email.scheduled",
                    "email.canceled",
                    "email.suppressed",
                    "domain.created",
                    "domain.verified",
                    "domain.failed",
                    "domain.updated",
                    "domain.deleted",
                    "suppression.added",
                    "suppression.removed",
                    "limit.warning",
                    "limit.exceeded",
                    "agent.approval_requested",
                    "agent.approved",
                    "agent.rejected",
                    "agent.killed",
                    "contact.created",
                    "contact.updated",
                    "contact.deleted",
                    "segment.joined",
                    "segment.left",
                    "segment.created",
                    "segment.updated",
                    "segment.deleted",
                    "broadcast.scheduled",
                    "broadcast.sent",
                    "broadcast.updated",
                    "automation.triggered",
                    "email.received",
                    "topic.created",
                    "topic.updated",
                    "topic.deleted",
                    "contact.subscribed",
                    "contact.unsubscribed",
                    "trust.warning",
                    "trust.throttled",
                    "trust.paused",
                    "trust.appealed",
                    "trust.restored"
                  ],
                  "type": "string"
                }
              ]
            },
            "maxItems": 64,
            "minItems": 1,
            "type": "array"
          },
          "svix_compat": {
            "type": "boolean"
          },
          "url": {
            "format": "uri",
            "type": "string"
          }
        },
        "type": "object"
      },
      "PostAgent_actionsBy_idApproveReply": {
        "properties": {
          "action": {
            "properties": {
              "created_at": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              "decided_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "decided_by": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "decision_reason": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "type": "string"
              },
              "kind": {
                "type": "string"
              },
              "payload": {
                "additionalProperties": {},
                "propertyNames": {
                  "type": "string"
                },
                "type": "object"
              },
              "preview": {
                "properties": {
                  "api_key_id": {
                    "anyOf": [
                      {
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "first_recipients": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "held_reason": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "html": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "subject": {
                    "type": "string"
                  },
                  "text": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "to_count": {
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "to_count",
                  "subject",
                  "html",
                  "text",
                  "first_recipients",
                  "api_key_id",
                  "held_reason"
                ],
                "type": "object"
              },
              "state": {
                "enum": [
                  "pending",
                  "approved",
                  "rejected",
                  "killed"
                ],
                "type": "string"
              }
            },
            "required": [
              "id",
              "kind",
              "state",
              "payload",
              "preview",
              "decided_by",
              "decision_reason",
              "decided_at",
              "created_at"
            ],
            "type": "object"
          },
          "message_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "action",
          "message_id",
          "status"
        ],
        "type": "object"
      },
      "PostAgent_actionsBy_idRejectBody": {
        "properties": {
          "reason": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "PostAgent_actionsBy_idRejectReply": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "decided_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "decided_by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "decision_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "payload": {
            "additionalProperties": {},
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "preview": {
            "properties": {
              "api_key_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "first_recipients": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "held_reason": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "html": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "subject": {
                "type": "string"
              },
              "text": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "to_count": {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "to_count",
              "subject",
              "html",
              "text",
              "first_recipients",
              "api_key_id",
              "held_reason"
            ],
            "type": "object"
          },
          "state": {
            "enum": [
              "pending",
              "approved",
              "rejected",
              "killed"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "state",
          "payload",
          "preview",
          "decided_by",
          "decision_reason",
          "decided_at",
          "created_at"
        ],
        "type": "object"
      },
      "PostApi_keysBody": {
        "properties": {
          "domain_scope": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string"
          },
          "permission": {
            "enum": [
              "full_access",
              "sending_access"
            ],
            "type": "string"
          },
          "scopes": {
            "items": {
              "enum": [
                "emails:send",
                "emails:read",
                "domains:read",
                "domains:write",
                "webhooks:read",
                "webhooks:write",
                "limits:read",
                "limits:write",
                "trust:read",
                "contacts:read",
                "contacts:write",
                "suppressions:read",
                "suppressions:write",
                "templates:read",
                "templates:write",
                "segments:read",
                "segments:write",
                "topics:read",
                "topics:write"
              ],
              "type": "string"
            },
            "maxItems": 19,
            "type": "array"
          }
        },
        "required": [
          "name",
          "permission"
        ],
        "type": "object"
      },
      "PostApi_keysBy_idRotateBody": {
        "properties": {
          "grace_hours": {
            "anyOf": [
              {
                "const": 0,
                "type": "number"
              },
              {
                "const": 1,
                "type": "number"
              },
              {
                "const": 24,
                "type": "number"
              }
            ]
          }
        },
        "required": [
          "grace_hours"
        ],
        "type": "object"
      },
      "PostApi_keysBy_idRotateReply": {
        "properties": {
          "budget_per_period": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "domain_scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "last_used_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "period": {
            "enum": [
              "hourly",
              "daily",
              "monthly"
            ],
            "type": "string"
          },
          "permission": {
            "enum": [
              "full_access",
              "sending_access"
            ],
            "type": "string"
          },
          "previous_key_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "rate_ceiling_per_minute": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "request_count_30d": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "rotated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "system": {
            "type": "boolean"
          },
          "token": {
            "type": "string"
          },
          "token_prefix": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "permission",
          "domain_scope",
          "scopes",
          "expires_at",
          "token_prefix",
          "system",
          "created_at",
          "last_used_at",
          "request_count_30d",
          "rotated_at",
          "previous_key_expires_at",
          "budget_per_period",
          "period",
          "rate_ceiling_per_minute",
          "token"
        ],
        "type": "object"
      },
      "PostApi_keysReply": {
        "properties": {
          "budget_per_period": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "domain_scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "last_used_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "period": {
            "enum": [
              "hourly",
              "daily",
              "monthly"
            ],
            "type": "string"
          },
          "permission": {
            "enum": [
              "full_access",
              "sending_access"
            ],
            "type": "string"
          },
          "previous_key_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "rate_ceiling_per_minute": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "request_count_30d": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "rotated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "system": {
            "type": "boolean"
          },
          "token": {
            "type": "string"
          },
          "token_prefix": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "permission",
          "domain_scope",
          "scopes",
          "expires_at",
          "token_prefix",
          "system",
          "created_at",
          "last_used_at",
          "request_count_30d",
          "rotated_at",
          "previous_key_expires_at",
          "budget_per_period",
          "period",
          "rate_ceiling_per_minute",
          "token"
        ],
        "type": "object"
      },
      "PostAutomationsBody": {
        "$defs": {
          "__schema0": {
            "anyOf": [
              {
                "properties": {
                  "content": {
                    "additionalProperties": {},
                    "propertyNames": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "from_address": {
                    "minLength": 3,
                    "type": "string"
                  },
                  "kind": {
                    "const": "email",
                    "type": "string"
                  },
                  "subject": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "kind",
                  "from_address",
                  "subject",
                  "content"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "kind": {
                    "const": "webhook",
                    "type": "string"
                  },
                  "url": {
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "kind",
                  "url"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "kind": {
                    "const": "ab_split",
                    "type": "string"
                  },
                  "ratio": {
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "split": {
                    "properties": {
                      "a": {
                        "default": [],
                        "items": {
                          "$ref": "#/$defs/__schema0"
                        },
                        "type": "array"
                      },
                      "b": {
                        "default": [],
                        "items": {
                          "$ref": "#/$defs/__schema0"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  },
                  "variant": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "kind",
                  "variant",
                  "split"
                ],
                "type": "object"
              }
            ]
          }
        },
        "properties": {
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "steps": {
            "items": {
              "$ref": "#/$defs/__schema0"
            },
            "minItems": 1,
            "type": "array"
          },
          "trigger": {
            "properties": {
              "event_name": {
                "maxLength": 200,
                "minLength": 1,
                "type": "string"
              },
              "interval_minutes": {
                "maximum": 9007199254740991,
                "minimum": 1,
                "type": "integer"
              },
              "segment_id": {
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "type": "string"
              },
              "type": {
                "enum": [
                  "custom_event",
                  "contact.created",
                  "contact.updated",
                  "segment.joined",
                  "segment.left",
                  "scheduled"
                ],
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "name",
          "trigger",
          "steps"
        ],
        "type": "object"
      },
      "PostAutomationsReply": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "current_version": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "steps": {
            "items": {},
            "type": "array"
          },
          "trigger": {
            "properties": {
              "event_name": {
                "maxLength": 200,
                "minLength": 1,
                "type": "string"
              },
              "interval_minutes": {
                "maximum": 9007199254740991,
                "minimum": 1,
                "type": "integer"
              },
              "segment_id": {
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "type": "string"
              },
              "type": {
                "enum": [
                  "custom_event",
                  "contact.created",
                  "contact.updated",
                  "segment.joined",
                  "segment.left",
                  "scheduled"
                ],
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          "updated_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "status",
          "trigger",
          "steps",
          "current_version",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "PostBillingCheckoutBody": {
        "properties": {
          "term": {
            "enum": [
              "month",
              "year"
            ],
            "type": "string"
          },
          "tier": {
            "enum": [
              "starter",
              "pro",
              "scale"
            ],
            "type": "string"
          }
        },
        "required": [
          "tier"
        ],
        "type": "object"
      },
      "PostBillingCheckoutReply": {
        "properties": {
          "checkout_session_id": {
            "type": "string"
          },
          "url": {
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "url",
          "checkout_session_id"
        ],
        "type": "object"
      },
      "PostBillingPortalReply": {
        "properties": {
          "url": {
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "PostBroadcastsBody": {
        "properties": {
          "content": {
            "additionalProperties": {},
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "from_address": {
            "maxLength": 320,
            "minLength": 3,
            "type": "string"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "scheduled_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "segment_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "subject": {
            "maxLength": 998,
            "minLength": 1,
            "type": "string"
          },
          "template_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          }
        },
        "required": [
          "name",
          "from_address",
          "segment_id"
        ],
        "type": "object"
      },
      "PostBroadcastsBy_idSendReply": {
        "properties": {
          "broadcast": {
            "properties": {
              "archived_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "content": {
                "anyOf": [
                  {
                    "additionalProperties": {},
                    "propertyNames": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              "from_address": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "scheduled_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "segment_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sent_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sent_count": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "status": {
                "type": "string"
              },
              "subject": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "template_id": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updated_at": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "status",
              "from_address",
              "template_id",
              "segment_id",
              "subject",
              "content",
              "scheduled_at",
              "sent_at",
              "sent_count",
              "archived_at",
              "created_at",
              "updated_at"
            ],
            "type": "object"
          },
          "sent": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "skipped": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          }
        },
        "required": [
          "broadcast",
          "sent",
          "skipped"
        ],
        "type": "object"
      },
      "PostBroadcastsReply": {
        "properties": {
          "archived_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "additionalProperties": {},
                "propertyNames": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "from_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "segment_id": {
            "anyOf": [
              {
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "sent_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "sent_count": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "template_id": {
            "anyOf": [
              {
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "updated_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "status",
          "from_address",
          "template_id",
          "segment_id",
          "subject",
          "content",
          "scheduled_at",
          "sent_at",
          "sent_count",
          "archived_at",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "PostContactsBody": {
        "properties": {
          "email": {
            "format": "email",
            "maxLength": 320,
            "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
            "type": "string"
          },
          "properties": {
            "additionalProperties": {},
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "email"
        ],
        "type": "object"
      },
      "PostContactsReply": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "properties": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "property_types": {
            "additionalProperties": {
              "type": "string"
            },
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "status": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "email",
          "status",
          "properties",
          "property_types",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "PostDedicated_ipsBody": {
        "properties": {
          "ip": {
            "maxLength": 45,
            "minLength": 7,
            "type": "string"
          },
          "region": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "ip",
          "region"
        ],
        "type": "object"
      },
      "PostDedicated_ipsReply": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "started_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "warmup_percent": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "ip",
          "region",
          "state",
          "started_at",
          "warmup_percent",
          "created_at"
        ],
        "type": "object"
      },
      "PostDeliverabilityDomainsBy_idSnapshotReply": {
        "properties": {
          "domain_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "rates": {
            "properties": {
              "bounce_rate": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bounced": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "click_rate": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "clicked": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "complained": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "complaint_rate": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "delivered": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "open_rate": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "opened": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "sent": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              }
            },
            "required": [
              "sent",
              "delivered",
              "bounced",
              "complained",
              "opened",
              "clicked",
              "bounce_rate",
              "complaint_rate",
              "open_rate",
              "click_rate"
            ],
            "type": "object"
          },
          "snapshot_date": {
            "type": "string"
          }
        },
        "required": [
          "domain_id",
          "snapshot_date",
          "rates"
        ],
        "type": "object"
      },
      "PostDomainsBody": {
        "properties": {
          "name": {
            "maxLength": 253,
            "minLength": 3,
            "type": "string"
          },
          "region": {
            "description": "us (Oregon) or eu (Helsinki). Default us. For one release the legacy names us-east-1, sa-east-1 and ap-northeast-1 map to us; eu-west-1 maps to eu.",
            "enum": [
              "us",
              "eu"
            ],
            "type": "string"
          },
          "tracking": {
            "type": "boolean"
          },
          "tracking_subdomain": {
            "maxLength": 253,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "PostDomainsReply": {
        "properties": {
          "click_tracking": {
            "type": "boolean"
          },
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "dkim_selector": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "open_tracking": {
            "type": "boolean"
          },
          "records": {
            "items": {
              "properties": {
                "checked_at": {
                  "anyOf": [
                    {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "fix": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "name_relative": {
                  "type": "string"
                },
                "priority": {
                  "anyOf": [
                    {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "record": {
                  "enum": [
                    "SPF",
                    "DKIM",
                    "DMARC",
                    "RETURN_PATH",
                    "TRACKING",
                    "RECEIVING",
                    "TRACKING_CAA"
                  ],
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "pending",
                    "verified",
                    "failed",
                    "recommended"
                  ],
                  "type": "string"
                },
                "ttl": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "type": {
                  "enum": [
                    "TXT",
                    "MX",
                    "CNAME",
                    "CAA"
                  ],
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "record",
                "name",
                "name_relative",
                "type",
                "value",
                "ttl",
                "priority",
                "status",
                "checked_at",
                "fix"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "region": {
            "enum": [
              "us",
              "eu"
            ],
            "type": "string"
          },
          "status": {
            "enum": [
              "pending",
              "verified",
              "failed",
              "partially_verified",
              "partially_failed"
            ],
            "type": "string"
          },
          "tracking_issues": {
            "items": {
              "properties": {
                "fix": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "record": {
                  "enum": [
                    "TRACKING",
                    "TRACKING_CAA"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "record",
                "message",
                "fix"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "tracking_subdomain": {
            "type": "string"
          },
          "verified_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "name",
          "region",
          "status",
          "dkim_selector",
          "click_tracking",
          "open_tracking",
          "tracking_subdomain",
          "records",
          "created_at",
          "verified_at",
          "tracking_issues"
        ],
        "type": "object"
      },
      "PostEmailsBatchBody": {
        "items": {
          "properties": {
            "attachments": {
              "items": {
                "properties": {
                  "content": {
                    "type": "string"
                  },
                  "content_id": {
                    "maxLength": 255,
                    "minLength": 1,
                    "type": "string"
                  },
                  "content_type": {
                    "maxLength": 255,
                    "minLength": 1,
                    "type": "string"
                  },
                  "filename": {
                    "maxLength": 255,
                    "minLength": 1,
                    "type": "string"
                  },
                  "path": {
                    "format": "uri",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "maxItems": 100,
              "type": "array"
            },
            "bcc": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "cc": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "from": {
              "minLength": 1,
              "type": "string"
            },
            "headers": {
              "additionalProperties": {
                "type": "string"
              },
              "propertyNames": {
                "type": "string"
              },
              "type": "object"
            },
            "html": {
              "type": "string"
            },
            "reply_to": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "scheduled_at": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            },
            "subject": {
              "maxLength": 998,
              "minLength": 1,
              "type": "string"
            },
            "tags": {
              "anyOf": [
                {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                {
                  "items": {
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "value": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "name",
                      "value"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              ]
            },
            "template_id": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            },
            "template_values": {
              "additionalProperties": {},
              "propertyNames": {
                "type": "string"
              },
              "type": "object"
            },
            "text": {
              "type": "string"
            },
            "to": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "topic_id": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          "required": [
            "from",
            "to",
            "subject"
          ],
          "type": "object"
        },
        "maxItems": 500,
        "minItems": 1,
        "type": "array"
      },
      "PostEmailsBatchReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "error": {
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "details": {
                      "items": {
                        "properties": {
                          "message": {
                            "type": "string"
                          },
                          "path": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "path",
                          "message"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "docs_url": {
                      "type": "string"
                    },
                    "fix": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "message",
                    "fix",
                    "docs_url"
                  ],
                  "type": "object"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "index": {
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                },
                "simulated": {
                  "type": "boolean"
                },
                "status": {
                  "enum": [
                    "accepted",
                    "rejected"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "index",
                "status"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "PostEmailsBody": {
        "properties": {
          "attachments": {
            "items": {
              "properties": {
                "content": {
                  "type": "string"
                },
                "content_id": {
                  "maxLength": 255,
                  "minLength": 1,
                  "type": "string"
                },
                "content_type": {
                  "maxLength": 255,
                  "minLength": 1,
                  "type": "string"
                },
                "filename": {
                  "maxLength": 255,
                  "minLength": 1,
                  "type": "string"
                },
                "path": {
                  "format": "uri",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "maxItems": 100,
            "type": "array"
          },
          "bcc": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "items": {
                  "minLength": 1,
                  "type": "string"
                },
                "type": "array"
              }
            ]
          },
          "cc": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "items": {
                  "minLength": 1,
                  "type": "string"
                },
                "type": "array"
              }
            ]
          },
          "from": {
            "minLength": 1,
            "type": "string"
          },
          "headers": {
            "additionalProperties": {
              "type": "string"
            },
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "html": {
            "type": "string"
          },
          "reply_to": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "items": {
                  "minLength": 1,
                  "type": "string"
                },
                "type": "array"
              }
            ]
          },
          "scheduled_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "subject": {
            "maxLength": 998,
            "minLength": 1,
            "type": "string"
          },
          "tags": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "propertyNames": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "items": {
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "value"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            ]
          },
          "template_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "template_values": {
            "additionalProperties": {},
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "text": {
            "type": "string"
          },
          "to": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "items": {
                  "minLength": 1,
                  "type": "string"
                },
                "type": "array"
              }
            ]
          },
          "topic_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          }
        },
        "required": [
          "from",
          "to",
          "subject"
        ],
        "type": "object"
      },
      "PostEmailsBulk_cancelBody": {
        "properties": {
          "before": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          },
          "ids": {
            "items": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            },
            "maxItems": 500,
            "type": "array"
          }
        },
        "type": "object"
      },
      "PostEmailsBulk_cancelReply": {
        "properties": {
          "canceled": {
            "items": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            },
            "type": "array"
          },
          "skipped": {
            "items": {
              "properties": {
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "status": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "status"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "canceled",
          "skipped"
        ],
        "type": "object"
      },
      "PostEmailsBy_idCancelReply": {
        "properties": {
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "status"
        ],
        "type": "object"
      },
      "PostEmailsBy_idRescheduleBody": {
        "properties": {
          "scheduled_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
          }
        },
        "required": [
          "scheduled_at"
        ],
        "type": "object"
      },
      "PostEmailsBy_idRescheduleReply": {
        "properties": {
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "scheduled_at": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "scheduled_at"
        ],
        "type": "object"
      },
      "PostEmailsLintBody": {
        "properties": {
          "from": {
            "minLength": 3,
            "type": "string"
          },
          "headers": {
            "additionalProperties": {
              "type": "string"
            },
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "html": {
            "type": "string"
          },
          "subject": {
            "default": "",
            "maxLength": 998,
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "to": {
            "items": {
              "minLength": 3,
              "type": "string"
            },
            "maxItems": 50,
            "minItems": 1,
            "type": "array"
          }
        },
        "required": [
          "from",
          "to"
        ],
        "type": "object"
      },
      "PostEmailsLintReply": {
        "properties": {
          "findings": {
            "items": {
              "properties": {
                "fix": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "rule": {
                  "type": "string"
                },
                "severity": {
                  "enum": [
                    "error",
                    "warning",
                    "info"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "rule",
                "severity",
                "message",
                "fix"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "score": {
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "score",
          "findings"
        ],
        "type": "object"
      },
      "PostEmailsPreflightReply": {
        "properties": {
          "checks": {
            "additionalProperties": {},
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "error": {
            "anyOf": [
              {
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "fix": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  }
                },
                "required": [
                  "code",
                  "message",
                  "fix"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "ok": {
            "type": "boolean"
          },
          "simulated": {
            "type": "boolean"
          }
        },
        "required": [
          "ok",
          "simulated",
          "error",
          "checks"
        ],
        "type": "object"
      },
      "PostEmailsReply": {
        "properties": {
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "simulated": {
            "type": "boolean"
          },
          "warnings": {
            "items": {
              "properties": {
                "code": {
                  "type": "string"
                },
                "fix": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "required": [
                "code",
                "message",
                "fix"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "simulated",
          "warnings"
        ],
        "type": "object"
      },
      "PostEventsBody": {
        "properties": {
          "contact_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "data": {
            "additionalProperties": {},
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "PostEventsReply": {
        "properties": {
          "fired": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          }
        },
        "required": [
          "fired"
        ],
        "type": "object"
      },
      "PostInviteBy_tokenAcceptReply": {
        "properties": {
          "account_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "account_name": {
            "type": "string"
          },
          "member_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "role": {
            "enum": [
              "owner",
              "admin",
              "viewer"
            ],
            "type": "string"
          }
        },
        "required": [
          "account_id",
          "account_name",
          "role",
          "member_id"
        ],
        "type": "object"
      },
      "PostLimitsKeysBy_idKillBody": {
        "properties": {
          "reason": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "PostLimitsKill_allBody": {
        "properties": {
          "reason": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "PostLimitsKill_allReply": {
        "properties": {
          "affected_key_ids": {
            "items": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            },
            "type": "array"
          },
          "at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "paused": {
            "type": "boolean"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "paused",
          "affected_key_ids",
          "at",
          "reason"
        ],
        "type": "object"
      },
      "PostLimitsResume_allBody": {
        "properties": {
          "reason": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "PostNotificationsBy_idReadReply": {
        "properties": {
          "body": {
            "type": "string"
          },
          "console_path": {
            "type": "string"
          },
          "dedupe_key": {
            "type": "string"
          },
          "first_seen_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "last_seen_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "occurrences": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "read_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "resolved_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "enum": [
              "open",
              "resolved"
            ],
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "enum": [
              "budget_exhausted",
              "kill_switch_engaged",
              "approvals_pending",
              "trust_state_changed",
              "webhook_endpoint_disabled",
              "domain_verification_lost",
              "appeal_decided",
              "onboarding",
              "api_key_leaked",
              "dmarc_unaligned_source",
              "welcome",
              "billing",
              "support",
              "trial"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "dedupe_key",
          "state",
          "title",
          "body",
          "console_path",
          "occurrences",
          "first_seen_at",
          "last_seen_at",
          "read_at",
          "resolved_at"
        ],
        "type": "object"
      },
      "PostNotificationsReadBody": {
        "properties": {
          "ids": {
            "items": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            },
            "maxItems": 500,
            "type": "array"
          }
        },
        "type": "object"
      },
      "PostNotificationsReadReply": {
        "properties": {
          "read": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          }
        },
        "required": [
          "read"
        ],
        "type": "object"
      },
      "PostSegmentsBody": {
        "properties": {
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "rules": {
            "default": [],
            "items": {
              "properties": {
                "field": {
                  "minLength": 1,
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "equals",
                    "not_equals",
                    "contains",
                    "greater_than",
                    "less_than",
                    "in",
                    "exists"
                  ],
                  "type": "string"
                },
                "value": {}
              },
              "required": [
                "field",
                "op"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "PostSegmentsReply": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "rules": {
            "items": {
              "properties": {
                "field": {
                  "minLength": 1,
                  "type": "string"
                },
                "op": {
                  "enum": [
                    "equals",
                    "not_equals",
                    "contains",
                    "greater_than",
                    "less_than",
                    "in",
                    "exists"
                  ],
                  "type": "string"
                },
                "value": {}
              },
              "required": [
                "field",
                "op"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "updated_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "rules",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "PostSupportBody": {
        "properties": {
          "attachment_ids": {
            "items": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            },
            "maxItems": 5,
            "type": "array"
          },
          "message": {
            "maxLength": 10000,
            "minLength": 1,
            "type": "string"
          },
          "related_id": {
            "anyOf": [
              {
                "maxLength": 200,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "related_type": {
            "anyOf": [
              {
                "enum": [
                  "domain",
                  "email",
                  "api_key",
                  "webhook"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "subject": {
            "maxLength": 140,
            "minLength": 1,
            "type": "string"
          },
          "topic": {
            "enum": [
              "sending",
              "domains",
              "deliverability",
              "guardrails_and_limits",
              "trust_and_appeals",
              "webhooks",
              "api_sdk_mcp",
              "billing",
              "account_and_security",
              "other"
            ],
            "type": "string"
          }
        },
        "required": [
          "topic",
          "subject",
          "message"
        ],
        "type": "object"
      },
      "PostSupportBy_refCsatBody": {
        "properties": {
          "comment": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "score": {
            "maximum": 5,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "score"
        ],
        "type": "object"
      },
      "PostSupportBy_refCsatReply": {
        "properties": {
          "ok": {
            "const": true,
            "type": "boolean"
          }
        },
        "required": [
          "ok"
        ],
        "type": "object"
      },
      "PostSupportBy_refMessagesBody": {
        "properties": {
          "attachment_ids": {
            "items": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            },
            "maxItems": 5,
            "type": "array"
          },
          "message": {
            "maxLength": 10000,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "type": "object"
      },
      "PostSupportBy_refMessagesReply": {
        "properties": {
          "attachments": {
            "items": {
              "properties": {
                "download_url": {
                  "type": "string"
                },
                "expired": {
                  "type": "boolean"
                },
                "filename": {
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "is_image": {
                  "type": "boolean"
                },
                "mime_type": {
                  "type": "string"
                },
                "size_bytes": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "id",
                "filename",
                "mime_type",
                "size_bytes",
                "is_image",
                "expired"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "author_name": {
            "type": "string"
          },
          "author_type": {
            "enum": [
              "customer",
              "operator",
              "system"
            ],
            "type": "string"
          },
          "body_html": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "body_text": {
            "type": "string"
          },
          "channel": {
            "enum": [
              "form",
              "email",
              "mcp",
              "admin"
            ],
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "ticket_id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "visibility": {
            "enum": [
              "public",
              "internal",
              "system"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "ticket_id",
          "author_type",
          "author_name",
          "visibility",
          "channel",
          "body_text",
          "body_html",
          "attachments",
          "created_at"
        ],
        "type": "object"
      },
      "PostSupportBy_refReopenBody": {
        "properties": {},
        "type": "object"
      },
      "PostSupportBy_refResolveBody": {
        "properties": {},
        "type": "object"
      },
      "PostSupportReply": {
        "properties": {
          "can_reopen": {
            "type": "boolean"
          },
          "closed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "csat_score": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "has_unread_reply": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "last_message_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "last_message_preview": {
            "type": "string"
          },
          "message_count": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "messages": {
            "items": {
              "properties": {
                "attachments": {
                  "items": {
                    "properties": {
                      "download_url": {
                        "type": "string"
                      },
                      "expired": {
                        "type": "boolean"
                      },
                      "filename": {
                        "type": "string"
                      },
                      "id": {
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                        "type": "string"
                      },
                      "is_image": {
                        "type": "boolean"
                      },
                      "mime_type": {
                        "type": "string"
                      },
                      "size_bytes": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      }
                    },
                    "required": [
                      "id",
                      "filename",
                      "mime_type",
                      "size_bytes",
                      "is_image",
                      "expired"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "author_name": {
                  "type": "string"
                },
                "author_type": {
                  "enum": [
                    "customer",
                    "operator",
                    "system"
                  ],
                  "type": "string"
                },
                "body_html": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "body_text": {
                  "type": "string"
                },
                "channel": {
                  "enum": [
                    "form",
                    "email",
                    "mcp",
                    "admin"
                  ],
                  "type": "string"
                },
                "created_at": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "ticket_id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "visibility": {
                  "enum": [
                    "public",
                    "internal",
                    "system"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "id",
                "ticket_id",
                "author_type",
                "author_name",
                "visibility",
                "channel",
                "body_text",
                "body_html",
                "attachments",
                "created_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "ref": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "ref_label": {
            "type": "string"
          },
          "related_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "related_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "resolved_at": {
            "anyOf": [
              {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "enum": [
              "open",
              "waiting_on_us",
              "waiting_on_customer",
              "resolved",
              "closed"
            ],
            "type": "string"
          },
          "status_label": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "topic": {
            "enum": [
              "sending",
              "domains",
              "deliverability",
              "guardrails_and_limits",
              "trust_and_appeals",
              "webhooks",
              "api_sdk_mcp",
              "billing",
              "account_and_security",
              "other"
            ],
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "ref",
          "ref_label",
          "subject",
          "topic",
          "status",
          "status_label",
          "last_message_at",
          "last_message_preview",
          "has_unread_reply",
          "message_count",
          "created_at",
          "updated_at",
          "related_type",
          "related_id",
          "resolved_at",
          "closed_at",
          "can_reopen",
          "csat_score",
          "messages"
        ],
        "type": "object"
      },
      "PostSupportUploadsBody": {
        "properties": {
          "files": {
            "items": {
              "properties": {
                "content_base64": {
                  "minLength": 1,
                  "type": "string"
                },
                "filename": {
                  "maxLength": 255,
                  "minLength": 1,
                  "type": "string"
                },
                "mime_type": {
                  "maxLength": 200,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "filename",
                "mime_type",
                "content_base64"
              ],
              "type": "object"
            },
            "maxItems": 5,
            "minItems": 1,
            "type": "array"
          }
        },
        "required": [
          "files"
        ],
        "type": "object"
      },
      "PostSupportUploadsReply": {
        "properties": {
          "files": {
            "items": {
              "properties": {
                "filename": {
                  "type": "string"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "mime_type": {
                  "type": "string"
                },
                "size_bytes": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "id",
                "filename",
                "mime_type",
                "size_bytes"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "files"
        ],
        "type": "object"
      },
      "PostSuppressionsBatchAddBody": {
        "properties": {
          "emails": {
            "items": {
              "maxLength": 320,
              "minLength": 3,
              "type": "string"
            },
            "maxItems": 500,
            "minItems": 1,
            "type": "array"
          },
          "level": {
            "enum": [
              "address",
              "domain"
            ],
            "type": "string"
          }
        },
        "required": [
          "emails"
        ],
        "type": "object"
      },
      "PostSuppressionsBatchAddReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "email": {
                  "type": "string"
                },
                "error": {
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "docs_url": {
                      "type": "string"
                    },
                    "fix": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "message",
                    "fix",
                    "docs_url"
                  ],
                  "type": "object"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "index": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "status": {
                  "enum": [
                    "added",
                    "removed",
                    "not_found",
                    "rejected"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "index",
                "email",
                "status"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "PostSuppressionsBatchRemoveReply": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "email": {
                  "type": "string"
                },
                "error": {
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "docs_url": {
                      "type": "string"
                    },
                    "fix": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "message",
                    "fix",
                    "docs_url"
                  ],
                  "type": "object"
                },
                "id": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "index": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "status": {
                  "enum": [
                    "added",
                    "removed",
                    "not_found",
                    "rejected"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "index",
                "email",
                "status"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "PostSuppressionsBody": {
        "properties": {
          "email": {
            "maxLength": 320,
            "minLength": 3,
            "type": "string"
          },
          "level": {
            "enum": [
              "address",
              "domain"
            ],
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "type": "object"
      },
      "PostSuppressionsReply": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "level": {
            "enum": [
              "address",
              "domain",
              "global"
            ],
            "type": "string"
          },
          "origin": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "email",
          "level",
          "origin",
          "created_at"
        ],
        "type": "object"
      },
      "PostTeamInvitesBody": {
        "properties": {
          "email": {
            "format": "email",
            "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
            "type": "string"
          },
          "role": {
            "default": "viewer",
            "enum": [
              "owner",
              "admin",
              "viewer"
            ],
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "type": "object"
      },
      "PostTeamInvitesReply": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "expires_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "invited_by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "invited_by_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "enum": [
              "owner",
              "admin",
              "viewer"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "email",
          "role",
          "invited_by",
          "invited_by_email",
          "expires_at",
          "created_at"
        ],
        "type": "object"
      },
      "PostTemplatesBody": {
        "properties": {
          "content": {
            "anyOf": [
              {
                "properties": {
                  "blocks": {
                    "items": {
                      "anyOf": [
                        {
                          "properties": {
                            "body": {
                              "type": "string"
                            },
                            "kind": {
                              "const": "text",
                              "type": "string"
                            }
                          },
                          "required": [
                            "kind",
                            "body"
                          ],
                          "type": "object"
                        },
                        {
                          "properties": {
                            "html": {
                              "type": "string"
                            },
                            "kind": {
                              "const": "raw",
                              "type": "string"
                            }
                          },
                          "required": [
                            "kind",
                            "html"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "minItems": 1,
                    "type": "array"
                  },
                  "mode": {
                    "const": "block",
                    "type": "string"
                  }
                },
                "required": [
                  "mode",
                  "blocks"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "mode": {
                    "enum": [
                      "markdown",
                      "html"
                    ],
                    "type": "string"
                  },
                  "source": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "mode",
                  "source"
                ],
                "type": "object"
              }
            ]
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "subject": {
            "maxLength": 998,
            "minLength": 1,
            "type": "string"
          },
          "variables": {
            "items": {
              "properties": {
                "default": {
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "required": {
                  "type": "boolean"
                },
                "type": {
                  "enum": [
                    "string",
                    "number",
                    "boolean"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "name",
                "type"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "name",
          "subject",
          "content"
        ],
        "type": "object"
      },
      "PostTemplatesBy_idDuplicateBody": {
        "properties": {
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "PostTemplatesBy_idPublishReply": {
        "properties": {
          "template": {
            "properties": {
              "created_at": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              "current_version_number": {
                "anyOf": [
                  {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "draft_content": {
                "anyOf": [
                  {
                    "anyOf": [
                      {
                        "properties": {
                          "blocks": {
                            "items": {
                              "anyOf": [
                                {
                                  "properties": {
                                    "body": {
                                      "type": "string"
                                    },
                                    "kind": {
                                      "const": "text",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "body"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "properties": {
                                    "html": {
                                      "type": "string"
                                    },
                                    "kind": {
                                      "const": "raw",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "html"
                                  ],
                                  "type": "object"
                                }
                              ]
                            },
                            "minItems": 1,
                            "type": "array"
                          },
                          "mode": {
                            "const": "block",
                            "type": "string"
                          }
                        },
                        "required": [
                          "mode",
                          "blocks"
                        ],
                        "type": "object"
                      },
                      {
                        "properties": {
                          "mode": {
                            "enum": [
                              "markdown",
                              "html"
                            ],
                            "type": "string"
                          },
                          "source": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "mode",
                          "source"
                        ],
                        "type": "object"
                      }
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "draft_subject": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "draft_variables": {
                "anyOf": [
                  {
                    "items": {
                      "properties": {
                        "default": {
                          "type": "string"
                        },
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "required": {
                          "type": "boolean"
                        },
                        "type": {
                          "enum": [
                            "string",
                            "number",
                            "boolean"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "type"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "draft",
                  "published"
                ],
                "type": "string"
              },
              "updated_at": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "status",
              "current_version_number",
              "draft_content",
              "draft_variables",
              "draft_subject",
              "created_at",
              "updated_at"
            ],
            "type": "object"
          },
          "version": {
            "properties": {
              "content": {
                "anyOf": [
                  {
                    "properties": {
                      "blocks": {
                        "items": {
                          "anyOf": [
                            {
                              "properties": {
                                "body": {
                                  "type": "string"
                                },
                                "kind": {
                                  "const": "text",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "body"
                              ],
                              "type": "object"
                            },
                            {
                              "properties": {
                                "html": {
                                  "type": "string"
                                },
                                "kind": {
                                  "const": "raw",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "html"
                              ],
                              "type": "object"
                            }
                          ]
                        },
                        "minItems": 1,
                        "type": "array"
                      },
                      "mode": {
                        "const": "block",
                        "type": "string"
                      }
                    },
                    "required": [
                      "mode",
                      "blocks"
                    ],
                    "type": "object"
                  },
                  {
                    "properties": {
                      "mode": {
                        "enum": [
                          "markdown",
                          "html"
                        ],
                        "type": "string"
                      },
                      "source": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "mode",
                      "source"
                    ],
                    "type": "object"
                  }
                ]
              },
              "created_at": {
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                "type": "string"
              },
              "id": {
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "type": "string"
              },
              "rolled_back_from": {
                "anyOf": [
                  {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "enum": [
                  "draft",
                  "published"
                ],
                "type": "string"
              },
              "subject": {
                "type": "string"
              },
              "template_id": {
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "type": "string"
              },
              "variables": {
                "items": {
                  "properties": {
                    "default": {
                      "type": "string"
                    },
                    "name": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "required": {
                      "type": "boolean"
                    },
                    "type": {
                      "enum": [
                        "string",
                        "number",
                        "boolean"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "type"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "version_number": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              }
            },
            "required": [
              "id",
              "template_id",
              "version_number",
              "status",
              "content",
              "variables",
              "subject",
              "rolled_back_from",
              "created_at"
            ],
            "type": "object"
          }
        },
        "required": [
          "template",
          "version"
        ],
        "type": "object"
      },
      "PostTemplatesBy_idRenderBody": {
        "properties": {
          "values": {
            "additionalProperties": {},
            "default": {},
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "version_number": {
            "anyOf": [
              {
                "const": "draft",
                "type": "string"
              },
              {
                "maximum": 9007199254740991,
                "minimum": 1,
                "type": "integer"
              }
            ]
          }
        },
        "type": "object"
      },
      "PostTemplatesBy_idRenderReply": {
        "properties": {
          "rendered": {
            "type": "string"
          }
        },
        "required": [
          "rendered"
        ],
        "type": "object"
      },
      "PostTemplatesBy_idRollbackBody": {
        "properties": {
          "to_version": {
            "maximum": 9007199254740991,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "to_version"
        ],
        "type": "object"
      },
      "PostTemplatesReply": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "current_version_number": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "draft_content": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "properties": {
                      "blocks": {
                        "items": {
                          "anyOf": [
                            {
                              "properties": {
                                "body": {
                                  "type": "string"
                                },
                                "kind": {
                                  "const": "text",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "body"
                              ],
                              "type": "object"
                            },
                            {
                              "properties": {
                                "html": {
                                  "type": "string"
                                },
                                "kind": {
                                  "const": "raw",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "html"
                              ],
                              "type": "object"
                            }
                          ]
                        },
                        "minItems": 1,
                        "type": "array"
                      },
                      "mode": {
                        "const": "block",
                        "type": "string"
                      }
                    },
                    "required": [
                      "mode",
                      "blocks"
                    ],
                    "type": "object"
                  },
                  {
                    "properties": {
                      "mode": {
                        "enum": [
                          "markdown",
                          "html"
                        ],
                        "type": "string"
                      },
                      "source": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "mode",
                      "source"
                    ],
                    "type": "object"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "draft_subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "draft_variables": {
            "anyOf": [
              {
                "items": {
                  "properties": {
                    "default": {
                      "type": "string"
                    },
                    "name": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "required": {
                      "type": "boolean"
                    },
                    "type": {
                      "enum": [
                        "string",
                        "number",
                        "boolean"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "type"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "enum": [
              "draft",
              "published"
            ],
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "status",
          "current_version_number",
          "draft_content",
          "draft_variables",
          "draft_subject",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "PostTopicsBody": {
        "properties": {
          "default_subscribed": {
            "type": "boolean"
          },
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "PostTopicsReply": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "default_subscribed": {
            "type": "boolean"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "default_subscribed",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "PostTrustAppealBody": {
        "properties": {
          "reason": {
            "maxLength": 4000,
            "minLength": 10,
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "PostTrustRemediationBody": {
        "properties": {
          "done": {
            "type": "boolean"
          },
          "key": {
            "maxLength": 120,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "key",
          "done"
        ],
        "type": "object"
      },
      "PostWebhooksBody": {
        "properties": {
          "events": {
            "items": {
              "anyOf": [
                {
                  "const": "*",
                  "type": "string"
                },
                {
                  "enum": [
                    "email.queued",
                    "email.sent",
                    "email.delivered",
                    "email.delivery_delayed",
                    "email.bounced",
                    "email.complained",
                    "email.opened",
                    "email.clicked",
                    "email.failed",
                    "email.scheduled",
                    "email.canceled",
                    "email.suppressed",
                    "domain.created",
                    "domain.verified",
                    "domain.failed",
                    "domain.updated",
                    "domain.deleted",
                    "suppression.added",
                    "suppression.removed",
                    "limit.warning",
                    "limit.exceeded",
                    "agent.approval_requested",
                    "agent.approved",
                    "agent.rejected",
                    "agent.killed",
                    "contact.created",
                    "contact.updated",
                    "contact.deleted",
                    "segment.joined",
                    "segment.left",
                    "segment.created",
                    "segment.updated",
                    "segment.deleted",
                    "broadcast.scheduled",
                    "broadcast.sent",
                    "broadcast.updated",
                    "automation.triggered",
                    "email.received",
                    "topic.created",
                    "topic.updated",
                    "topic.deleted",
                    "contact.subscribed",
                    "contact.unsubscribed",
                    "trust.warning",
                    "trust.throttled",
                    "trust.paused",
                    "trust.appealed",
                    "trust.restored"
                  ],
                  "type": "string"
                }
              ]
            },
            "maxItems": 64,
            "minItems": 1,
            "type": "array"
          },
          "svix_compat": {
            "type": "boolean"
          },
          "url": {
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "PostWebhooksBy_idReplayReply": {
        "anyOf": [
          {
            "properties": {
              "count": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              }
            },
            "required": [
              "count"
            ],
            "type": "object"
          },
          {
            "properties": {
              "delivery_ids": {
                "items": {
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "type": "array"
              },
              "replayed": {
                "maximum": 9007199254740991,
                "minimum": -9007199254740991,
                "type": "integer"
              },
              "truncated": {
                "type": "boolean"
              }
            },
            "required": [
              "replayed",
              "delivery_ids",
              "truncated"
            ],
            "type": "object"
          }
        ]
      },
      "PostWebhooksBy_idRotate_secretReply": {
        "properties": {
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "rotated_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "secret": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "secret",
          "rotated_at"
        ],
        "type": "object"
      },
      "PostWebhooksReply": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "disabled": {
            "type": "boolean"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "secret": {
            "type": "string"
          },
          "svix_compat": {
            "type": "boolean"
          },
          "updated_at": {
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "url",
          "events",
          "disabled",
          "svix_compat",
          "created_at",
          "updated_at",
          "secret"
        ],
        "type": "object"
      },
      "PostWebhooksStripeReply": {
        "properties": {
          "event_id": {
            "type": "string"
          },
          "event_type": {
            "type": "string"
          },
          "received": {
            "const": true,
            "type": "boolean"
          },
          "status": {
            "enum": [
              "applied",
              "ignored",
              "duplicate"
            ],
            "type": "string"
          }
        },
        "required": [
          "received",
          "status",
          "event_id",
          "event_type"
        ],
        "type": "object"
      }
    }
  },
  "info": {
    "description": "Agent-first email API. Every error names the fix.",
    "title": "AgentiSend API",
    "version": "0.1.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/account": {
      "delete": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteAccountReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Close this account: revoke every key, pause every budget, suspend sending. Data stays readable and exportable until the retention window ends.",
        "tags": [
          "accounts"
        ]
      },
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "This account: lifecycle status, the reason it is in that state, and when it was created. Sandboxed accounts may only send to their own verified domains.",
        "tags": [
          "accounts"
        ]
      }
    },
    "/account/export": {
      "get": {
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Everything this account owns, as a zip: emails.csv (inside your retention window), suppressions.csv and domains.json. No job, no wait.",
        "tags": [
          "accounts"
        ]
      }
    },
    "/account/onboarding": {
      "patch": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchAccountOnboardingBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Console: the onboarding answers — your name, the company (which becomes the account name), the website, what you will send and roughly how much. Send completed: true to finish; only your name is required.",
        "tags": [
          "accounts"
        ]
      }
    },
    "/agent-actions": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "enum": [
                "pending",
                "approved",
                "rejected",
                "killed"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAgent_actionsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every held agent action, newest first — nothing waits invisibly. Filter by state to read the inbox or the audit trail.",
        "tags": [
          "agent-actions"
        ]
      }
    },
    "/agent-actions/{id}/approve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostAgent_actionsBy_idApproveReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Execute the held send through the normal accept path. A person signed in to the console decides; the action row records who and when.",
        "tags": [
          "agent-actions"
        ]
      }
    },
    "/agent-actions/{id}/reject": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostAgent_actionsBy_idRejectBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostAgent_actionsBy_idRejectReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Refuse the held send. A person signed in to the console decides; the reason is preserved with the row.",
        "tags": [
          "agent-actions"
        ]
      }
    },
    "/api-keys": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetApi_keysReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "List API keys with 30-day request counts. Permission, domain scope and the key’s own budget ceiling are always returned (PRD F3); never the token.",
        "tags": [
          "api-keys"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostApi_keysBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostApi_keysReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Create an API key. The token is shown exactly once.",
        "tags": [
          "api-keys"
        ]
      }
    },
    "/api-keys/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteApi_keysBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Revoke an API key immediately.",
        "tags": [
          "api-keys"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchApi_keysBy_idBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PatchApi_keysBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Rename a key or change its domain scope and scopes. The token is unchanged — use POST /api-keys/:id/rotate for that.",
        "tags": [
          "api-keys"
        ]
      }
    },
    "/api-keys/{id}/rotate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostApi_keysBy_idRotateBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostApi_keysBy_idRotateReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Rotate an API key. The new token is returned once; the token it replaces keeps working for grace_hours (0, 1 or 24).",
        "tags": [
          "api-keys"
        ]
      }
    },
    "/audit-log": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "actor",
            "required": false,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "action",
            "required": false,
            "schema": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAudit_logReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Everything anyone changed on this account: keys, the kill switch, domains, approvals, standing, team and notification settings — with what each one looked like before. Newest first.",
        "tags": [
          "audit"
        ]
      }
    },
    "/automations": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAutomationsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every automation on the account.",
        "tags": [
          "automations"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostAutomationsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostAutomationsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Draft an automation: a trigger plus ordered steps (email, webhook, A/B split).",
        "tags": [
          "automations"
        ]
      }
    },
    "/automations/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostAutomationsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "One automation.",
        "tags": [
          "automations"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchAutomationsBy_idBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostAutomationsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Edit a draft or disabled automation. Enabling snapshots a version — a running automation never executes a half-edited definition.",
        "tags": [
          "automations"
        ]
      }
    },
    "/automations/{id}/disable": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostAutomationsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Stop firing. Versions stay for audit.",
        "tags": [
          "automations"
        ]
      }
    },
    "/automations/{id}/enable": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostAutomationsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Snapshot trigger+steps as an immutable version and start firing.",
        "tags": [
          "automations"
        ]
      }
    },
    "/automations/{id}/runs": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "running",
                "succeeded",
                "failed"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAutomationsBy_idRunsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every time this automation fired, newest first — the answer to \"did it run?\", which the engine used to throw away.",
        "tags": [
          "automations"
        ]
      }
    },
    "/automations/{id}/runs/{run_id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAutomationsBy_idRunsBy_run_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "One run with every step: what it did, what it returned, and the sentence for the ones that failed.",
        "tags": [
          "automations"
        ]
      }
    },
    "/automations/{id}/versions": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAutomationsBy_idVersionsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every immutable version, oldest first.",
        "tags": [
          "automations"
        ]
      }
    },
    "/billing": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Plan, usage against each published limit, and what the next tier changes.",
        "tags": [
          "usage"
        ]
      }
    },
    "/billing/checkout": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostBillingCheckoutBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostBillingCheckoutReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Console: start a Stripe Checkout for a tier and billing term (monthly, or yearly once it is on sale).",
        "tags": [
          "billing"
        ]
      }
    },
    "/billing/plan": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingPlanReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "The plan in force, the 14-day Pro trial, the plans and terms on offer, and whether the signed-in person must choose a plan now.",
        "tags": [
          "billing"
        ]
      }
    },
    "/billing/portal": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostBillingPortalReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Console: open the Stripe customer portal (plan changes, card, invoices).",
        "tags": [
          "billing"
        ]
      }
    },
    "/billing/subscription": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingPlanReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Console: the signed-in account’s plan and subscription state.",
        "tags": [
          "billing"
        ]
      }
    },
    "/billing/trial": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingPlanReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Console: start the 14-day Pro trial — no card, up to 3,000 emails, once per account. Owners and admins.",
        "tags": [
          "billing"
        ]
      }
    },
    "/broadcasts": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBroadcastsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every broadcast, newest first — archived included.",
        "tags": [
          "broadcasts"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostBroadcastsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostBroadcastsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Draft a broadcast to a segment. Content comes from a template version or an inline body.",
        "tags": [
          "broadcasts"
        ]
      }
    },
    "/broadcasts/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostBroadcastsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "One broadcast.",
        "tags": [
          "broadcasts"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchBroadcastsBy_idBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostBroadcastsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Edit a DRAFT — or rename ANY broadcast. Sent content is immutable.",
        "tags": [
          "broadcasts"
        ]
      }
    },
    "/broadcasts/{id}/archive": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostBroadcastsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Archive — reversible, any time, sent or draft.",
        "tags": [
          "broadcasts"
        ]
      }
    },
    "/broadcasts/{id}/cancel": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostBroadcastsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Cancel a scheduled broadcast before it sends. It returns to draft, editable and re-schedulable.",
        "tags": [
          "broadcasts"
        ]
      }
    },
    "/broadcasts/{id}/messages": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBroadcastsBy_idMessagesReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Per-member delivery state for this broadcast.",
        "tags": [
          "broadcasts"
        ]
      }
    },
    "/broadcasts/{id}/send": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostBroadcastsBy_idSendReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Send now. Content is SNAPSHOTTED: the segment is evaluated and every member rendered with their properties; the result is immutable.",
        "tags": [
          "broadcasts"
        ]
      }
    },
    "/contacts": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "email",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "List contacts, newest first.",
        "tags": [
          "contacts"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostContactsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostContactsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Create or update a contact by email. Properties are typed from their value and auto-created — nothing needs pre-declaring.",
        "tags": [
          "contacts"
        ]
      }
    },
    "/contacts/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteContactsBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Delete one contact and its properties.",
        "tags": [
          "contacts"
        ]
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostContactsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "One contact with its properties.",
        "tags": [
          "contacts"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchContactsBy_idBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostContactsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Edit one contact by id: address, status, properties. Properties merge; an explicit null removes one.",
        "tags": [
          "contacts"
        ]
      }
    },
    "/contacts/{id}/topics": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsBy_idTopicsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "What this contact has said about every topic. A topic they never answered reports the topic default, and says so.",
        "tags": [
          "contacts"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchContactsBy_idTopicsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PatchContactsBy_idTopicsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Record this contact’s answer for one or more topics. Answers are absolute — nothing is inferred from what is left out.",
        "tags": [
          "contacts"
        ]
      }
    },
    "/dedicated-ips": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDedicated_ipsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "This account dedicated IPs with live warmup percentages.",
        "tags": [
          "dedicated-ips"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostDedicated_ipsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostDedicated_ipsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Provision a dedicated IP for this account. It starts warming on the published curve.",
        "tags": [
          "dedicated-ips"
        ]
      }
    },
    "/dedicated-ips/ramp": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDedicated_ipsRampReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "The PUBLISHED warmup curve — exactly how volume moves and when.",
        "tags": [
          "dedicated-ips"
        ]
      }
    },
    "/dedicated-ips/route-decision/{messageId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "messageId",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDedicated_ipsRoute_decisionBy_messageIdReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Which route this message would take RIGHT NOW — reproducible, the same math the send path uses.",
        "tags": [
          "dedicated-ips"
        ]
      }
    },
    "/dedicated-ips/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteDedicated_ipsBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Release a dedicated IP. Traffic returns to shared automatically.",
        "tags": [
          "dedicated-ips"
        ]
      }
    },
    "/deliverability/dmarc": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "domain",
            "required": false,
            "schema": {
              "maxLength": 253,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "window_days",
            "required": false,
            "schema": {
              "maximum": 90,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDeliverabilityDmarcReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Aggregate authentication reports for your domains. Aligned and failing volume per day, and every address sending as you, flagged when it is not one of ours.",
        "tags": [
          "deliverability"
        ]
      }
    },
    "/deliverability/domains": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "window_days",
            "required": false,
            "schema": {
              "maximum": 9007199254740991,
              "minimum": -9007199254740991,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDeliverabilityDomainsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every sending domain with its standing over the window, worst first — the failing domain is the first row, not one you have to find.",
        "tags": [
          "deliverability"
        ]
      }
    },
    "/deliverability/domains/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "window_days",
            "required": false,
            "schema": {
              "maximum": 9007199254740991,
              "minimum": -9007199254740991,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDeliverabilityDomainsBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Per-domain reputation: live rates over the rolling window, daily snapshots, the thresholds those rates are judged against, the bounce breakdown by class with its remediation, and the receiving domains rejecting the most.",
        "tags": [
          "deliverability"
        ]
      }
    },
    "/deliverability/domains/{id}/snapshot": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostDeliverabilityDomainsBy_idSnapshotReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Persist today rates as a snapshot row. Idempotent per domain per day.",
        "tags": [
          "deliverability"
        ]
      }
    },
    "/domains": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDomainsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "List domains. Items omit records; GET /domains/:id has the DNS sheet.",
        "tags": [
          "domains"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostDomainsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostDomainsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Register a sending domain. Region is optional and defaults to us (Oregon); the stored value is returned.",
        "tags": [
          "domains"
        ]
      }
    },
    "/domains/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteDomainsBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Remove a domain and its records. Messages already sent keep their history.",
        "tags": [
          "domains"
        ]
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostDomainsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "One domain, with the DNS to publish and what each record last resolved to.",
        "tags": [
          "domains"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchDomainsBy_idBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostDomainsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Turn click or open tracking on, or change the tracking subdomain. Name, region and return-path cannot change.",
        "tags": [
          "domains"
        ]
      }
    },
    "/domains/{id}/connect": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDomainsBy_idConnectReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Domain Connect: detect the DNS provider from the live nameservers and hand back the exact records to add.",
        "tags": [
          "domains"
        ]
      }
    },
    "/domains/{id}/verify": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostDomainsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Re-check every record and update the domain’s status.",
        "tags": [
          "domains"
        ]
      }
    },
    "/emails": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "description": "One status, or several comma-separated. One of: queued, scheduled, sent, delivered, delivery_delayed, bounced, complained, opened, clicked, failed, canceled, suppressed.",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "maxLength": 200,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "domain",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "bounce_class",
            "required": false,
            "schema": {
              "description": "Only messages whose bounce falls in this class. Implies status=bounced.",
              "enum": [
                "hard",
                "soft",
                "block",
                "policy"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "api_key_id",
            "required": false,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "template_id",
            "required": false,
            "schema": {
              "description": "Only mail rendered from this template.",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "since",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "until",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmailsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "List messages. Every console filter is a query param here (PRD F3).",
        "tags": [
          "emails"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostEmailsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEmailsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Send an email. Returns the message id; delivery happens on the queue.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/batch": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostEmailsBatchBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEmailsBatchReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Send up to 500 emails. Each item succeeds or fails on its own — read data[i].status.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/bulk-cancel": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostEmailsBulk_cancelBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEmailsBulk_cancelReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Cancel many emails at once: by explicit ids or every scheduled/queued email before a time.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/export.csv": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "description": "One status, or several comma-separated. One of: queued, scheduled, sent, delivered, delivery_delayed, bounced, complained, opened, clicked, failed, canceled, suppressed.",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "maxLength": 200,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "domain",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "bounce_class",
            "required": false,
            "schema": {
              "description": "Only messages whose bounce falls in this class. Implies status=bounced.",
              "enum": [
                "hard",
                "soft",
                "block",
                "policy"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "api_key_id",
            "required": false,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "template_id",
            "required": false,
            "schema": {
              "description": "Only mail rendered from this template.",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "since",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "until",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "The message log as CSV — yours, take it with you.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/lint": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostEmailsLintBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEmailsLintReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Deliverability lint without sending: a 0-100 placement score plus every finding with its fix.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/preflight": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostEmailsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEmailsPreflightReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Run EVERY send gate without sending: domain, sandbox, trust, suppression, budget, loop, content, verifier. The report matches what POST /emails would do, byte for byte — one code path.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/receiving": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "maxLength": 200,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "since",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "until",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmailsReceivingReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Mail received at this account’s domains, newest first. Filter by recipient, sender or date range.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/receiving/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmailsReceivingBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "One received email: headers, text and HTML bodies as data, and the attachments it carried.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/receiving/{id}/attachments": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmailsReceivingBy_idAttachmentsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "What this received email carried. Ids are stable positions in the message.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/receiving/{id}/attachments/{aid}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "aid",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "The bytes of one received attachment, as an inert download — always octet-stream, never the sender’s declared type.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/receiving/{id}/raw": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "The stored RFC 5322 source, byte for byte. Served as an attachment with sniffing off — it is someone else’s content.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmailsBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Fetch one message with its current status and last event.",
        "tags": [
          "emails"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchEmailsBy_idBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PatchEmailsBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Move a scheduled email to a new time — the same act as POST /emails/:id/reschedule, under the verb a Resend integration already uses.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/{id}/attachments": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmailsBy_idAttachmentsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "What this email carried. Ids are stable positions; bytes_available says whether the payload is still retrievable.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/{id}/attachments/{aid}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "aid",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "The bytes of one attachment, exactly as they were sent. Served as an inert download.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/{id}/cancel": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEmailsBy_idCancelReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Cancel a scheduled or queued email. Already-sent mail is history, not cancellable.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/{id}/eml": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Download this email as .eml.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/{id}/events": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmailsBy_idEventsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every event recorded for one message, oldest first, with the provider detail.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/{id}/explain": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmailsBy_idExplainReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "What happened to this email, the evidence, and the exact calls that fix it — machine-readable remediation.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/{id}/mime": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmailsBy_idMimeReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "The exact RFC 5322 source of this email — what Resend never shows you.",
        "tags": [
          "emails"
        ]
      }
    },
    "/emails/{id}/reschedule": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostEmailsBy_idRescheduleBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEmailsBy_idRescheduleReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Move an email to a new time. Works from scheduled AND canceled — a cancel is never terminal.",
        "tags": [
          "emails"
        ]
      }
    },
    "/events": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEventsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every custom event this account has declared, with its typed schema and when it was last seen.",
        "tags": [
          "automations"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostEventsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostEventsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Ingest a custom event. Matching enabled automations fire synchronously (202 once enqueued).",
        "tags": [
          "automations"
        ]
      }
    },
    "/events/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteEventsBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Forget an event definition. Ingest keeps accepting the event — it just stops being checked.",
        "tags": [
          "automations"
        ]
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEventsBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "One event definition.",
        "tags": [
          "automations"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchEventsBy_idBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEventsBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Declare or re-declare an event’s fields. Adding a field to a strict event starts refusing payloads that omit it — that is the point.",
        "tags": [
          "automations"
        ]
      }
    },
    "/health": {
      "get": {
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Liveness probe.",
        "tags": [
          "meta"
        ]
      }
    },
    "/invite/{token}/accept": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "maxLength": 200,
              "minLength": 10,
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostInviteBy_tokenAcceptReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Accept an invitation. Requires a session signed in as the invited address; a person who has never signed in before is provisioned into the inviting account, not a new one.",
        "tags": [
          "team"
        ]
      }
    },
    "/limits/keys": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLimitsKeysReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "The fleet: every key with its budget, ceiling, consumption, identity and current loop state.",
        "tags": [
          "limits"
        ]
      }
    },
    "/limits/keys/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLimitsKeysBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Budget, ceiling and current consumption for one key.",
        "tags": [
          "limits"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchLimitsKeysBy_idBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLimitsKeysBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Set or clear this key’s period budget and per-minute ceiling. An API key may lower its own; raising one is a person’s decision, made in the console.",
        "tags": [
          "limits"
        ]
      }
    },
    "/limits/keys/{id}/kill": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostLimitsKeysBy_idKillBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLimitsKeysBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Stop this key from sending, immediately. Takes effect on the next request.",
        "tags": [
          "limits"
        ]
      }
    },
    "/limits/keys/{id}/resume": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLimitsKeysBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Undo the kill switch. A person signed in to the console does this; budgets and ceilings are unchanged.",
        "tags": [
          "limits"
        ]
      }
    },
    "/limits/kill-all": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostLimitsKill_allBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostLimitsKill_allReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Pause every key on this account at once. Takes effect on the next request.",
        "tags": [
          "limits"
        ]
      }
    },
    "/limits/resume-all": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostLimitsResume_allBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostLimitsKill_allReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Undo the global kill switch. A person signed in to the console does this; budgets and ceilings are unchanged.",
        "tags": [
          "limits"
        ]
      }
    },
    "/logs": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "since",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "until",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "maximum": 599,
              "minimum": 100,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "status_class",
            "required": false,
            "schema": {
              "enum": [
                "2xx",
                "4xx",
                "5xx"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "method",
            "required": false,
            "schema": {
              "enum": [
                "GET",
                "POST",
                "PATCH",
                "PUT",
                "DELETE"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "route",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "error_code",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "api_key_id",
            "required": false,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLogsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every API request this account made: method, route, status, duration and the refusal code. Filter by date range, status, status class, method, route or key.",
        "tags": [
          "logs"
        ]
      }
    },
    "/logs/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLogsBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "One request, by log id. The x-request-id the caller saw is on the row.",
        "tags": [
          "logs"
        ]
      }
    },
    "/metrics": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "since",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "until",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "group_by",
            "required": false,
            "schema": {
              "description": "One or several comma-separated. One of: domain, api_key.",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "event",
            "required": false,
            "schema": {
              "enum": [
                "sent",
                "delivered",
                "bounced",
                "complained",
                "opened",
                "clicked"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "domain",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "api_key_id",
            "required": false,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetMetricsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Send/delivery/engagement KPIs with a daily series, computed from the event spine over a window.",
        "tags": [
          "metrics"
        ]
      }
    },
    "/notifications": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "enum": [
                "open",
                "resolved"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "unread",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNotificationsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Conditions this account should know about. Open rows are live; resolved ones ended. One row per condition, counted, never one per re-fire.",
        "tags": [
          "notifications"
        ]
      }
    },
    "/notifications/preferences": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNotificationsPreferencesReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Which channels each notification type uses. A type with no stored row is on for both.",
        "tags": [
          "notifications"
        ]
      },
      "patch": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchNotificationsPreferencesBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNotificationsPreferencesReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Turn a notification type on or off per channel. The gate is the type — there is no severity to mute instead.",
        "tags": [
          "notifications"
        ]
      }
    },
    "/notifications/read": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostNotificationsReadBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostNotificationsReadReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Mark notifications read. With no ids, every open row on the account is marked — the bell’s \"Mark all read\".",
        "tags": [
          "notifications"
        ]
      }
    },
    "/notifications/{id}/read": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostNotificationsBy_idReadReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Mark one notification read. Reading it never resolves it — the condition ends the row, not the reader.",
        "tags": [
          "notifications"
        ]
      }
    },
    "/openapi.json": {
      "get": {
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "OpenAPI 3.1 document generated from the same schemas that validate.",
        "tags": [
          "meta"
        ]
      }
    },
    "/segments": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSegmentsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every segment on the account.",
        "tags": [
          "segments"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSegmentsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostSegmentsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Create a dynamic segment. Rules AND together over properties and status.",
        "tags": [
          "segments"
        ]
      }
    },
    "/segments/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteSegmentsBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Delete a segment. Contacts are untouched.",
        "tags": [
          "segments"
        ]
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostSegmentsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "One segment.",
        "tags": [
          "segments"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchSegmentsBy_idBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostSegmentsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Rename or change the rules. Membership re-evaluates immediately.",
        "tags": [
          "segments"
        ]
      }
    },
    "/segments/{id}/members": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSegmentsBy_idMembersReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "The segment evaluated RIGHT NOW — live member ids, never a snapshot.",
        "tags": [
          "segments"
        ]
      }
    },
    "/status": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStatusReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Public per-component health. Every component reports what it actually checked; one that cannot be checked says so instead of claiming green.",
        "tags": [
          "meta"
        ]
      }
    },
    "/status/history": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "days",
            "required": false,
            "schema": {
              "maximum": 90,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStatusHistoryReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Daily uptime per component over the last 90 days, aggregated from the scheduled probe's own samples. A day nobody measured reports no samples rather than 100%.",
        "tags": [
          "meta"
        ]
      }
    },
    "/support": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSupportReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Support requests on this account, newest activity first.",
        "tags": [
          "support"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSupportBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostSupportReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Open a support request.",
        "tags": [
          "support"
        ]
      }
    },
    "/support/attachments/{id}/download": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Download an attachment on a request this account owns.",
        "tags": [
          "support"
        ]
      }
    },
    "/support/config": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSupportConfigReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Topics, hours and attachment limits for opening a support request.",
        "tags": [
          "support"
        ]
      }
    },
    "/support/uploads": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSupportUploadsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostSupportUploadsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Stage files to attach to a support message. JSON base64; 5 files, 10 MB each, 25 MB total.",
        "tags": [
          "support"
        ]
      }
    },
    "/support/{ref}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "ref",
            "required": true,
            "schema": {
              "maxLength": 32,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostSupportReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "One support request and its public thread.",
        "tags": [
          "support"
        ]
      }
    },
    "/support/{ref}/csat": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "ref",
            "required": true,
            "schema": {
              "maxLength": 32,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSupportBy_refCsatBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostSupportBy_refCsatReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Rate a resolved support request, 1 to 5.",
        "tags": [
          "support"
        ]
      }
    },
    "/support/{ref}/messages": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "ref",
            "required": true,
            "schema": {
              "maxLength": 32,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSupportBy_refMessagesBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostSupportBy_refMessagesReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Reply on a support request.",
        "tags": [
          "support"
        ]
      }
    },
    "/support/{ref}/reopen": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "ref",
            "required": true,
            "schema": {
              "maxLength": 32,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSupportBy_refReopenBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostSupportReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Reopen a resolved request within 14 days.",
        "tags": [
          "support"
        ]
      }
    },
    "/support/{ref}/resolve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "ref",
            "required": true,
            "schema": {
              "maxLength": 32,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSupportBy_refResolveBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostSupportReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Mark a support request resolved.",
        "tags": [
          "support"
        ]
      }
    },
    "/suppressions": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSuppressionsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every suppressed address or domain for this account (global platform rows included).",
        "tags": [
          "suppressions"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSuppressionsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostSuppressionsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Suppress an address or a whole domain (send \"@example.com\"). Idempotent — an existing row is returned.",
        "tags": [
          "suppressions"
        ]
      }
    },
    "/suppressions/batch/add": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSuppressionsBatchAddBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostSuppressionsBatchAddReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Suppress up to 500 addresses in one call. Each item succeeds or fails on its own — read data[i].status.",
        "tags": [
          "suppressions"
        ]
      }
    },
    "/suppressions/batch/remove": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSuppressionsBatchAddBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostSuppressionsBatchRemoveReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Lift up to 500 suppressions by address. An address that was not suppressed reads not_found, not an error.",
        "tags": [
          "suppressions"
        ]
      }
    },
    "/suppressions/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteSuppressionsBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Remove one suppression row. A hard bounce you have fixed can be cleared with an API key; an unsubscribe or a spam complaint is a person’s to lift, in the console.",
        "tags": [
          "suppressions"
        ]
      }
    },
    "/team/invites": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTeamInvitesReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Invitations that have not been accepted, cancelled or expired.",
        "tags": [
          "team"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTeamInvitesBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostTeamInvitesReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Invite an address at a role. The mail carries a link that only works while signed in as that address.",
        "tags": [
          "team"
        ]
      }
    },
    "/team/invites/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTeamInvitesBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Cancel a pending invitation. The link in the email stops working immediately.",
        "tags": [
          "team"
        ]
      }
    },
    "/team/me": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTeamMeReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Your membership on this account: your role, and the seats the plan allows.",
        "tags": [
          "team"
        ]
      }
    },
    "/team/members": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTeamMembersReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Everyone on this account and the role each one holds. Owner, admin, viewer — three roles, and seats are never billed per seat.",
        "tags": [
          "team"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTeamInvitesBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostTeamInvitesReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Add someone to this account. Membership begins when they accept, so this returns the pending invitation — the same call as POST /team/invites.",
        "tags": [
          "team"
        ]
      }
    },
    "/team/members/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTeamMembersBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Remove a member. Their sends and keys stay; only their access ends. The last owner cannot be removed.",
        "tags": [
          "team"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchTeamMembersBy_idBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PatchTeamMembersBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Change a member’s role. The last owner cannot be demoted.",
        "tags": [
          "team"
        ]
      }
    },
    "/templates": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTemplatesReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "List this account templates, newest first.",
        "tags": [
          "templates"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTemplatesBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostTemplatesReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Create a template draft.",
        "tags": [
          "templates"
        ]
      }
    },
    "/templates/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostTemplatesReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "One template.",
        "tags": [
          "templates"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchTemplatesBy_idBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostTemplatesReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Edit the draft. Published templates are immutable.",
        "tags": [
          "templates"
        ]
      }
    },
    "/templates/{id}/diff": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "anyOf": [
                {
                  "const": "draft",
                  "type": "string"
                },
                {
                  "maximum": 9007199254740991,
                  "minimum": 1,
                  "type": "integer"
                }
              ]
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "anyOf": [
                {
                  "const": "draft",
                  "type": "string"
                },
                {
                  "maximum": 9007199254740991,
                  "minimum": 1,
                  "type": "integer"
                }
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTemplatesBy_idDiffReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Structured diff between two versions, or between a version and the draft.",
        "tags": [
          "templates"
        ]
      }
    },
    "/templates/{id}/duplicate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTemplatesBy_idDuplicateBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostTemplatesReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Copy a template into a new editable draft. The copy carries no version history.",
        "tags": [
          "templates"
        ]
      }
    },
    "/templates/{id}/publish": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostTemplatesBy_idPublishReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Snapshot the draft as an immutable published version.",
        "tags": [
          "templates"
        ]
      }
    },
    "/templates/{id}/render": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTemplatesBy_idRenderBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostTemplatesBy_idRenderReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Render a version with variables (defaults to the current published one; pass \"draft\" for the working copy). Unknown variables fail with the names listed.",
        "tags": [
          "templates"
        ]
      }
    },
    "/templates/{id}/rollback": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTemplatesBy_idRollbackBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTemplatesBy_idVersionsBy_nReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Rollback creates a NEW draft from an older version and puts the template back into draft - history is never rewritten, and what is live does not move until that draft is published.",
        "tags": [
          "templates"
        ]
      }
    },
    "/templates/{id}/versions": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTemplatesBy_idVersionsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every immutable version, oldest first.",
        "tags": [
          "templates"
        ]
      }
    },
    "/templates/{id}/versions/{n}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "n",
            "required": true,
            "schema": {
              "maximum": 9007199254740991,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTemplatesBy_idVersionsBy_nReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "One version.",
        "tags": [
          "templates"
        ]
      }
    },
    "/topics": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTopicsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every subscription topic on the account, newest first.",
        "tags": [
          "topics"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTopicsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostTopicsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Create a subscription topic. default_subscribed=false makes it opt-in: silence means no.",
        "tags": [
          "topics"
        ]
      }
    },
    "/topics/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTopicsBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Delete a topic and every recorded answer about it.",
        "tags": [
          "topics"
        ]
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostTopicsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "One topic.",
        "tags": [
          "topics"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchTopicsBy_idBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostTopicsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Rename a topic or change its default. Changing the default never rewrites an answer a contact already gave.",
        "tags": [
          "topics"
        ]
      }
    },
    "/trust/appeal": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTrustAppealBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTrustStandingReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "File an appeal against the current standing. The reason is recorded verbatim; a human answers by sla_deadline_at.",
        "tags": [
          "trust"
        ]
      }
    },
    "/trust/remediation": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTrustRemediationReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "The remediation checklist ticks for this account. Per account, not per browser — the work one person does is done for everyone on it.",
        "tags": [
          "trust"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTrustRemediationBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTrustRemediationReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Tick or untick one remediation item. Returns the whole checklist.",
        "tags": [
          "trust"
        ]
      }
    },
    "/trust/standing": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTrustStandingReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "This account’s standing, machine-readable. An agent can query it and back off before enforcement does it for them.",
        "tags": [
          "trust"
        ]
      }
    },
    "/trust/thresholds": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTrustThresholdsReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "The published enforcement thresholds and the ladder they drive. Same constants the ladder acts on, so nothing that draws a line has to hard-code one.",
        "tags": [
          "trust"
        ]
      }
    },
    "/usage": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetUsageReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "This period usage, per key: budget, consumed, remaining, rate window, last used. The bill, made legible.",
        "tags": [
          "usage"
        ]
      }
    },
    "/webhooks": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhooksReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "List endpoints. Secrets are never returned after creation.",
        "tags": [
          "webhooks"
        ]
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostWebhooksBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostWebhooksReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Register an endpoint. The signing secret is returned exactly once.",
        "tags": [
          "webhooks"
        ]
      }
    },
    "/webhooks/stripe": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostWebhooksStripeReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Stripe → AgentiSend: signature-verified, deduplicated by event id.",
        "tags": [
          "billing"
        ]
      }
    },
    "/webhooks/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteWebhooksBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Delete an endpoint and its queued deliveries.",
        "tags": [
          "webhooks"
        ]
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhooksBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Fetch one endpoint.",
        "tags": [
          "webhooks"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchWebhooksBy_idBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhooksBy_idReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Update url, subscribed events, or the disabled flag.",
        "tags": [
          "webhooks"
        ]
      }
    },
    "/webhooks/{id}/dead-letters": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhooksBy_idDead_lettersReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Deliveries this endpoint exhausted every retry on, with the payload to inspect.",
        "tags": [
          "webhooks"
        ]
      }
    },
    "/webhooks/{id}/deliveries": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "id",
            "required": false,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "event_type",
            "required": false,
            "schema": {
              "enum": [
                "email.queued",
                "email.sent",
                "email.delivered",
                "email.delivery_delayed",
                "email.bounced",
                "email.complained",
                "email.opened",
                "email.clicked",
                "email.failed",
                "email.scheduled",
                "email.canceled",
                "email.suppressed",
                "domain.created",
                "domain.verified",
                "domain.failed",
                "domain.updated",
                "domain.deleted",
                "suppression.added",
                "suppression.removed",
                "limit.warning",
                "limit.exceeded",
                "agent.approval_requested",
                "agent.approved",
                "agent.rejected",
                "agent.killed",
                "contact.created",
                "contact.updated",
                "contact.deleted",
                "segment.joined",
                "segment.left",
                "segment.created",
                "segment.updated",
                "segment.deleted",
                "broadcast.scheduled",
                "broadcast.sent",
                "broadcast.updated",
                "automation.triggered",
                "email.received",
                "topic.created",
                "topic.updated",
                "topic.deleted",
                "contact.subscribed",
                "contact.unsubscribed",
                "trust.warning",
                "trust.throttled",
                "trust.paused",
                "trust.appealed",
                "trust.restored"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "enum": [
                "pending",
                "retrying",
                "delivered",
                "dead_lettered"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "since",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "until",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhooksBy_idDeliveriesReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Every delivery to this endpoint, with each attempt and what the receiver answered (A9).",
        "tags": [
          "webhooks"
        ]
      }
    },
    "/webhooks/{id}/replay": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "since",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "until",
            "required": false,
            "schema": {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "event_type",
            "required": false,
            "schema": {
              "enum": [
                "email.queued",
                "email.sent",
                "email.delivered",
                "email.delivery_delayed",
                "email.bounced",
                "email.complained",
                "email.opened",
                "email.clicked",
                "email.failed",
                "email.scheduled",
                "email.canceled",
                "email.suppressed",
                "domain.created",
                "domain.verified",
                "domain.failed",
                "domain.updated",
                "domain.deleted",
                "suppression.added",
                "suppression.removed",
                "limit.warning",
                "limit.exceeded",
                "agent.approval_requested",
                "agent.approved",
                "agent.rejected",
                "agent.killed",
                "contact.created",
                "contact.updated",
                "contact.deleted",
                "segment.joined",
                "segment.left",
                "segment.created",
                "segment.updated",
                "segment.deleted",
                "broadcast.scheduled",
                "broadcast.sent",
                "broadcast.updated",
                "automation.triggered",
                "email.received",
                "topic.created",
                "topic.updated",
                "topic.deleted",
                "contact.subscribed",
                "contact.unsubscribed",
                "trust.warning",
                "trust.throttled",
                "trust.paused",
                "trust.appealed",
                "trust.restored"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "event_id",
            "required": false,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "dry_run",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "const": "true",
                  "type": "string"
                },
                {
                  "const": "false",
                  "type": "string"
                },
                {
                  "type": "boolean"
                }
              ]
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostWebhooksBy_idReplayReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Re-send past events to this endpoint, by time range and/or a single event id (PRD B2).",
        "tags": [
          "webhooks"
        ]
      }
    },
    "/webhooks/{id}/rotate-secret": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostWebhooksBy_idRotate_secretReply"
                }
              }
            },
            "description": "Success",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Validation error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Missing API key",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not found",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limited",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "properties": {
                        "code": {
                          "description": "The catalogue code. Resend error names resolve onto these — see x-resend-error-aliases at the root of this document for the table a find-replace migration follows.",
                          "type": "string"
                        },
                        "docs_url": {
                          "type": "string"
                        },
                        "fix": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retry_after_seconds": {
                          "description": "Seconds to wait before retrying. Present exactly when retryable is true, absent otherwise.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "retryable": {
                          "description": "Whether repeating the identical request could succeed later. A 429 that waiting cannot cure (daily quota, trust throttle) is false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "fix",
                        "docs_url",
                        "retryable"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal server error",
            "headers": {
              "ratelimit-limit": {
                "$ref": "#/components/headers/RateLimitLimit"
              },
              "ratelimit-remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              },
              "ratelimit-reset": {
                "$ref": "#/components/headers/RateLimitReset"
              },
              "retry-after": {
                "$ref": "#/components/headers/RetryAfter"
              }
            }
          }
        },
        "summary": "Mint a new signing secret. Returned once; the old one stops verifying immediately.",
        "tags": [
          "webhooks"
        ]
      }
    }
  },
  "x-resend-error-aliases": {
    "concurrent_idempotent_requests": "idempotency_in_flight",
    "daily_quota_exceeded": "daily_quota_exceeded",
    "internal_server_error": "internal_server_error",
    "invalid_api_key": "invalid_api_key",
    "invalid_attachment": "invalid_attachment",
    "invalid_from_address": "invalid_from_address",
    "invalid_idempotent_request": "idempotency_payload_mismatch",
    "method_not_allowed": "method_not_allowed",
    "missing_api_key": "missing_api_key",
    "not_found": "not_found",
    "rate_limit_exceeded": "rate_limit_exceeded",
    "restricted_api_key": "restricted_api_key",
    "validation_error": "validation_error"
  }
}
