{"openapi":"3.1.0","info":{"title":"Azerion CDN API","description":"## Rate limits\n\nEvery response carries `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` (Unix seconds) for the most restrictive policy; a refused request is `429 rate_limited` with `Retry-After`.\n\n## Idempotency\n\nA `POST` that lists the optional `Idempotency-Key` header can be retried safely. The same key with the same request returns the stored response, with `Idempotent-Replayed: true`. A reused key with another method, path, query string or body is `422 idempotency_key_reused`. A key still in flight is `409 conflict` with `Retry-After`. If a request committed and its response was lost, the retry is `409 idempotent_request_lost_response`, and the request doesn't run again. A route can redact its stored response, so a replay of the `POST` that creates an API key has `key` null.\n\n## Errors\n\nEvery error answers `{ \"error\": { \"code\", \"message\", \"details\" } }`: `code` is stable, `message` is for people, `details` is an object. A request for another org's resource is `404`, the same as one that doesn't exist. These codes can come from many routes; a route's responses name its own.\n\n| Status | Code |\n| --- | --- |\n| 400 | `bad_request` |\n| 400 | `invalid_cursor` |\n| 401 | `invalid_code` |\n| 401 | `invalid_credentials` |\n| 401 | `mfa_required` |\n| 401 | `unauthenticated` |\n| 403 | `csrf_failed` |\n| 403 | `not_entitled` |\n| 403 | `org_suspended` |\n| 403 | `read_only` |\n| 404 | `not_found` |\n| 405 | `method_not_allowed` |\n| 409 | `conflict` |\n| 409 | `idempotent_request_lost_response` |\n| 409 | `mfa_disabled` |\n| 410 | `invitation_invalid` |\n| 410 | `reset_token_invalid` |\n| 412 | `precondition_failed` |\n| 422 | `idempotency_key_reused` |\n| 422 | `limit_exceeded` |\n| 422 | `url_not_allowed` |\n| 422 | `validation_failed` |\n| 428 | `precondition_required` |\n| 429 | `rate_limited` |\n| 500 | `internal_error` |\n| 503 | `service_unavailable` |","version":"0.1.0"},"paths":{"/v1/auth/mfa/verify":{"post":{"tags":["Authentication"],"summary":"Second factor: the TOTP code of a pending sign-in","description":"Finishes a sign-in that needs a second factor. Send the current code from the authenticator app, or a recovery code. A correct code starts an active session and sets its cookie; a wrong one is `401 invalid_credentials`.\n\nRate limit: auth.mfa: 5/60s per session.","operationId":"verify_mfa_v1_auth_mfa_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MfaVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-idempotency-opt-out":"each verify rotates the session token and sets a new cookie; a replay would hand out a stale one","x-auth":{"mode":"session"},"security":[{"clientSession":[]}],"x-rate-limit":[{"policy":"auth.mfa","limits":["5/60s"],"keyed_by":["session"]}]}},"/v1/auth/mfa/setup":{"post":{"tags":["Authentication"],"summary":"Sign-in MFA setup: a new authenticator seed for an mfa_setup_pending session","description":"For a user who must set MFA up at sign-in: returns a new seed for the authenticator app. Repeating it replaces the unconfirmed seed; a user with a confirmed seed gets `409 conflict`. The stored response has `otpauth_uri` null, so a replay doesn't show the seed.\n\nRate limit: auth.mfa: 5/60s per session.","operationId":"mfa_setup_v1_auth_mfa_setup_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MfaSetupResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"x-auth":{"mode":"session"},"security":[{"clientSession":[]}],"x-rate-limit":[{"policy":"auth.mfa","limits":["5/60s"],"keyed_by":["session"]}]}},"/v1/auth/mfa/setup/confirm":{"post":{"tags":["Authentication"],"summary":"Confirm the sign-in MFA setup: signs in and issues recovery codes","description":"A correct code confirms the seed, ends the pending session and starts an active one, and returns the recovery codes once. A wrong code is `401 invalid_code`. The stored response has `recovery_codes` null.\n\nRate limit: auth.mfa: 5/60s per session.","operationId":"mfa_setup_confirm_v1_auth_mfa_setup_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MfaSetupConfirmRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MfaSetupConfirmResponse"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"x-auth":{"mode":"session"},"security":[{"clientSession":[]}],"x-rate-limit":[{"policy":"auth.mfa","limits":["5/60s"],"keyed_by":["session"]}]}},"/v1/auth/logout":{"post":{"tags":["Authentication"],"summary":"Sign out: end the session","description":"Ends the current session and clears its cookie. Signing out twice is harmless.","operationId":"logout_v1_auth_logout_post","responses":{"204":{"description":"Successful Response"},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-idempotency-opt-out":"signing out twice is already harmless","x-auth":{"mode":"session"},"security":[{"clientSession":[]}]}},"/v1/auth/session":{"get":{"tags":["Authentication"],"summary":"The signed-in user, the session's expiry and its CSRF token","description":"Returns the signed-in user, when the session expires and the CSRF token to send on mutations. `mfa_enabled` says whether MFA is required on this platform, and `mfa_enrolled` whether this user has confirmed a seed.","operationId":"read_session_v1_auth_session_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session"},"security":[{"clientSession":[]}]}},"/v1/auth/session/keepalive":{"post":{"tags":["Authentication"],"summary":"Keep the session alive: extend its idle expiry","description":"Called by a console on real user activity. Extends the session's idle expiry (never past its absolute expiry) and returns the session's expiry. No body.\n\nRate limit: auth.keepalive: 10/60s per session.","operationId":"keepalive_session_v1_auth_session_keepalive_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionInfo"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-idempotency-opt-out":"repeat calls only move the idle timer forward","x-auth":{"mode":"session"},"security":[{"clientSession":[]}],"x-rate-limit":[{"policy":"auth.keepalive","limits":["10/60s"],"keyed_by":["session"]}]}},"/v1/auth/password-change":{"post":{"tags":["Authentication"],"summary":"Change your password; ends your other sessions","description":"Sets a new password after checking the current one. Your other sessions end; this one continues with a new cookie and CSRF token.\n\nRate limit: auth.self_service: 10/3600s per session.","operationId":"change_password_v1_auth_password_change_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChangeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChangeResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-idempotency-opt-out":"a replay would hand out a stale csrf_token and a stale cookie","x-auth":{"mode":"session"},"security":[{"clientSession":[]}],"x-rate-limit":[{"policy":"auth.self_service","limits":["10/3600s"],"keyed_by":["session"]}]}},"/v1/auth/mfa/enrol":{"post":{"tags":["Authentication"],"summary":"Start moving MFA to a new device","description":"Starts moving MFA to a new device: send your password and a current code. Returns the new seed for the authenticator app.\n\nRate limit: auth.self_service: 10/3600s per session.","operationId":"mfa_enrol_v1_auth_mfa_enrol_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MfaEnrolRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MfaEnrolResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-idempotency-opt-out":"the pending seed URI must not be replayed","x-auth":{"mode":"session"},"security":[{"clientSession":[]}],"x-rate-limit":[{"policy":"auth.self_service","limits":["10/3600s"],"keyed_by":["session"]}]}},"/v1/auth/mfa/enrol/confirm":{"post":{"tags":["Authentication"],"summary":"Confirm the new device: activates it and issues recovery codes","description":"A correct code from the new device makes it the active one and returns a new set of recovery codes, shown once.\n\nRate limit: auth.mfa: 5/60s per session.","operationId":"mfa_enrol_confirm_v1_auth_mfa_enrol_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MfaEnrolConfirmRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryCodesResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-idempotency-opt-out":"the new recovery codes must not be replayed","x-auth":{"mode":"session"},"security":[{"clientSession":[]}],"x-rate-limit":[{"policy":"auth.mfa","limits":["5/60s"],"keyed_by":["session"]}]}},"/v1/auth/recovery-codes":{"post":{"tags":["Authentication"],"summary":"Generate a fresh set of recovery codes","description":"Replaces your recovery codes with a new set, shown once: send your password and a current code. The old codes stop working.\n\nRate limit: auth.self_service: 10/3600s per session.","operationId":"regenerate_recovery_codes_v1_auth_recovery_codes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryCodesRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryCodesResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-idempotency-opt-out":"the new codes must not be replayed","x-auth":{"mode":"session"},"security":[{"clientSession":[]}],"x-rate-limit":[{"policy":"auth.self_service","limits":["10/3600s"],"keyed_by":["session"]}]}},"/v1/account/profile":{"get":{"tags":["Account"],"summary":"Your own profile","description":"Returns the signed-in user's own profile.","operationId":"read_profile_v1_account_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session"},"security":[{"clientSession":[]}]},"patch":{"tags":["Account"],"summary":"Rename yourself","description":"Changes the signed-in user's own first and last name.","operationId":"update_profile_v1_account_profile_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfilePatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session"},"security":[{"clientSession":[]}]}},"/v1/contract":{"get":{"tags":["Account"],"summary":"The org's contract: terms, entitlements, rate card, caps, contacts","description":"Returns the org's contract as Azerion set it: terms, entitlements, rate card, usage caps and contacts. Read-only for clients.","operationId":"get_contract_v1_contract_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contract"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/billing":{"get":{"tags":["Billing"],"summary":"The billing address, with an ETag","description":"Returns the org's billing address. The `ETag` header is what `PUT` needs in `If-Match`.","operationId":"get_billing_v1_billing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Billing"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"put":{"tags":["Billing"],"summary":"Replace the billing address; needs If-Match","description":"Replaces the whole billing address. Send the `ETag` from `GET` in `If-Match`; a stale one is `412 precondition_failed`, and none is `428 precondition_required`.","operationId":"put_billing_v1_billing_put","parameters":[{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Billing"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/api-keys":{"get":{"tags":["API keys"],"summary":"The org's active API keys","description":"Lists the org's active API keys. The secret part of a key is never shown here.","operationId":"list_api_keys_v1_api_keys_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyList"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"post":{"tags":["API keys"],"summary":"Create an API key; the full key is in this response only","description":"Creates an API key at the read or write level. The full key is in this response only: a replay with the same `Idempotency-Key` has `key` null. This route needs a console login; a key can't call it.\n\nRate limit: api_keys.create: 20/3600s per org.","operationId":"create_api_key_v1_api_keys_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreated"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"x-auth":{"mode":"session"},"security":[{"clientSession":[]}],"x-rate-limit":[{"policy":"api_keys.create","limits":["20/3600s"],"keyed_by":["org"]}]}},"/v1/api-keys/{key_id}":{"delete":{"tags":["API keys"],"summary":"Revoke an API key; it stops working on the next request","description":"Revokes an API key. Calls with it are refused from the next request on. This route needs a console login; a key can't call it.","operationId":"revoke_api_key_v1_api_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session"},"security":[{"clientSession":[]}]}},"/v1/team":{"get":{"tags":["Team"],"summary":"The org's live members, by first name","description":"Lists the org's live members with their roles and statuses, ordered by first name.","operationId":"list_team_v1_team_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberList"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/team/invitations":{"post":{"tags":["Team"],"summary":"Invite a member; the invitation email is queued","description":"Invites a person to the org with a role. The email is queued, and the invitation link is valid until it expires or a new one is sent.\n\nRate limit: team.invite: 30/3600s per actor.","operationId":"invite_member_v1_team_invitations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteMemberRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Member"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"team.invite","limits":["30/3600s"],"keyed_by":["actor"]}]}},"/v1/team/members/{member_id}":{"patch":{"tags":["Team"],"summary":"Change a member's role, or disable or re-enable them","description":"Changes a member's role, or disables or re-enables them. A disabled member's sessions end.","operationId":"update_member_v1_team_members__member_id__patch","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Member Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMemberRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Member"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]},"delete":{"tags":["Team"],"summary":"Remove a member; their sessions end","description":"Removes a member from the org and ends their sessions.","operationId":"remove_member_v1_team_members__member_id__delete","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Member Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/team/members/{member_id}/resend-invite":{"post":{"tags":["Team"],"summary":"Send a new invitation; the old link stops working","description":"Sends a member who hasn't accepted yet a new invitation email. The earlier link stops working.\n\nRate limit: team.invite: 30/3600s per actor.","operationId":"resend_member_invite_v1_team_members__member_id__resend_invite_post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Member Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyBody"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"team.invite","limits":["30/3600s"],"keyed_by":["actor"]}]}},"/v1/invoices":{"get":{"tags":["Invoices"],"summary":"The org's current invoices, newest first, with the accruing month","description":"Lists the org's current invoices, newest first, together with the month still accruing.","operationId":"list_invoices_v1_invoices_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_InvoiceSummary_"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/invoices/{invoice_id}":{"get":{"tags":["Invoices"],"summary":"One current invoice with its lines","description":"Returns one current invoice with its lines.","operationId":"get_invoice_v1_invoices__invoice_id__get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Invoice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoice"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/invoices/{invoice_id}/document":{"get":{"tags":["Invoices"],"summary":"The current invoice version's PDF","description":"Streams the PDF of the invoice's current version.","operationId":"get_invoice_document_v1_invoices__invoice_id__document_get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Invoice Id"}}],"responses":{"200":{"description":"The PDF, streamed","content":{"application/pdf":{}}},"404":{"description":"not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"document_pending: the PDF is not stored yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"storage_unavailable: the store did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/notifications":{"get":{"tags":["Notifications"],"summary":"The org's client events of the last 30 days, newest first","description":"Lists the org's client events of the last 30 days, newest first, and how many the caller hasn't seen.","operationId":"list_notifications_v1_notifications_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationList"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/notifications/seen":{"post":{"tags":["Notifications"],"summary":"Mark the caller's notifications seen up to the newest event","description":"Marks the caller's notifications seen, up to the newest event.\n\nRate limit: notifications.seen: 30/60s per user.","operationId":"mark_notifications_seen_v1_notifications_seen_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationsSeen"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"x-auth":{"mode":"session"},"security":[{"clientSession":[]}],"x-rate-limit":[{"policy":"notifications.seen","limits":["30/60s"],"keyed_by":["user"]}]}},"/v1/storage/credentials":{"get":{"tags":["Storage"],"summary":"The org's storage credentials; an audited disclosure","description":"Returns the org's S3 access key and secret. Each read is recorded in the audit log. This route needs a console login; a key can't call it.","operationId":"get_credentials_v1_storage_credentials_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageCredentials"}}}},"409":{"description":"storage_not_ready","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"the key service failed, or no storage region is the default; no partial body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session"},"security":[{"clientSession":[]}]}},"/v1/storage/credentials/rotate":{"post":{"tags":["Storage"],"summary":"Start a key rotation: a second key is created; both work","description":"Starts a key rotation: a second key is created in the background and both keys work until you finish it. Takes no body fields.\n\nRate limit: storage.rotate: 5/3600s per org.","operationId":"rotate_credentials_v1_storage_credentials_rotate_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/EmptyBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RotateAccepted"}}}},"409":{"description":"storage_not_ready or rotation_in_progress; or `conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"x-auth":{"mode":"session"},"security":[{"clientSession":[]}],"x-rate-limit":[{"policy":"storage.rotate","limits":["5/3600s"],"keyed_by":["org"]}]}},"/v1/storage/credentials/rotate/complete":{"post":{"tags":["Storage"],"summary":"Finish a key rotation: the old key is deleted","description":"Finishes a key rotation: the old key is deleted in the background, and the new one stays. Takes no body fields.\n\nRate limit: storage.rotate: 5/3600s per org.","operationId":"complete_rotation_v1_storage_credentials_rotate_complete_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/EmptyBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteAccepted"}}}},"409":{"description":"storage_not_ready or no_rotation; or `conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"x-auth":{"mode":"session"},"security":[{"clientSession":[]}],"x-rate-limit":[{"policy":"storage.rotate","limits":["5/3600s"],"keyed_by":["org"]}]}},"/v1/storage/regions":{"get":{"tags":["Storage"],"summary":"The regions a bucket can be created in, with the org's name prefix","description":"Lists the regions a bucket can be created in, and the name prefix every bucket of this org gets.","operationId":"list_regions_v1_storage_regions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageRegionList"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/storage":{"post":{"tags":["Storage"],"summary":"Create a private, AES-256 bucket; it is created in the background","description":"Creates a private bucket encrypted with AES-256 in the chosen region. The answer comes first, and the bucket is created in the background.\n\nRate limit: storage.create: 30/3600s per org.","operationId":"create_bucket_v1_storage_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBucketRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bucket"}}}},"409":{"description":"provisioning_blocked, or name_in_use; or `conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"validation_failed: name or region; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"storage.create","limits":["30/3600s"],"keyed_by":["org"]}]},"get":{"tags":["Storage"],"summary":"The org's buckets, newest first, with totals","description":"Lists the org's buckets, newest first, with totals: the org's newest daily storage figures, the ones Monitoring > Storage totals.","operationId":"list_buckets_v1_storage_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketStatus"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BucketList"}}}},"400":{"description":"invalid_cursor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/storage/{bucket_id}":{"get":{"tags":["Storage"],"summary":"A bucket's detail, with its regional S3 endpoint","description":"Returns one bucket with its regional S3 endpoint.","operationId":"get_bucket_v1_storage__bucket_id__get","parameters":[{"name":"bucket_id","in":"path","required":true,"schema":{"type":"string","title":"Bucket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bucket"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"delete":{"tags":["Storage"],"summary":"Delete a bucket by its full name; emptied and removed in the background","description":"Deletes a bucket: confirm with its full name. It is emptied and removed in the background. A failed bucket with nothing in AWS is removed at once, with `204`.","operationId":"delete_bucket_v1_storage__bucket_id__delete","parameters":[{"name":"bucket_id","in":"path","required":true,"schema":{"type":"string","title":"Bucket Id"}},{"name":"confirm_name","in":"query","required":true,"schema":{"type":"string","maxLength":255,"title":"Confirm Name"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bucket"}}}},"204":{"description":"A failed bucket with nothing in AWS, removed at once"},"409":{"description":"bucket_in_use, or conflict (invalid_transition)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"validation_failed, or confirmation_mismatch","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/storage/{bucket_id}/objects":{"get":{"tags":["Storage"],"summary":"One folder of a bucket: its objects and sub-folders, 100 per page","description":"Lists one folder of a bucket: its objects and sub-folders, 100 per page. An active bucket is required.","operationId":"list_objects_v1_storage__bucket_id__objects_get","parameters":[{"name":"bucket_id","in":"path","required":true,"schema":{"type":"string","title":"Bucket Id"}},{"name":"prefix","in":"query","required":false,"schema":{"type":"string","maxLength":1024,"default":"","title":"Prefix"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectList"}}}},"400":{"description":"invalid_cursor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"conflict (invalid_transition): bucket not active","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"service_unavailable: S3 did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"delete":{"tags":["Storage"],"summary":"Delete one object; the S3 delete runs in the background","description":"Deletes the object named by the `key` query parameter. The answer has no body, and the delete runs in the background.","operationId":"delete_object_v1_storage__bucket_id__objects_delete","parameters":[{"name":"bucket_id","in":"path","required":true,"schema":{"type":"string","title":"Bucket Id"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":1024,"title":"Key"}}],"responses":{"202":{"description":"The object is deleted in the background"},"409":{"description":"conflict (invalid_transition): bucket not active","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/storage/{bucket_id}/objects/download-url":{"post":{"tags":["Storage"],"summary":"A presigned GET URL for one object, valid 300 seconds","description":"Returns a presigned `GET` URL for one object, valid for 300 seconds. A read-level key may call it, since it reads and changes nothing.\n\nRate limit: storage.download_url: 60/60s per org.","operationId":"download_url_v1_storage__bucket_id__objects_download_url_post","parameters":[{"name":"bucket_id","in":"path","required":true,"schema":{"type":"string","title":"Bucket Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadUrlRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadUrl"}}}},"404":{"description":"not_found, or object_not_found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"conflict (invalid_transition): bucket not active; or `conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"service_unavailable: S3 did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"storage.download_url","limits":["60/60s"],"keyed_by":["org"]}]}},"/v1/support":{"get":{"tags":["Support"],"summary":"The Support page: support email, response time","description":"Returns what the Support page shows: the support email and the response time.","operationId":"get_support_v1_support_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportPage"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/support/contact":{"post":{"tags":["Support"],"summary":"Send the contact form to the support email","description":"Sends the contact form to the support email. This route needs a console login; a key can't call it.\n\nRate limit: support.contact: 5/3600s per user.","operationId":"send_contact_v1_support_contact_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactAccepted"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"x-auth":{"mode":"session"},"security":[{"clientSession":[]}],"x-rate-limit":[{"policy":"support.contact","limits":["5/3600s"],"keyed_by":["user"]}]}},"/v1/usage":{"get":{"tags":["Usage"],"summary":"The org's usage for a range or a month","description":"Returns the org's usage and cost for a date range or a month.","operationId":"get_usage_v1_usage_get","parameters":[{"name":"period","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UsagePeriod"}},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start"}},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End"}},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"examples":["2026-09"],"title":"Month"}},{"name":"domain","in":"query","required":false,"schema":{"$ref":"#/components/schemas/UsageDomain","default":"zones"}},{"name":"zone_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Zone Id"}},{"name":"bucket_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Bucket Id"}},{"name":"group_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/GroupBy"},{"type":"null"}],"title":"Group By"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageResponse"}}},"headers":{"ETag":{"description":"The validator of this body, when response caching is on. Send it back in `If-None-Match` to get `304` while the body is unchanged.","schema":{"type":"string"}},"Cache-Control":{"description":"How a browser may keep the response: private and revalidated before each reuse when response caching is on, else not stored.","schema":{"type":"string"}}}},"304":{"description":"Not modified: `If-None-Match` names the current `ETag`. No body.","headers":{"ETag":{"description":"The validator of this body, when response caching is on. Send it back in `If-None-Match` to get `304` while the body is unchanged.","schema":{"type":"string"}},"Cache-Control":{"description":"How a browser may keep the response: private and revalidated before each reuse when response caching is on, else not stored.","schema":{"type":"string"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/usage":{"get":{"tags":["Usage"],"summary":"One zone's daily data transfer over 7 or 30 days","description":"Returns one zone's daily data transfer over the last 7 or 30 days.","operationId":"get_zone_usage_v1_zones__zone_id__usage_get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"period","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ZoneUsagePeriod"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZoneUsageResponse"}}},"headers":{"ETag":{"description":"The validator of this body, when response caching is on. Send it back in `If-None-Match` to get `304` while the body is unchanged.","schema":{"type":"string"}},"Cache-Control":{"description":"How a browser may keep the response: private and revalidated before each reuse when response caching is on, else not stored.","schema":{"type":"string"}}}},"304":{"description":"Not modified: `If-None-Match` names the current `ETag`. No body.","headers":{"ETag":{"description":"The validator of this body, when response caching is on. Send it back in `If-None-Match` to get `304` while the body is unchanged.","schema":{"type":"string"}},"Cache-Control":{"description":"How a browser may keep the response: private and revalidated before each reuse when response caching is on, else not stored.","schema":{"type":"string"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/webhooks":{"get":{"tags":["Webhooks"],"summary":"The org's webhook endpoints","description":"Lists the org's webhook endpoints. Signing secrets are not shown here.","operationId":"list_webhooks_v1_webhooks_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookList"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"post":{"tags":["Webhooks"],"summary":"Add a webhook endpoint; the signing secret is in this response only","description":"Adds a webhook endpoint for the chosen event types. The signing secret is in this response only.\n\nRate limit: webhooks.create: 20/3600s per org.","operationId":"create_webhook_v1_webhooks_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookCreated"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"webhooks.create","limits":["20/3600s"],"keyed_by":["org"]}]}},"/v1/webhooks/{endpoint_id}":{"delete":{"tags":["Webhooks"],"summary":"Delete a webhook endpoint","description":"Deletes a webhook endpoint. No more events are sent to it.","operationId":"delete_webhook_v1_webhooks__endpoint_id__delete","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/webhooks/{endpoint_id}/deliveries":{"get":{"tags":["Webhooks"],"summary":"An endpoint's deliveries, newest first, each with every attempt","description":"Lists an endpoint's deliveries, newest first, each with every attempt and its result.","operationId":"list_webhook_deliveries_v1_webhooks__endpoint_id__deliveries_get","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryList"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/webhooks/{endpoint_id}/test":{"post":{"tags":["Webhooks"],"summary":"Queue a `webhook.test` event to this endpoint only","description":"Queues a `webhook.test` event to this endpoint only, so you can check it receives and verifies events. Takes no body fields.\n\nRate limit: webhooks.test: 10/3600s per endpoint.","operationId":"send_webhook_test_v1_webhooks__endpoint_id__test_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/WebhookTestRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookTestQueued"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"webhooks.test","limits":["10/3600s"],"keyed_by":["endpoint"]}]}},"/v1/zones":{"get":{"tags":["Zones"],"summary":"The caller's zones, newest first","description":"Lists the org's zones, newest first. Filters narrow them by status and by a search text (`q`): the zone name, system hostname or a live domain hostname contains it, in any letter case.","operationId":"list_zones_v1_zones_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZoneList"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"post":{"tags":["Zones"],"summary":"Deploy a zone: validated, gated and queued for provisioning","description":"Deploys a zone from one request: its origin, caching and coverage. The request is validated and checked against the org's limits, and provisioning runs in the background. The zone is `provisioning` until then.\n\nRate limit: zones.create: 30/3600s per org.","operationId":"create_zone_v1_zones_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateZoneRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Zone"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"zones.create","limits":["30/3600s"],"keyed_by":["org"]}]}},"/v1/zones/{zone_id}":{"get":{"tags":["Zones"],"summary":"A zone's detail","description":"Returns one zone with its status and configuration.","operationId":"get_zone_v1_zones__zone_id__get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Zone"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"patch":{"tags":["Zones"],"summary":"Update a zone's name or coverage","description":"Changes a zone's name, its coverage or both. A coverage change is applied to the zone's distribution in the background.","operationId":"update_zone_v1_zones__zone_id__patch","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateZoneRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Zone"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]},"delete":{"tags":["Zones"],"summary":"Delete a zone: immediate and permanent for the client; its AWS resources are removed in the background","description":"Deletes a zone: confirm with its name in `confirm_name`. The zone is gone at once for the client, and its AWS resources are removed in the background. This can't be undone.","operationId":"delete_zone_v1_zones__zone_id__delete","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"confirm_name","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"title":"Confirm Name"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/retry":{"post":{"tags":["Zones"],"summary":"Retry a failed zone: re-queues provisioning under the same id","description":"Queues provisioning again for a zone that failed, under the same id.","operationId":"retry_zone_v1_zones__zone_id__retry_post","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Zone"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/suspend":{"post":{"tags":["Zones"],"summary":"Suspend a zone: its distribution is disabled; domain and certificate are kept","description":"Suspends an active zone: its distribution is disabled and it stops serving. The domain and certificate are kept. Takes no body fields.\n\nRate limit: zones.lifecycle: 30/3600s per org.","operationId":"suspend_zone_v1_zones__zone_id__suspend_post","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/EmptyBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Zone"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"zones.lifecycle","limits":["30/3600s"],"keyed_by":["org"]}]}},"/v1/zones/{zone_id}/resume":{"post":{"tags":["Zones"],"summary":"Resume a zone the client suspended: its distribution is enabled again (the cache starts cold)","description":"Resumes a zone the client suspended: its distribution is enabled again, and the cache starts cold. A zone Azerion suspended can't be resumed here. Takes no body fields.\n\nRate limit: zones.lifecycle: 30/3600s per org.","operationId":"resume_zone_v1_zones__zone_id__resume_post","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/EmptyBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Zone"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"zones.lifecycle","limits":["30/3600s"],"keyed_by":["org"]}]}},"/v1/zones/{zone_id}/origins":{"get":{"tags":["Origins"],"summary":"A zone's live origins","description":"Lists a zone's live origins, each with whether a rule of the zone uses it.","operationId":"list_origins_v1_zones__zone_id__origins_get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_Origin_"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"post":{"tags":["Origins"],"summary":"Add an origin to a zone; the change is applied to its distribution","description":"Adds an origin to a zone: an external hostname or a storage bucket. The change is applied to the zone's distribution in the background.","operationId":"create_origin_v1_zones__zone_id__origins_post","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOriginRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Origin"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/origins/{origin_id}":{"get":{"tags":["Origins"],"summary":"One origin of a zone","description":"Returns one origin of a zone.","operationId":"get_origin_v1_zones__zone_id__origins__origin_id__get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"origin_id","in":"path","required":true,"schema":{"type":"string","title":"Origin Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Origin"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"patch":{"tags":["Origins"],"summary":"Edit an origin; the change is applied to its zone's distribution","description":"Changes an origin. The change is applied to the zone's distribution in the background.","operationId":"update_origin_v1_zones__zone_id__origins__origin_id__patch","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"origin_id","in":"path","required":true,"schema":{"type":"string","title":"Origin Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOriginRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Origin"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]},"delete":{"tags":["Origins"],"summary":"Delete an origin no rule uses (never the zone's last one)","description":"Deletes an origin that no cache rule uses. The zone's last origin can't be deleted.","operationId":"delete_origin_v1_zones__zone_id__origins__origin_id__delete","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"origin_id","in":"path","required":true,"schema":{"type":"string","title":"Origin Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/origins/{origin_id}/access-grant":{"get":{"tags":["Origins"],"summary":"The bucket policy statement an S3 bucket origin needs","description":"Returns the bucket-policy statement (and, for SSE-KMS buckets, the key-policy statement) that lets the zone's distribution read a client S3 bucket origin. `409` with `distribution_pending` until the zone's distribution exists; other origin types are `404`.","operationId":"get_access_grant_v1_zones__zone_id__origins__origin_id__access_grant_get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"origin_id","in":"path","required":true,"schema":{"type":"string","title":"Origin Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessGrant"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/origins/{origin_id}/access-check":{"post":{"tags":["Origins"],"summary":"Check that the CDN can fetch the origin's access check path","description":"Queues a check that fetches the origin's access check path through the zone and stores the result (`ok`, `denied`, `unreachable`, `not_routed`, `cached` or `unknown`). Answers `202` with the status `checking`; `409` with `check_in_progress` while the origin's status is `checking`, `no_probe_path` when the origin has no access check path.\n\nRate limit: origins.access_check: 30/60s per actor.","operationId":"check_access_v1_zones__zone_id__origins__origin_id__access_check_post","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"origin_id","in":"path","required":true,"schema":{"type":"string","title":"Origin Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessCheck"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"origins.access_check","limits":["30/60s"],"keyed_by":["actor"]}]}},"/v1/zones/{zone_id}/origins/{origin_id}/auth-header":{"post":{"tags":["Origins"],"summary":"Turn on the origin auth header; the value is shown once","description":"Makes a random value for the `X-Azerion-Origin-Auth` header and has the zone's distribution send it on every request to this external origin. The value is in this response only. `409` with `auth_header_enabled` when the header is already on, `value_already_shown` on a replay of the same `Idempotency-Key`; `422` `auth_header_not_supported` for an origin that is not external.","operationId":"enable_auth_header_v1_zones__zone_id__origins__origin_id__auth_header_post","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"origin_id","in":"path","required":true,"schema":{"type":"string","title":"Origin Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthHeaderValue"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]},"delete":{"tags":["Origins"],"summary":"Turn off the origin auth header","description":"Stops sending the `X-Azerion-Origin-Auth` header to this origin. `404` when the header is not on.","operationId":"disable_auth_header_v1_zones__zone_id__origins__origin_id__auth_header_delete","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"origin_id","in":"path","required":true,"schema":{"type":"string","title":"Origin Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/origins/{origin_id}/auth-header/rotate":{"post":{"tags":["Origins"],"summary":"Make a new auth header value; the current one is still sent","description":"Makes a new value for the origin auth header, shown once in this response. The distribution keeps sending the current value until the new one is activated. `409` with `rotation_pending` while a new value is waiting, `value_already_shown` on a replay of the same `Idempotency-Key`; `404` when the header is not on.","operationId":"rotate_auth_header_v1_zones__zone_id__origins__origin_id__auth_header_rotate_post","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"origin_id","in":"path","required":true,"schema":{"type":"string","title":"Origin Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PendingAuthHeaderValue"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/origins/{origin_id}/auth-header/activate":{"post":{"tags":["Origins"],"summary":"Send the new auth header value instead of the current one","description":"Makes the waiting value the one the distribution sends; the change is applied in the background. `409` with `no_pending_value` when no new value is waiting; `404` when the header is not on.","operationId":"activate_auth_header_v1_zones__zone_id__origins__origin_id__auth_header_activate_post","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"origin_id","in":"path","required":true,"schema":{"type":"string","title":"Origin Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Origin"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/origins/{origin_id}/auth-header/pending":{"delete":{"tags":["Origins"],"summary":"Discard the new auth header value","description":"Discards the waiting value; the current one is still sent. `404` when no new value is waiting.","operationId":"discard_pending_auth_header_v1_zones__zone_id__origins__origin_id__auth_header_pending_delete","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"origin_id","in":"path","required":true,"schema":{"type":"string","title":"Origin Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/cache-rules":{"get":{"tags":["Cache Rules"],"summary":"A zone's cache rules in precedence order, the default rule last","description":"Lists a zone's cache rules in precedence order, with the default rule last.","operationId":"list_cache_rules_v1_zones__zone_id__cache_rules_get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CacheRuleList"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"post":{"tags":["Cache Rules"],"summary":"Add a cache rule above the default rule; it is applied to the zone","description":"Adds a cache rule above the default rule. It is applied to the zone's distribution in the background.","operationId":"create_cache_rule_v1_zones__zone_id__cache_rules_post","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCacheRuleRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CacheRule"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/cache-rules/order":{"put":{"tags":["Cache Rules"],"summary":"Reorder a zone's cache rules; the order is applied to its distribution","description":"Sets the precedence of a zone's cache rules. The default rule stays last, and the new order is applied to the distribution in the background.","operationId":"reorder_cache_rules_v1_zones__zone_id__cache_rules_order_put","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReorderCacheRulesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_CacheRule_"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/cache-rules/{rule_id}":{"get":{"tags":["Cache Rules"],"summary":"One cache rule","description":"Returns one cache rule of a zone.","operationId":"get_cache_rule_v1_zones__zone_id__cache_rules__rule_id__get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","title":"Rule Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CacheRule"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"patch":{"tags":["Cache Rules"],"summary":"Edit a cache rule; the change is applied to its zone","description":"Changes a cache rule. The change is applied to the zone's distribution in the background.","operationId":"update_cache_rule_v1_zones__zone_id__cache_rules__rule_id__patch","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","title":"Rule Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCacheRuleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CacheRule"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]},"delete":{"tags":["Cache Rules"],"summary":"Delete a cache rule (never the default rule)","description":"Deletes a cache rule. The default rule can't be deleted.","operationId":"delete_cache_rule_v1_zones__zone_id__cache_rules__rule_id__delete","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","title":"Rule Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/domains":{"get":{"tags":["Domains"],"summary":"A zone's domains: the system domain first, then its custom domains","description":"Lists a zone's domains: the system domain first, then its custom domains.","operationId":"list_domains_v1_zones__zone_id__domains_get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainList"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"post":{"tags":["Domains"],"summary":"Add a custom domain; its certificate is requested in the background","description":"Adds a custom domain to a zone. Its certificate is requested in the background, and the DNS records to add are in `validation_records`.\n\nRate limit: domains.write: 30/3600s per org.","operationId":"create_domain_v1_zones__zone_id__domains_post","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDomainRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"domains.write","limits":["30/3600s"],"keyed_by":["org"]}]}},"/v1/zones/{zone_id}/domains/{domain_id}":{"get":{"tags":["Domains"],"summary":"One custom domain","description":"Returns one custom domain of a zone.","operationId":"get_domain_v1_zones__zone_id__domains__domain_id__get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"delete":{"tags":["Domains"],"summary":"Remove a custom domain","description":"Removes a custom domain. A domain on no deployed certificate goes at once, with `204`. Otherwise it answers `202`: the domain is `removing` and keeps serving until a certificate without it is deployed.\n\nRate limit: domains.write: 30/3600s per org.","operationId":"delete_domain_v1_zones__zone_id__domains__domain_id__delete","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"204":{"description":"Removed at once (a domain on no deployed certificate)"},"202":{"description":"Removal started: the domain is `removing` and keeps serving until a certificate without it is deployed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"domains.write","limits":["30/3600s"],"keyed_by":["org"]}]}},"/v1/zones/{zone_id}/domains/{domain_id}/traffic-check":{"get":{"tags":["Domains"],"summary":"Check whether a custom domain's traffic CNAME is published","description":"Looks up the custom domain's own hostname in DNS and compares the answer with the zone's system hostname: `found`, `wrong_target`, `not_cname`, `not_found` or `error`. Answers are kept for 60 seconds per domain. Advisory only: it never changes the domain or its certificate.\n\nRate limit: domains.traffic_check: 30/60s per actor.","operationId":"check_traffic_v1_zones__zone_id__domains__domain_id__traffic_check_get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrafficCheck"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"domains.traffic_check","limits":["30/60s"],"keyed_by":["actor"]}]}},"/v1/zones/{zone_id}/certificates":{"get":{"tags":["Certificates"],"summary":"A zone's certificates","description":"Lists a zone's certificates with their status and the DNS records that validate them.","operationId":"list_certificates_v1_zones__zone_id__certificates_get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateList"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"post":{"tags":["Certificates"],"summary":"Re-request validation for a domain whose certificate failed or expired","description":"Requests validation again for a domain whose certificate failed or expired.\n\nRate limit: domains.write: 30/3600s per org.","operationId":"re_request_certificate_v1_zones__zone_id__certificates_post","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReRequestCertificate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Certificate"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"domains.write","limits":["30/3600s"],"keyed_by":["org"]}]}},"/v1/zones/{zone_id}/certificates/{certificate_id}":{"get":{"tags":["Certificates"],"summary":"One certificate","description":"Returns one certificate of a zone.","operationId":"get_certificate_v1_zones__zone_id__certificates__certificate_id__get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"certificate_id","in":"path","required":true,"schema":{"type":"string","title":"Certificate Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Certificate"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/security":{"get":{"tags":["Zones"],"summary":"A zone's security policy","description":"Returns a zone's security policy with the status of its Web ACL. The `ETag` header can be sent back in `If-Match` when changing it.","operationId":"get_security_v1_zones__zone_id__security_get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityPolicy"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"patch":{"tags":["Zones"],"summary":"Change a zone's security policy; If-Match optional","description":"Changes a zone's security policy, which is applied in the background. `If-Match` is optional; with it, a stale `ETag` is `412 precondition_failed`.","operationId":"update_security_v1_zones__zone_id__security_patch","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSecurityPolicyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityPolicy"}}}},"409":{"description":"provisioning_blocked or invalid_transition","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/zones/{zone_id}/invalidations":{"get":{"tags":["Invalidations"],"summary":"A zone's purges, newest first","description":"Lists a zone's purges, newest first.","operationId":"list_invalidations_v1_zones__zone_id__invalidations_get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/InvalidationStatus"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidationList"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]},"post":{"tags":["Invalidations"],"summary":"Purge paths (or the whole zone, `/*`) from the zone's edge cache","description":"Removes the given paths from the zone's edge cache, or all of it with `/*`. Each accepted path counts towards invalidation billing.\n\nRate limit: invalidations.create: 120/60s per org.","operationId":"create_invalidation_v1_zones__zone_id__invalidations_post","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255},"description":"Makes a retry safe: the same key with the same request returns the stored response instead of running again."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInvalidationRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invalidation"}}}},"422":{"description":"Validation failed; or `idempotency_key_reused`: this `Idempotency-Key` was used with another method, path, query string or body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`conflict`: a request with the same `Idempotency-Key` is still running; retry after `Retry-After` seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"write"},"security":[{"clientSession":[]},{"apiKey":[]}],"x-rate-limit":[{"policy":"invalidations.create","limits":["120/60s"],"keyed_by":["org"]}]}},"/v1/zones/{zone_id}/invalidations/{invalidation_id}":{"get":{"tags":["Invalidations"],"summary":"One purge","description":"Returns one purge of a zone with its status.","operationId":"get_invalidation_v1_zones__zone_id__invalidations__invalidation_id__get","parameters":[{"name":"zone_id","in":"path","required":true,"schema":{"type":"string","title":"Zone Id"}},{"name":"invalidation_id","in":"path","required":true,"schema":{"type":"string","title":"Invalidation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invalidation"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"session_or_key","min_key_level":"read"},"security":[{"clientSession":[]},{"apiKey":[]}]}},"/v1/auth/login":{"post":{"tags":["Authentication"],"summary":"Sign in: email and password; the answer names the next step","description":"Signs in with an email and password. `next` is `done` when MFA is off (the cookie is an active session), `mfa_verify` when a code is needed (send it to `mfa/verify`), or `mfa_setup` when MFA must be set up first (`mfa/setup`, then `mfa/setup/confirm`, sending `csrf_token`).\n\nRate limit: auth.login: 10/60s, 30/3600s per ip and email.","operationId":"login_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-idempotency-opt-out":"each sign-in starts a new session; replaying a stored response would replay its Set-Cookie","x-auth":{"mode":"none"},"security":[],"x-rate-limit":[{"policy":"auth.login","limits":["10/60s","30/3600s"],"keyed_by":["ip","email"]}]}},"/v1/auth/invitations/{token}":{"get":{"tags":["Authentication"],"summary":"Check an invitation link: whose it is and which step is next","description":"Checks an invitation link before the person fills anything in: whose it is, and whether MFA setup follows. `accept-invite`'s own answer decides if the MFA setting changes in between.\n\nRate limit: auth.invite: 10/3600s per ip.","operationId":"read_invitation_v1_auth_invitations__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,256}$","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-auth":{"mode":"none"},"security":[],"x-rate-limit":[{"policy":"auth.invite","limits":["10/3600s"],"keyed_by":["ip"]}]}},"/v1/auth/accept-invite":{"post":{"tags":["Authentication"],"summary":"Accept an invitation: set the password; MFA setup next, or signed in when MFA is off","description":"Sets the password from an invitation link. With MFA on, the answer is `next: mfa_setup` with `otpauth_uri`, and `accept-invite/mfa` comes next. With MFA off, the account is active and signed in, with `next: done`.\n\nRate limit: auth.invite: 10/3600s per ip.","operationId":"accept_invite_v1_auth_accept_invite_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptInviteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptInviteResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-idempotency-opt-out":"the token is single-use, and a replayed response would hand out the MFA setup URI again","x-auth":{"mode":"none"},"security":[],"x-rate-limit":[{"policy":"auth.invite","limits":["10/3600s"],"keyed_by":["ip"]}]}},"/v1/auth/accept-invite/mfa":{"post":{"tags":["Authentication"],"summary":"Confirm the first MFA code: activates the account, signs in and issues recovery codes","description":"A correct first code activates the account, signs the person in and returns the recovery codes once.\n\nRate limit: auth.invite: 10/3600s per ip.","operationId":"accept_invite_mfa_v1_auth_accept_invite_mfa_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptInviteMfaRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptInviteMfaResponse"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-idempotency-opt-out":"each activation starts a new session and issues recovery codes; replaying a stored response would replay both","x-auth":{"mode":"none"},"security":[],"x-rate-limit":[{"policy":"auth.invite","limits":["10/3600s"],"keyed_by":["ip"]}]}},"/v1/auth/password-reset":{"post":{"tags":["Authentication"],"summary":"Ask for a password reset email","description":"Sends a reset link if the email belongs to an account. Any accepted request answers `202` with the same body and timing, so it doesn't show whether an account exists.\n\nRate limit: auth.password_reset: 5/3600s per ip and email.","operationId":"request_password_reset_v1_auth_password_reset_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyBody"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-idempotency-opt-out":"every accepted request answers the same 202; a stored response would add nothing","x-auth":{"mode":"none"},"security":[],"x-rate-limit":[{"policy":"auth.password_reset","limits":["5/3600s"],"keyed_by":["ip","email"]}]}},"/v1/auth/password-reset/confirm":{"post":{"tags":["Authentication"],"summary":"Set a new password with a reset link; ends every session","description":"Sets a new password with the token of a reset link. The token works once, and every session of the user ends.\n\nRate limit: auth.password_reset_confirm: 10/3600s per ip.","operationId":"confirm_password_reset_v1_auth_password_reset_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetConfirmRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-idempotency-opt-out":"the token is single-use: a replay would be a `410`","x-auth":{"mode":"none"},"security":[],"x-rate-limit":[{"policy":"auth.password_reset_confirm","limits":["10/3600s"],"keyed_by":["ip"]}]}}},"components":{"schemas":{"AcceptInviteMfaRequest":{"properties":{"token":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,256}$","title":"Token"},"code":{"type":"string","pattern":"^[0-9]{6}$","title":"Code"}},"additionalProperties":false,"type":"object","required":["token","code"],"title":"AcceptInviteMfaRequest","examples":[{"code":"123456","token":"exampleInviteToken"}]},"AcceptInviteMfaResponse":{"properties":{"audience":{"$ref":"#/components/schemas/SessionAudience","description":"Which console the session belongs to"},"user":{"$ref":"#/components/schemas/UserSummary"},"session":{"$ref":"#/components/schemas/SessionInfo"},"csrf_token":{"type":"string","title":"Csrf Token","description":"Send as X-CSRF-Token on mutations"},"mfa_enabled":{"type":"boolean","title":"Mfa Enabled","description":"The App Setting mfa_required: whether users must set up MFA"},"mfa_enrolled":{"type":"boolean","title":"Mfa Enrolled","description":"Whether the user has a confirmed MFA seed"},"recovery_codes":{"items":{"type":"string"},"type":"array","title":"Recovery Codes"}},"additionalProperties":false,"type":"object","required":["audience","user","session","csrf_token","mfa_enabled","mfa_enrolled","recovery_codes"],"title":"AcceptInviteMfaResponse","examples":[{"audience":"client","csrf_token":"exampleCsrfToken","mfa_enabled":true,"mfa_enrolled":true,"recovery_codes":["abcd-2345","efgh-6789","jkmn-2345","pqrs-6789","tuvw-2345","xyza-6789","bcde-2345","fghj-6789","kmnp-2345","qrst-6789"],"session":{"absolute_expires_at":"2026-01-15T10:00:00Z","created_at":"2026-01-15T10:00:00Z","idle_expires_at":"2026-01-15T10:00:00Z","state":"active"},"user":{"email":"ada@example.com","first_name":"Ada","id":"01890000-0000-7000-8000-000000000206","last_name":"Lovelace","org_id":"01890000-0000-7000-8000-000000000629","org_name":"Example Media","role":"OWNER","access":null}}]},"AcceptInviteRequest":{"properties":{"token":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,256}$","title":"Token"},"password":{"type":"string","title":"Password"}},"additionalProperties":false,"type":"object","required":["token","password"],"title":"AcceptInviteRequest","examples":[{"password":"example-Passphrase-2026","token":"exampleInviteToken"}]},"AcceptInviteResponse":{"properties":{"next":{"type":"string","enum":["done","mfa_setup"],"title":"Next"},"otpauth_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Otpauth Uri","description":"On mfa_setup only; absent on done"}},"additionalProperties":false,"type":"object","required":["next"],"title":"AcceptInviteResponse","examples":[{"next":"mfa_setup","otpauth_uri":"otpauth://totp/Azerion:ada@example.com?secret=EXAMPLE"}]},"AccessCheck":{"properties":{"access":{"$ref":"#/components/schemas/OriginAccess"}},"additionalProperties":false,"type":"object","required":["access"],"title":"AccessCheck","examples":[{"access":{"probe_path":"/assets","status":"checking","detail":null,"checked_at":null}}]},"AccessGrant":{"properties":{"bucket_policy_statement":{"additionalProperties":true,"type":"object","title":"Bucket Policy Statement"},"kms_key_policy_statement":{"additionalProperties":true,"type":"object","title":"Kms Key Policy Statement"},"distribution_arn":{"type":"string","title":"Distribution Arn"}},"additionalProperties":false,"type":"object","required":["bucket_policy_statement","kms_key_policy_statement","distribution_arn"],"title":"AccessGrant","examples":[{"bucket_policy_statement":{"Action":"s3:GetObject","Condition":{"StringEquals":{"AWS:SourceArn":"arn:aws:cloudfront::111122223333:distribution/EXAMPLE"}},"Effect":"Allow","Principal":{"Service":"cloudfront.amazonaws.com"},"Resource":"arn:aws:s3:::example-assets/*","Sid":"AzerionCdnZone01890000000070008000000000000201"},"distribution_arn":"arn:aws:cloudfront::111122223333:distribution/EXAMPLE","kms_key_policy_statement":{"Action":"kms:Decrypt","Condition":{"StringEquals":{"AWS:SourceArn":"arn:aws:cloudfront::111122223333:distribution/EXAMPLE"}},"Effect":"Allow","Principal":{"Service":"cloudfront.amazonaws.com"},"Resource":"*","Sid":"AzerionCdnZone01890000000070008000000000000201"}}]},"ApiKeyCreated":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"level":{"$ref":"#/components/schemas/ApiKeyLevel"},"hint":{"type":"string","title":"Hint"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"secret_redacted":{"type":"boolean","title":"Secret Redacted"}},"additionalProperties":false,"type":"object","required":["id","name","level","hint","created_at","key","secret_redacted"],"title":"ApiKeyCreated","examples":[{"created_at":"2026-01-15T10:00:00Z","hint":"once","id":"01890000-0000-7000-8000-000000000206","key":"azk_v1-example-shown-once","level":"read","name":"CI deploy key","secret_redacted":false}]},"ApiKeyItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"level":{"$ref":"#/components/schemas/ApiKeyLevel"},"hint":{"type":"string","title":"Hint"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"created_by_label":{"type":"string","title":"Created By Label"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"}},"additionalProperties":false,"type":"object","required":["id","name","level","hint","created_at","created_by_label","last_used_at"],"title":"ApiKeyItem"},"ApiKeyLevel":{"type":"string","enum":["read","write"],"title":"ApiKeyLevel"},"ApiKeyList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ApiKeyItem"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"},"total_count":{"type":"integer","title":"Total Count"},"rate_limit":{"$ref":"#/components/schemas/RateLimitInfo"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more","total_count","rate_limit"],"title":"ApiKeyList","examples":[{"data":[{"created_at":"2026-01-15T10:00:00Z","created_by_label":"Ada Lovelace","hint":"cdef","id":"01890000-0000-7000-8000-000000000206","last_used_at":"2026-01-15T10:00:00Z","level":"read","name":"CI deploy key"}],"has_more":false,"rate_limit":{"requests_per_minute":600},"total_count":1,"next_cursor":null}]},"AttachStatus":{"type":"string","enum":["none","attaching","attached","detaching"],"title":"AttachStatus"},"AttemptError":{"type":"string","enum":["timeout","dns","blocked_address","tls","connection","http_status"],"title":"AttemptError"},"AttemptItem":{"properties":{"attempt":{"type":"integer","title":"Attempt"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Ms"},"http_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Http Status"},"error":{"anyOf":[{"$ref":"#/components/schemas/AttemptError"},{"type":"null"}]},"response_snippet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Snippet"}},"additionalProperties":false,"type":"object","required":["attempt","started_at","duration_ms","http_status","error","response_snippet"],"title":"AttemptItem"},"AuthHeaderValue":{"properties":{"header_name":{"type":"string","title":"Header Name"},"value":{"type":"string","title":"Value"},"hint":{"type":"string","title":"Hint"}},"additionalProperties":false,"type":"object","required":["header_name","value","hint"],"title":"AuthHeaderValue","examples":[{"header_name":"X-Azerion-Origin-Auth","hint":"Q2xk","value":"EXAMPLEEXAMPLEEXAMPLEEXAMPLEEXAMPLEEXAMQ2xk"}]},"Billing":{"properties":{"street":{"type":"string","title":"Street"},"city":{"type":"string","title":"City"},"zip":{"type":"string","title":"Zip"},"country":{"type":"string","title":"Country"}},"additionalProperties":false,"type":"object","required":["street","city","zip","country"],"title":"Billing","examples":[{"city":"Amsterdam","country":"NL","street":"Example Street 1","zip":"1012 AB"}]},"BillingSnapshot":{"properties":{"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"street":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Street"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"zip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zip"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"vat_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat Number"}},"type":"object","required":["company","street","city","zip","country","vat_number"],"title":"BillingSnapshot"},"BillingUpdate":{"properties":{"street":{"type":"string","title":"Street"},"city":{"type":"string","title":"City"},"zip":{"type":"string","title":"Zip"},"country":{"type":"string","title":"Country"}},"additionalProperties":false,"type":"object","required":["street","city","zip","country"],"title":"BillingUpdate","examples":[{"city":"Amsterdam","country":"NL","street":"Example Street 1","zip":"1012 AB"}]},"Bucket":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"region":{"type":"string","title":"Region"},"region_label":{"type":"string","title":"Region Label"},"encryption":{"type":"string","const":"AES-256","title":"Encryption"},"status":{"$ref":"#/components/schemas/BucketStatus"},"failure_reason":{"anyOf":[{"$ref":"#/components/schemas/BucketFailureReason"},{"type":"null"}]},"object_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Object Count"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"stats_as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stats As Of"},"endpoint":{"type":"string","title":"Endpoint"},"public_access":{"type":"boolean","title":"Public Access"},"fronted_by_zone":{"anyOf":[{"$ref":"#/components/schemas/FrontedByZone"},{"type":"null"}]},"attach_status":{"$ref":"#/components/schemas/AttachStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","name","region","region_label","encryption","status","failure_reason","object_count","size_bytes","stats_as_of","endpoint","public_access","fronted_by_zone","attach_status","created_at"],"title":"Bucket","examples":[{"attach_status":"none","created_at":"2026-01-15T10:00:00Z","encryption":"AES-256","endpoint":"https://s3.example.com","id":"01890000-0000-7000-8000-000000000206","name":"azc-a1b2c3-assets","object_count":120,"public_access":false,"region":"eu-west-1","region_label":"Europe (Ireland)","size_bytes":1048576,"stats_as_of":"2026-01-15T10:00:00Z","status":"active","failure_reason":null,"fronted_by_zone":null}]},"BucketFailureReason":{"properties":{"code":{"type":"string","enum":["bucket_name_unavailable","internal"],"title":"Code"},"message":{"type":"string","title":"Message"}},"additionalProperties":false,"type":"object","required":["code","message"],"title":"BucketFailureReason"},"BucketList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Bucket"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"},"totals":{"$ref":"#/components/schemas/BucketTotals"},"total_count":{"type":"integer","title":"Total Count"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more","totals","total_count"],"title":"BucketList","examples":[{"data":[{"attach_status":"none","created_at":"2026-01-15T10:00:00Z","encryption":"AES-256","endpoint":"https://s3.example.com","id":"01890000-0000-7000-8000-000000000206","name":"azc-a1b2c3-assets","object_count":120,"public_access":false,"region":"eu-west-1","region_label":"Europe (Ireland)","size_bytes":1048576,"stats_as_of":"2026-01-15T10:00:00Z","status":"active","failure_reason":null,"fronted_by_zone":null}],"has_more":false,"total_count":1,"totals":{"as_of":"2026-01-15T10:00:00Z","object_count":120,"size_bytes":1048576},"next_cursor":null}]},"BucketObject":{"properties":{"key":{"type":"string","title":"Key"},"size_bytes":{"type":"integer","title":"Size Bytes"},"last_modified":{"type":"string","format":"date-time","title":"Last Modified"}},"additionalProperties":false,"type":"object","required":["key","size_bytes","last_modified"],"title":"BucketObject"},"BucketStatus":{"type":"string","enum":["creating","active","failed","deleting","deleted"],"title":"BucketStatus"},"BucketTotals":{"properties":{"size_bytes":{"type":"integer","title":"Size Bytes"},"object_count":{"type":"integer","title":"Object Count"},"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"}},"additionalProperties":false,"type":"object","required":["size_bytes","object_count","as_of"],"title":"BucketTotals"},"CacheRule":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"precedence":{"type":"integer","title":"Precedence"},"is_default":{"type":"boolean","title":"Is Default"},"path_pattern":{"type":"string","title":"Path Pattern"},"origin_id":{"type":"string","format":"uuid","title":"Origin Id"},"rule_type":{"$ref":"#/components/schemas/CachingPreset"},"ttl_profile":{"anyOf":[{"$ref":"#/components/schemas/TtlProfile"},{"type":"null"}]},"ttl_min":{"type":"integer","title":"Ttl Min"},"ttl_default":{"type":"integer","title":"Ttl Default"},"ttl_max":{"type":"integer","title":"Ttl Max"},"compression_enabled":{"type":"boolean","title":"Compression Enabled"},"viewer_protocol_policy":{"$ref":"#/components/schemas/ViewerProtocolPolicy"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","precedence","is_default","path_pattern","origin_id","rule_type","ttl_profile","ttl_min","ttl_default","ttl_max","compression_enabled","viewer_protocol_policy","created_at"],"title":"CacheRule","examples":[{"compression_enabled":true,"created_at":"2026-01-15T10:00:00Z","id":"01890000-0000-7000-8000-000000000206","is_default":false,"origin_id":"01890000-0000-7000-8000-000000000949","path_pattern":"/images/*","precedence":1,"rule_type":"static","ttl_default":86400,"ttl_max":31536000,"ttl_min":0,"viewer_protocol_policy":"HTTPS_ONLY","ttl_profile":null}]},"CacheRuleList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/CacheRule"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"},"count":{"type":"integer","title":"Count"},"limit":{"type":"integer","title":"Limit"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more","count","limit"],"title":"CacheRuleList","examples":[{"count":1,"data":[{"compression_enabled":true,"created_at":"2026-01-15T10:00:00Z","id":"01890000-0000-7000-8000-000000000206","is_default":false,"origin_id":"01890000-0000-7000-8000-000000000949","path_pattern":"/images/*","precedence":1,"rule_type":"static","ttl_default":86400,"ttl_max":31536000,"ttl_min":0,"viewer_protocol_policy":"HTTPS_ONLY","ttl_profile":null}],"has_more":false,"limit":100,"next_cursor":null}]},"CachingInput":{"properties":{"preset":{"$ref":"#/components/schemas/CachingPreset"},"ttl_profile":{"anyOf":[{"$ref":"#/components/schemas/TtlProfile"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["preset"],"title":"CachingInput"},"CachingPreset":{"type":"string","enum":["static","dynamic","custom"],"title":"CachingPreset"},"CapState":{"type":"string","enum":["ok","warning","reached"],"title":"CapState"},"Certificate":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"kind":{"$ref":"#/components/schemas/CertificateKind"},"domain_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Domain Id"},"status":{"$ref":"#/components/schemas/CertificateStatus"},"validation_records":{"items":{"$ref":"#/components/schemas/ValidationRecord"},"type":"array","title":"Validation Records"},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"renewal_eligible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Renewal Eligible"},"requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Requested At"},"names":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Names"}},"additionalProperties":false,"type":"object","required":["id","kind","domain_id","status","validation_records","issued_at","expires_at","renewal_eligible","requested_at"],"title":"Certificate","examples":[{"domain_id":"01890000-0000-7000-8000-000000000933","expires_at":"2027-02-15T10:00:00Z","id":"01890000-0000-7000-8000-000000000206","issued_at":"2026-01-15T10:00:00Z","kind":"validation","renewal_eligible":false,"requested_at":"2026-01-15T10:00:00Z","status":"issued","validation_records":[{"name":"_a1b2.cdn.example.com","type":"CNAME","value":"_c3d4.acm-validations.example.com"}]}]},"CertificateKind":{"type":"string","enum":["validation","zone"],"title":"CertificateKind"},"CertificateList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Certificate"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"CertificateList","examples":[{"data":[{"domain_id":"01890000-0000-7000-8000-000000000933","expires_at":"2027-02-15T10:00:00Z","id":"01890000-0000-7000-8000-000000000206","issued_at":"2026-01-15T10:00:00Z","kind":"validation","renewal_eligible":false,"requested_at":"2026-01-15T10:00:00Z","status":"issued","validation_records":[{"name":"_a1b2.cdn.example.com","type":"CNAME","value":"_c3d4.acm-validations.example.com"}]}],"has_more":false,"next_cursor":null}]},"CertificateStatus":{"type":"string","enum":["pending_validation","issued","validation_failed","renewal_failed","expired","superseded"],"title":"CertificateStatus"},"ClientRole":{"type":"string","enum":["OWNER","FULL_USER","READER"],"title":"ClientRole"},"CompleteAccepted":{"properties":{},"additionalProperties":false,"type":"object","title":"CompleteAccepted","examples":[{}]},"ContactAccepted":{"properties":{},"additionalProperties":false,"type":"object","title":"ContactAccepted","examples":[{}]},"ContactCategory":{"type":"string","enum":["technical","billing","apex_domain"],"title":"ContactCategory"},"ContactRequest":{"properties":{"subject":{"type":"string","maxLength":200,"minLength":1,"title":"Subject"},"message":{"type":"string","maxLength":5000,"minLength":1,"title":"Message"},"category":{"anyOf":[{"$ref":"#/components/schemas/ContactCategory"},{"type":"null"}]},"zone_reference":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Zone Reference"}},"additionalProperties":false,"type":"object","required":["subject","message"],"title":"ContactRequest","examples":[{"category":"technical","message":"Please check the January invoice.","subject":"Question about an invoice"}]},"Contract":{"properties":{"status":{"$ref":"#/components/schemas/OrgStatus"},"cycle":{"type":"string","const":"monthly","title":"Cycle"},"current_period":{"$ref":"#/components/schemas/ContractPeriod"},"payment_terms":{"$ref":"#/components/schemas/PaymentTerms"},"currency":{"$ref":"#/components/schemas/Currency"},"entitlements":{"$ref":"#/components/schemas/ContractEntitlements"},"rate_card":{"$ref":"#/components/schemas/ContractRateCard"},"usage_caps":{"items":{"$ref":"#/components/schemas/ContractUsageCap"},"type":"array","title":"Usage Caps"},"credit_limit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Credit Limit"},"support_email":{"type":"string","title":"Support Email"}},"additionalProperties":false,"type":"object","required":["status","cycle","current_period","payment_terms","currency","entitlements","rate_card","usage_caps","support_email"],"title":"Contract","examples":[{"credit_limit":"5000.00","currency":"EUR","current_period":{"end":"2026-01-31","start":"2026-01-01"},"cycle":"monthly","entitlements":{"coverage_extended":true,"waf_ip_protection":true,"waf_recommended":true},"payment_terms":"NET_30","rate_card":{"complete":true,"current":{"effective_from":"2026-01-01","rates":{"data_transfer_out_base_per_gb":"0.0850","data_transfer_out_extended_per_gb":"0.0850","edge_requests_per_10k":"0.0850","invalidations_per_path":"0.0850","storage_read_per_1k":"0.0850","storage_space_per_gb_month":"0.0850","storage_transfer_out_per_gb":"0.0850","storage_write_per_1k":"0.0850","waf_ip_protection_zone_month":"1.000000","waf_recommended_zone_month":"2.000000","waf_requests_per_million":"0.600000","waf_web_acl_zone_month":"5.000000"}},"upcoming":null},"status":"active","support_email":"support@example.com","usage_caps":[{"dimension":"data_transfer_out","limit_gb":5000,"warn_at_pct":80}]}]},"ContractCard":{"properties":{"effective_from":{"type":"string","format":"date","title":"Effective From"},"rates":{"$ref":"#/components/schemas/Rates"}},"additionalProperties":false,"type":"object","required":["effective_from","rates"],"title":"ContractCard"},"ContractEntitlements":{"properties":{"coverage_extended":{"type":"boolean","title":"Coverage Extended"},"waf_recommended":{"type":"boolean","title":"Waf Recommended"},"waf_ip_protection":{"type":"boolean","title":"Waf Ip Protection"}},"additionalProperties":false,"type":"object","required":["coverage_extended","waf_recommended","waf_ip_protection"],"title":"ContractEntitlements"},"ContractPeriod":{"properties":{"start":{"type":"string","format":"date","title":"Start"},"end":{"type":"string","format":"date","title":"End"}},"additionalProperties":false,"type":"object","required":["start","end"],"title":"ContractPeriod"},"ContractRateCard":{"properties":{"complete":{"type":"boolean","title":"Complete"},"current":{"$ref":"#/components/schemas/ContractCard"},"upcoming":{"anyOf":[{"$ref":"#/components/schemas/ContractCard"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["complete","current","upcoming"],"title":"ContractRateCard"},"ContractUsageCap":{"properties":{"dimension":{"$ref":"#/components/schemas/UsageCapDimension"},"limit_gb":{"type":"integer","title":"Limit Gb"},"warn_at_pct":{"type":"integer","title":"Warn At Pct"}},"additionalProperties":false,"type":"object","required":["dimension","limit_gb","warn_at_pct"],"title":"ContractUsageCap"},"CountryProtection":{"properties":{"mode":{"$ref":"#/components/schemas/ProtectionMode"},"countries":{"items":{"type":"string"},"type":"array","title":"Countries"}},"additionalProperties":false,"type":"object","required":["mode","countries"],"title":"CountryProtection"},"CountryProtectionIn":{"properties":{"mode":{"type":"string","enum":["OFF","ALLOW","BLOCK"],"title":"Mode"},"countries":{"items":{"type":"string"},"type":"array","title":"Countries"}},"additionalProperties":false,"type":"object","required":["mode","countries"],"title":"CountryProtectionIn"},"Coverage":{"type":"string","enum":["BASE_EU_NA","GLOBAL_EXTENDED"],"title":"Coverage"},"CreateApiKeyRequest":{"properties":{"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"level":{"$ref":"#/components/schemas/ApiKeyLevel"}},"additionalProperties":false,"type":"object","required":["name","level"],"title":"CreateApiKeyRequest","examples":[{"level":"write","name":"CI deploy key"}]},"CreateBucketRequest":{"properties":{"name":{"type":"string","maxLength":200,"title":"Name"},"region":{"type":"string","maxLength":64,"title":"Region"}},"additionalProperties":false,"type":"object","required":["name","region"],"title":"CreateBucketRequest","examples":[{"name":"assets","region":"eu-west-1"}]},"CreateCacheRuleRequest":{"properties":{"path_pattern":{"type":"string","title":"Path Pattern"},"origin_id":{"type":"string","format":"uuid","title":"Origin Id"},"rule_type":{"$ref":"#/components/schemas/CachingPreset"},"ttl_profile":{"anyOf":[{"$ref":"#/components/schemas/TtlProfile"},{"type":"null"}]},"compression_enabled":{"type":"boolean","title":"Compression Enabled","default":true},"viewer_protocol_policy":{"$ref":"#/components/schemas/ViewerProtocolPolicy","default":"REDIRECT_TO_HTTPS"}},"additionalProperties":false,"type":"object","required":["path_pattern","origin_id","rule_type"],"title":"CreateCacheRuleRequest","examples":[{"origin_id":"01890000-0000-7000-8000-000000000020","path_pattern":"/images/*","rule_type":"static"}]},"CreateDomainRequest":{"properties":{"hostname":{"type":"string","title":"Hostname"}},"additionalProperties":false,"type":"object","required":["hostname"],"title":"CreateDomainRequest","examples":[{"hostname":"cdn.example.com"}]},"CreateInvalidationRequest":{"properties":{"paths":{"items":{"type":"string"},"type":"array","title":"Paths"}},"additionalProperties":false,"type":"object","required":["paths"],"title":"CreateInvalidationRequest","examples":[{"paths":["/images/*"]}]},"CreateOriginRequest":{"properties":{"name":{"type":"string","title":"Name"},"hostname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hostname"},"protocol":{"$ref":"#/components/schemas/OriginProtocol","default":"HTTPS_ONLY"},"origin_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin Path"},"http_port":{"type":"integer","maximum":65535.0,"minimum":1.0,"title":"Http Port","default":80},"https_port":{"type":"integer","maximum":65535.0,"minimum":1.0,"title":"Https Port","default":443},"type":{"$ref":"#/components/schemas/OriginKind","default":"external"},"bucket_id":{"type":"string","format":"uuid","title":"Bucket Id"},"s3_bucket":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Bucket"},"s3_region":{"anyOf":[{"$ref":"#/components/schemas/S3Region"},{"type":"null"}]},"probe_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Probe Path"}},"additionalProperties":false,"type":"object","required":["name"],"title":"CreateOriginRequest","examples":[{"hostname":"assets.example.com","name":"Primary origin","type":"external"}]},"CreateWebhookRequest":{"properties":{"url":{"type":"string","maxLength":2047,"minLength":1,"title":"Url"},"events":{"items":{"$ref":"#/components/schemas/WebhookEventType"},"type":"array","minItems":1,"title":"Events"},"description":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Description"}},"additionalProperties":false,"type":"object","required":["url","events"],"title":"CreateWebhookRequest","examples":[{"description":"Deployment notices","events":["zone.deployed"],"url":"https://hooks.example.com/azerion"}]},"CreateZoneRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"origin":{"$ref":"#/components/schemas/OriginInput"},"caching":{"$ref":"#/components/schemas/CachingInput"},"coverage":{"$ref":"#/components/schemas/Coverage","default":"BASE_EU_NA"},"security_enabled":{"type":"boolean","title":"Security Enabled","default":false},"custom_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Domain"}},"additionalProperties":false,"type":"object","required":["origin","caching"],"title":"CreateZoneRequest","examples":[{"caching":{"preset":"static"},"name":"Marketing site","origin":{"hostname":"assets.example.com","type":"external"}}]},"Currency":{"type":"string","enum":["USD","EUR"],"title":"Currency"},"CursorPage_CacheRule_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/CacheRule"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"CursorPage[CacheRule]","examples":[{"data":[{"compression_enabled":true,"created_at":"2026-01-15T10:00:00Z","id":"01890000-0000-7000-8000-000000000206","is_default":false,"origin_id":"01890000-0000-7000-8000-000000000949","path_pattern":"/images/*","precedence":1,"rule_type":"static","ttl_default":86400,"ttl_max":31536000,"ttl_min":0,"viewer_protocol_policy":"HTTPS_ONLY","ttl_profile":null}],"has_more":false,"next_cursor":null}]},"CursorPage_InvoiceSummary_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/InvoiceSummary"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"CursorPage[InvoiceSummary]","examples":[{"data":[{"currency":"EUR","document_available":true,"due_date":"2026-02-14","id":"01890000-0000-7000-8000-000000000206","issue_date":"2026-01-15","number":"INV-2026-0001","period":"2025-12-01","status":"issued","total":"8.50","version":1}],"has_more":false,"next_cursor":null}]},"CursorPage_Origin_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Origin"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"CursorPage[Origin]","examples":[{"data":[{"access":{"checked_at":"2026-01-15T10:05:00Z","detail":"200 from origin","probe_path":"/assets","status":"ok"},"auth_header":{"active_since":"2026-01-15T10:00:00Z","enabled":true,"hint":"Q2xk","pending":null},"created_at":"2026-01-15T10:00:00Z","hostname":"assets.example.com","http_port":80,"https_port":443,"id":"01890000-0000-7000-8000-000000000206","name":"Primary origin","origin_path":"/assets","protocol":"HTTPS_ONLY","status":"in_use","type":"EXTERNAL","bucket":null,"s3_bucket":null,"s3_region":null}],"has_more":false,"next_cursor":null}]},"DefaultRule":{"properties":{"preset":{"$ref":"#/components/schemas/CachingPreset"},"viewer_protocol_policy":{"$ref":"#/components/schemas/ViewerProtocolPolicy"},"compression_enabled":{"type":"boolean","title":"Compression Enabled"}},"additionalProperties":false,"type":"object","required":["preset","viewer_protocol_policy","compression_enabled"],"title":"DefaultRule"},"DeliveryItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"},"event_type":{"type":"string","title":"Event Type"},"status":{"$ref":"#/components/schemas/DeliveryStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"attempts":{"items":{"$ref":"#/components/schemas/AttemptItem"},"type":"array","title":"Attempts"}},"additionalProperties":false,"type":"object","required":["id","event_id","event_type","status","created_at","attempts"],"title":"DeliveryItem"},"DeliveryList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/DeliveryItem"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"DeliveryList","examples":[{"data":[{"attempts":[{"attempt":1,"duration_ms":120,"http_status":200,"response_snippet":"OK","started_at":"2026-01-15T10:00:00Z","error":null}],"created_at":"2026-01-15T10:00:00Z","event_id":"01890000-0000-7000-8000-000000000847","event_type":"zone.deployed","id":"01890000-0000-7000-8000-000000000206","status":"succeeded"}],"has_more":false,"next_cursor":null}]},"DeliveryStatus":{"type":"string","enum":["pending","succeeded","failed"],"title":"DeliveryStatus"},"DeploymentError":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"}},"additionalProperties":false,"type":"object","required":["code","message"],"title":"DeploymentError"},"DeploymentState":{"type":"string","enum":["in_progress","deployed","failed"],"title":"DeploymentState"},"Domain":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"hostname":{"type":"string","title":"Hostname"},"type":{"$ref":"#/components/schemas/DomainType"},"status":{"$ref":"#/components/schemas/DomainStatus"},"certificate_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Certificate Id"},"validation_records":{"items":{"$ref":"#/components/schemas/ValidationRecord"},"type":"array","title":"Validation Records"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","hostname","type","status","certificate_id","validation_records","created_at"],"title":"Domain","examples":[{"certificate_id":"01890000-0000-7000-8000-000000001456","created_at":"2026-01-15T10:00:00Z","hostname":"cdn.example.com","id":"01890000-0000-7000-8000-000000000206","status":"active","type":"CUSTOM","validation_records":[{"name":"_a1b2.cdn.example.com","type":"CNAME","value":"_c3d4.acm-validations.example.com"}]}]},"DomainList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Domain"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"},"slots_left":{"type":"integer","title":"Slots Left"},"limit":{"type":"integer","title":"Limit"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more","slots_left","limit"],"title":"DomainList","examples":[{"data":[{"certificate_id":"01890000-0000-7000-8000-000000001456","created_at":"2026-01-15T10:00:00Z","hostname":"cdn.example.com","id":"01890000-0000-7000-8000-000000000206","status":"active","type":"CUSTOM","validation_records":[{"name":"_a1b2.cdn.example.com","type":"CNAME","value":"_c3d4.acm-validations.example.com"}]}],"has_more":false,"limit":100,"slots_left":99,"next_cursor":null}]},"DomainStatus":{"type":"string","enum":["pending_validation","validated","active","removing"],"title":"DomainStatus"},"DomainType":{"type":"string","enum":["SYSTEM","CUSTOM"],"title":"DomainType"},"DownloadUrl":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"redacted":{"type":"boolean","title":"Redacted"}},"additionalProperties":false,"type":"object","required":["url","expires_at","redacted"],"title":"DownloadUrl","examples":[{"expires_at":"2026-01-15T10:00:00Z","redacted":false,"url":"https://s3.example.com/images/logo.png?X-Amz-Signature=example"}]},"DownloadUrlRequest":{"properties":{"key":{"type":"string","minLength":1,"title":"Key"}},"additionalProperties":false,"type":"object","required":["key"],"title":"DownloadUrlRequest","examples":[{"key":"images/logo.png"}]},"EmptyBody":{"properties":{},"additionalProperties":false,"type":"object","title":"EmptyBody","examples":[{}]},"EndpointStatus":{"type":"string","enum":["active","failing"],"title":"EndpointStatus"},"FrontedByZone":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"}},"additionalProperties":false,"type":"object","required":["id","name"],"title":"FrontedByZone"},"GroupBy":{"type":"string","enum":["dimension","zone","bucket"],"title":"GroupBy"},"Invalidation":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"zone_id":{"type":"string","format":"uuid","title":"Zone Id"},"paths":{"items":{"type":"string"},"type":"array","title":"Paths"},"path_count":{"type":"integer","title":"Path Count"},"status":{"$ref":"#/components/schemas/InvalidationStatus"},"failure_reason":{"anyOf":[{"$ref":"#/components/schemas/app__modules__zones__invalidations__schemas__FailureReason"},{"type":"null"}]},"requested_by":{"$ref":"#/components/schemas/RequestedBy"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"accepted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Accepted At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"additionalProperties":false,"type":"object","required":["id","zone_id","paths","path_count","status","failure_reason","requested_by","created_at","accepted_at","completed_at"],"title":"Invalidation","examples":[{"accepted_at":"2026-01-15T10:00:00Z","completed_at":"2026-01-15T10:00:00Z","created_at":"2026-01-15T10:00:00Z","id":"01890000-0000-7000-8000-000000000206","path_count":1,"paths":["/images/*"],"requested_by":{"name":"Ada Lovelace","type":"user"},"status":"completed","zone_id":"01890000-0000-7000-8000-000000000745","failure_reason":null}]},"InvalidationList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Invalidation"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more"],"title":"InvalidationList","examples":[{"data":[{"accepted_at":"2026-01-15T10:00:00Z","completed_at":"2026-01-15T10:00:00Z","created_at":"2026-01-15T10:00:00Z","id":"01890000-0000-7000-8000-000000000206","path_count":1,"paths":["/images/*"],"requested_by":{"name":"Ada Lovelace","type":"user"},"status":"completed","zone_id":"01890000-0000-7000-8000-000000000745","failure_reason":null}],"has_more":false,"next_cursor":null}]},"InvalidationStatus":{"type":"string","enum":["queued","in_progress","completed","failed"],"title":"InvalidationStatus"},"InvitationResponse":{"properties":{"email":{"type":"string","title":"Email"},"first_name":{"type":"string","title":"First Name"},"org_name":{"type":"string","title":"Org Name"},"step":{"type":"string","enum":["set_password","enrol_mfa"],"title":"Step"},"mfa_required":{"type":"boolean","title":"Mfa Required","description":"Whether activation includes the MFA steps: on set_password, the App Setting mfa_required (a snapshot; accept-invite's next decides what follows the password); on enrol_mfa, always true"}},"additionalProperties":false,"type":"object","required":["email","first_name","org_name","step","mfa_required"],"title":"InvitationResponse","examples":[{"email":"ada@example.com","first_name":"Ada","mfa_required":true,"org_name":"Example Media","step":"set_password"}]},"InviteMemberRequest":{"properties":{"email":{"type":"string","title":"Email"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"role":{"$ref":"#/components/schemas/ClientRole"}},"additionalProperties":false,"type":"object","required":["email","first_name","last_name","role"],"title":"InviteMemberRequest","examples":[{"email":"ada@example.com","first_name":"Ada","last_name":"Lovelace","role":"FULL_USER"}]},"Invoice":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"number":{"type":"string","title":"Number"},"version":{"type":"integer","title":"Version"},"period":{"type":"string","format":"date","title":"Period"},"issue_date":{"type":"string","format":"date","title":"Issue Date"},"due_date":{"type":"string","format":"date","title":"Due Date"},"payment_terms":{"$ref":"#/components/schemas/PaymentTerms"},"currency":{"$ref":"#/components/schemas/Currency"},"status":{"$ref":"#/components/schemas/InvoiceStatus"},"lines":{"items":{"$ref":"#/components/schemas/InvoiceLineOut"},"type":"array","title":"Lines"},"subtotal":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Subtotal"},"tax_total":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Tax Total"},"total":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Total"},"billing":{"$ref":"#/components/schemas/BillingSnapshot"},"issuer":{"$ref":"#/components/schemas/IssuerSnapshot"},"document_available":{"type":"boolean","title":"Document Available"}},"additionalProperties":false,"type":"object","required":["id","number","version","period","issue_date","due_date","payment_terms","currency","status","lines","subtotal","tax_total","total","billing","issuer","document_available"],"title":"Invoice","examples":[{"billing":{"city":"Amsterdam","company":"Example Media BV","country":"NL","street":"Example Street 1","vat_number":"NL000000000B01","zip":"1012 AB"},"currency":"EUR","document_available":true,"due_date":"2026-02-14","id":"01890000-0000-7000-8000-000000000206","issue_date":"2026-01-15","issuer":{"address":"Example Street 1, Amsterdam","legal_entity":"Azerion Example BV","registration_number":"00000000","vat_number":"NL000000000B01","reverse_charge_text":null},"lines":[{"amount":"8.50","description":"Data transfer out · Europe and North America","dimension":"data_transfer_out_base_per_gb","quantity":"100","resource_deleted":false,"resource_id":"01890000-0000-7000-8000-000000000301","resource_label":"cdn.example.com","resource_type":"zone","tax_amount":"0.00","tax_category":"zero_rated","tax_rate":"0","unit":"GB","unit_price":"0.0850"}],"number":"INV-2026-0001","payment_terms":"NET_30","period":"2025-12-01","status":"issued","subtotal":"8.50","tax_total":"0.00","total":"8.50","version":1}]},"InvoiceLineOut":{"properties":{"dimension":{"$ref":"#/components/schemas/RateDimension"},"resource_type":{"anyOf":[{"$ref":"#/components/schemas/ResourceType"},{"type":"null"}]},"resource_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Resource Id"},"resource_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Label"},"resource_deleted":{"type":"boolean","title":"Resource Deleted"},"description":{"type":"string","title":"Description"},"quantity":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Quantity"},"unit":{"$ref":"#/components/schemas/LedgerUnit"},"unit_price":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Unit Price"},"amount":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount"},"tax_category":{"$ref":"#/components/schemas/TaxCategory"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Tax Rate"},"tax_amount":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Tax Amount"}},"additionalProperties":false,"type":"object","required":["dimension","resource_type","resource_id","resource_label","resource_deleted","description","quantity","unit","unit_price","amount","tax_category","tax_rate","tax_amount"],"title":"InvoiceLineOut"},"InvoiceStatus":{"type":"string","enum":["issued","superseded"],"title":"InvoiceStatus"},"InvoiceSummary":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number"},"version":{"type":"integer","title":"Version"},"period":{"type":"string","format":"date","title":"Period"},"issue_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Issue Date"},"due_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Due Date"},"status":{"$ref":"#/components/schemas/ListStatus"},"currency":{"$ref":"#/components/schemas/Currency"},"total":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Total"},"document_available":{"type":"boolean","title":"Document Available"}},"additionalProperties":false,"type":"object","required":["id","number","version","period","issue_date","due_date","status","currency","total","document_available"],"title":"InvoiceSummary","examples":[{"currency":"EUR","document_available":true,"due_date":"2026-02-14","id":"01890000-0000-7000-8000-000000000206","issue_date":"2026-01-15","number":"INV-2026-0001","period":"2025-12-01","status":"issued","total":"8.50","version":1}]},"IpProtection":{"properties":{"mode":{"$ref":"#/components/schemas/ProtectionMode"},"cidrs":{"items":{"type":"string"},"type":"array","title":"Cidrs"}},"additionalProperties":false,"type":"object","required":["mode","cidrs"],"title":"IpProtection"},"IpProtectionIn":{"properties":{"mode":{"type":"string","enum":["OFF","ALLOW","BLOCK"],"title":"Mode"},"cidrs":{"items":{"type":"string"},"type":"array","title":"Cidrs"}},"additionalProperties":false,"type":"object","required":["mode","cidrs"],"title":"IpProtectionIn"},"IssuerSnapshot":{"properties":{"legal_entity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Entity"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"vat_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat Number"},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number"},"reverse_charge_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reverse Charge Text","description":"The reverse-charge statement captured at issue; null for a version issued before the statement was captured."}},"type":"object","required":["legal_entity","address","vat_number","registration_number","reverse_charge_text"],"title":"IssuerSnapshot"},"LastDelivery":{"properties":{"at":{"type":"string","format":"date-time","title":"At"},"status":{"$ref":"#/components/schemas/DeliveryStatus"}},"additionalProperties":false,"type":"object","required":["at","status"],"title":"LastDelivery"},"LedgerUnit":{"type":"string","enum":["GB","requests","paths","days","GB-month"],"title":"LedgerUnit"},"ListStatus":{"type":"string","enum":["accruing","issued"],"title":"ListStatus"},"LoginRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","maxLength":128,"minLength":1,"title":"Password"}},"additionalProperties":false,"type":"object","required":["email","password"],"title":"LoginRequest","examples":[{"email":"ada@example.com","password":"example-Passphrase-2026"}]},"LoginResponse":{"properties":{"next":{"$ref":"#/components/schemas/NextStep","description":"done: signed in; mfa_verify: send the code to mfa/verify; mfa_setup: set MFA up with mfa/setup and mfa/setup/confirm"},"csrf_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Csrf Token","description":"On mfa_setup only: send as X-CSRF-Token to mfa/setup, mfa/setup/confirm and logout. Absent otherwise."}},"additionalProperties":false,"type":"object","required":["next"],"title":"LoginResponse","examples":[{"csrf_token":"exampleCsrfToken","next":"mfa_setup"}]},"Member":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"type":"string","title":"Email"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"role":{"$ref":"#/components/schemas/ClientRole"},"status":{"$ref":"#/components/schemas/UserStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","email","first_name","last_name","role","status","created_at"],"title":"Member","examples":[{"created_at":"2026-01-15T10:00:00Z","email":"ada@example.com","first_name":"Ada","id":"01890000-0000-7000-8000-000000000206","last_name":"Lovelace","role":"OWNER","status":"active"}]},"MemberList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Member"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"},"total_count":{"type":"integer","title":"Total Count"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more","total_count"],"title":"MemberList","examples":[{"data":[{"created_at":"2026-01-15T10:00:00Z","email":"ada@example.com","first_name":"Ada","id":"01890000-0000-7000-8000-000000000206","last_name":"Lovelace","role":"OWNER","status":"active"}],"has_more":false,"total_count":1,"next_cursor":null}]},"MfaEnrolConfirmRequest":{"properties":{"code":{"type":"string","pattern":"^[0-9]{6}$","title":"Code"}},"additionalProperties":false,"type":"object","required":["code"],"title":"MfaEnrolConfirmRequest","examples":[{"code":"123456"}]},"MfaEnrolRequest":{"properties":{"password":{"type":"string","maxLength":128,"minLength":1,"title":"Password"},"code":{"type":"string","pattern":"^(?:[0-9]{6}|[A-Za-z0-9-]{8,20})$","title":"Code"}},"additionalProperties":false,"type":"object","required":["password","code"],"title":"MfaEnrolRequest","examples":[{"code":"123456","password":"example-Passphrase-2026"}]},"MfaEnrolResponse":{"properties":{"otpauth_uri":{"type":"string","title":"Otpauth Uri"}},"additionalProperties":false,"type":"object","required":["otpauth_uri"],"title":"MfaEnrolResponse","examples":[{"otpauth_uri":"otpauth://totp/Azerion:ada@example.com?secret=EXAMPLE"}]},"MfaSetupConfirmRequest":{"properties":{"code":{"type":"string","pattern":"^[0-9]{6}$","title":"Code"}},"additionalProperties":false,"type":"object","required":["code"],"title":"MfaSetupConfirmRequest","examples":[{"code":"123456"}]},"MfaSetupConfirmResponse":{"properties":{"recovery_codes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Recovery Codes","description":"Ten recovery codes, shown once. Null on an Idempotency-Key replay: the stored response never holds them."}},"additionalProperties":false,"type":"object","required":["recovery_codes"],"title":"MfaSetupConfirmResponse","examples":[{"recovery_codes":["abcd-2345","efgh-6789","jkmn-2345","pqrs-6789","tuvw-2345","xyza-6789","bcde-2345","fghj-6789","kmnp-2345","qrst-6789"]}]},"MfaSetupResponse":{"properties":{"otpauth_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Otpauth Uri","description":"The URI to add to an authenticator. Null on an Idempotency-Key replay: the stored response never holds it."}},"additionalProperties":false,"type":"object","required":["otpauth_uri"],"title":"MfaSetupResponse","examples":[{"otpauth_uri":"otpauth://totp/Azerion:ada@example.com?secret=EXAMPLE"}]},"MfaVerifyRequest":{"properties":{"code":{"type":"string","pattern":"^(?:[0-9]{6}|[A-Za-z0-9-]{8,20})$","title":"Code"}},"additionalProperties":false,"type":"object","required":["code"],"title":"MfaVerifyRequest","examples":[{"code":"123456"}]},"NextStep":{"type":"string","enum":["done","mfa_verify","mfa_setup"]},"NotificationItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"type":{"type":"string","title":"Type"},"title":{"type":"string","title":"Title"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"link":{"$ref":"#/components/schemas/NotificationLink"}},"additionalProperties":false,"type":"object","required":["id","type","title","created_at","link"],"title":"NotificationItem"},"NotificationLink":{"properties":{"kind":{"$ref":"#/components/schemas/NotificationLinkKind"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"additionalProperties":false,"type":"object","required":["kind","id"],"title":"NotificationLink"},"NotificationLinkKind":{"type":"string","enum":["zone","invoice","cost_explorer"],"title":"NotificationLinkKind"},"NotificationList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/NotificationItem"},"type":"array","title":"Data"},"unread_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unread Count"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","unread_count","next_cursor","has_more"],"title":"NotificationList","examples":[{"data":[{"created_at":"2026-01-15T10:00:00Z","id":"01890000-0000-7000-8000-000000000206","link":{"id":"01890000-0000-7000-8000-000000000206","kind":"zone"},"title":"Zone deployed","type":"zone.deployed"}],"has_more":false,"unread_count":1,"next_cursor":null}]},"NotificationsSeen":{"properties":{"seen_at":{"type":"string","format":"date-time","title":"Seen At"},"unread_count":{"type":"integer","title":"Unread Count"}},"additionalProperties":false,"type":"object","required":["seen_at","unread_count"],"title":"NotificationsSeen","examples":[{"seen_at":"2026-01-15T10:00:00Z","unread_count":0}]},"ObjectFolder":{"properties":{"prefix":{"type":"string","title":"Prefix"}},"additionalProperties":false,"type":"object","required":["prefix"],"title":"ObjectFolder"},"ObjectList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/BucketObject"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"},"prefix":{"type":"string","title":"Prefix"},"folders":{"items":{"$ref":"#/components/schemas/ObjectFolder"},"type":"array","title":"Folders"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more","prefix","folders"],"title":"ObjectList","examples":[{"data":[{"key":"images/logo.png","last_modified":"2026-01-15T10:00:00Z","size_bytes":1048576}],"folders":[{"prefix":"images/2026/"}],"has_more":false,"prefix":"images/","next_cursor":null}]},"OrgStatus":{"type":"string","enum":["active","suspended","closed"],"title":"OrgStatus"},"Origin":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"hostname":{"type":"string","title":"Hostname"},"protocol":{"$ref":"#/components/schemas/OriginProtocol"},"origin_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin Path"},"http_port":{"type":"integer","title":"Http Port"},"https_port":{"type":"integer","title":"Https Port"},"type":{"$ref":"#/components/schemas/OriginType"},"status":{"$ref":"#/components/schemas/OriginStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"bucket":{"anyOf":[{"$ref":"#/components/schemas/OriginBucket"},{"type":"null"}]},"s3_bucket":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Bucket"},"s3_region":{"anyOf":[{"$ref":"#/components/schemas/S3Region"},{"type":"null"}]},"access":{"$ref":"#/components/schemas/OriginAccess"},"auth_header":{"$ref":"#/components/schemas/OriginAuthHeader"}},"additionalProperties":false,"type":"object","required":["id","name","hostname","protocol","origin_path","http_port","https_port","type","status","created_at","bucket","s3_bucket","s3_region","access","auth_header"],"title":"Origin","examples":[{"access":{"checked_at":"2026-01-15T10:05:00Z","detail":"200 from origin","probe_path":"/assets","status":"ok"},"auth_header":{"active_since":"2026-01-15T10:00:00Z","enabled":true,"hint":"Q2xk","pending":null},"created_at":"2026-01-15T10:00:00Z","hostname":"assets.example.com","http_port":80,"https_port":443,"id":"01890000-0000-7000-8000-000000000206","name":"Primary origin","origin_path":"/assets","protocol":"HTTPS_ONLY","status":"in_use","type":"EXTERNAL","bucket":null,"s3_bucket":null,"s3_region":null}]},"OriginAccess":{"properties":{"probe_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Probe Path"},"status":{"anyOf":[{"$ref":"#/components/schemas/ProbeStatus"},{"type":"null"}]},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Checked At"}},"additionalProperties":false,"type":"object","required":["probe_path","status","detail","checked_at"],"title":"OriginAccess"},"OriginAuthHeader":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hint"},"active_since":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Active Since"},"pending":{"anyOf":[{"$ref":"#/components/schemas/OriginAuthHeaderPending"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["enabled","hint","active_since","pending"],"title":"OriginAuthHeader"},"OriginAuthHeaderPending":{"properties":{"hint":{"type":"string","title":"Hint"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["hint","created_at"],"title":"OriginAuthHeaderPending"},"OriginBucket":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"region":{"type":"string","title":"Region"}},"additionalProperties":false,"type":"object","required":["id","name","region"],"title":"OriginBucket"},"OriginInput":{"properties":{"type":{"$ref":"#/components/schemas/OriginKind"},"hostname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hostname"},"protocol":{"$ref":"#/components/schemas/OriginProtocol","default":"HTTPS_ONLY"},"origin_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin Path"},"https_port":{"type":"integer","maximum":65535.0,"minimum":1.0,"title":"Https Port","default":443},"http_port":{"type":"integer","maximum":65535.0,"minimum":1.0,"title":"Http Port","default":80},"bucket_id":{"type":"string","format":"uuid","title":"Bucket Id"},"s3_bucket":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Bucket"},"s3_region":{"anyOf":[{"$ref":"#/components/schemas/S3Region"},{"type":"null"}]},"probe_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Probe Path"}},"additionalProperties":false,"type":"object","required":["type"],"title":"OriginInput"},"OriginKind":{"type":"string","enum":["external","storage","client_s3"],"title":"OriginKind"},"OriginProtocol":{"type":"string","enum":["HTTPS_ONLY","HTTP_ONLY","MATCH_VIEWER"],"title":"OriginProtocol"},"OriginStatus":{"type":"string","enum":["in_use","unused"],"title":"OriginStatus"},"OriginType":{"type":"string","enum":["EXTERNAL","STORAGE","CLIENT_S3"],"title":"OriginType"},"PasswordChangeRequest":{"properties":{"current_password":{"type":"string","maxLength":128,"minLength":1,"title":"Current Password"},"new_password":{"type":"string","title":"New Password"}},"additionalProperties":false,"type":"object","required":["current_password","new_password"],"title":"PasswordChangeRequest","examples":[{"current_password":"example-Old-Passphrase-2026","new_password":"example-Passphrase-2026"}]},"PasswordChangeResponse":{"properties":{"csrf_token":{"type":"string","title":"Csrf Token"}},"additionalProperties":false,"type":"object","required":["csrf_token"],"title":"PasswordChangeResponse","examples":[{"csrf_token":"exampleCsrfToken"}]},"PasswordResetConfirmRequest":{"properties":{"token":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,256}$","title":"Token"},"new_password":{"type":"string","title":"New Password"}},"additionalProperties":false,"type":"object","required":["token","new_password"],"title":"PasswordResetConfirmRequest","examples":[{"new_password":"example-Passphrase-2026","token":"exampleResetToken"}]},"PasswordResetRequest":{"properties":{"email":{"type":"string","title":"Email"}},"additionalProperties":false,"type":"object","required":["email"],"title":"PasswordResetRequest","examples":[{"email":"ada@example.com"}]},"PaymentTerms":{"type":"string","enum":["NET_30","NET_60","NET_90"],"title":"PaymentTerms"},"PendingAuthHeaderValue":{"properties":{"value":{"type":"string","title":"Value"},"hint":{"type":"string","title":"Hint"}},"additionalProperties":false,"type":"object","required":["value","hint"],"title":"PendingAuthHeaderValue","examples":[{"hint":"Tg9w","value":"EXAMPLEEXAMPLEEXAMPLEEXAMPLEEXAMPLEEXAMTg9w"}]},"ProbeStatus":{"type":"string","enum":["ok","denied","unreachable","not_routed","cached","unknown","checking"],"title":"ProbeStatus"},"ProfilePatchRequest":{"properties":{"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"}},"additionalProperties":false,"type":"object","title":"ProfilePatchRequest","examples":[{"first_name":"Ada","last_name":"Lovelace"}]},"ProfileResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"type":"string","title":"Email"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"avatar_initial":{"type":"string","title":"Avatar Initial"},"role":{"anyOf":[{"$ref":"#/components/schemas/ClientRole"},{"type":"null"}]},"access":{"anyOf":[{"$ref":"#/components/schemas/StaffAccess"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/UserStatus"},"org_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Org Name"},"mfa_enrolled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Mfa Enrolled At"},"recovery_codes_remaining":{"type":"integer","title":"Recovery Codes Remaining"}},"additionalProperties":false,"type":"object","required":["id","email","first_name","last_name","avatar_initial","role","access","status","org_name","mfa_enrolled_at","recovery_codes_remaining"],"title":"ProfileResponse","examples":[{"avatar_initial":"A","email":"ada@example.com","first_name":"Ada","id":"01890000-0000-7000-8000-000000000206","last_name":"Lovelace","mfa_enrolled_at":"2026-01-15T10:00:00Z","org_name":"Example Media","recovery_codes_remaining":10,"role":"OWNER","status":"active","access":null}]},"ProtectionMode":{"type":"string","enum":["OFF","ALLOW","BLOCK"],"title":"ProtectionMode"},"RateDimension":{"type":"string","enum":["data_transfer_out_base_per_gb","data_transfer_out_extended_per_gb","edge_requests_per_10k","invalidations_per_path","waf_web_acl_zone_month","waf_recommended_zone_month","waf_ip_protection_zone_month","waf_requests_per_million","storage_space_per_gb_month","storage_transfer_out_per_gb","storage_write_per_1k","storage_read_per_1k","firewall_per_zone_month"],"title":"RateDimension"},"RateLimitInfo":{"properties":{"requests_per_minute":{"type":"integer","title":"Requests Per Minute"}},"additionalProperties":false,"type":"object","required":["requests_per_minute"],"title":"RateLimitInfo"},"Rates":{"properties":{"data_transfer_out_base_per_gb":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Transfer Out Base Per Gb"},"data_transfer_out_extended_per_gb":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Transfer Out Extended Per Gb"},"edge_requests_per_10k":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edge Requests Per 10K"},"invalidations_per_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invalidations Per Path"},"waf_web_acl_zone_month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waf Web Acl Zone Month"},"waf_recommended_zone_month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waf Recommended Zone Month"},"waf_ip_protection_zone_month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waf Ip Protection Zone Month"},"waf_requests_per_million":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waf Requests Per Million"},"storage_space_per_gb_month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Storage Space Per Gb Month"},"storage_transfer_out_per_gb":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Storage Transfer Out Per Gb"},"storage_write_per_1k":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Storage Write Per 1K"},"storage_read_per_1k":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Storage Read Per 1K"}},"additionalProperties":false,"type":"object","required":["data_transfer_out_base_per_gb","data_transfer_out_extended_per_gb","edge_requests_per_10k","invalidations_per_path","waf_web_acl_zone_month","waf_recommended_zone_month","waf_ip_protection_zone_month","waf_requests_per_million","storage_space_per_gb_month","storage_transfer_out_per_gb","storage_write_per_1k","storage_read_per_1k"],"title":"Rates"},"ReRequestCertificate":{"properties":{"domain_id":{"type":"string","format":"uuid","title":"Domain Id"}},"additionalProperties":false,"type":"object","required":["domain_id"],"title":"ReRequestCertificate","examples":[{"domain_id":"01890000-0000-7000-8000-000000000030"}]},"RecoveryCodesRequest":{"properties":{"password":{"type":"string","maxLength":128,"minLength":1,"title":"Password"},"code":{"type":"string","pattern":"^(?:[0-9]{6}|[A-Za-z0-9-]{8,20})$","title":"Code"}},"additionalProperties":false,"type":"object","required":["password","code"],"title":"RecoveryCodesRequest","examples":[{"code":"123456","password":"example-Passphrase-2026"}]},"RecoveryCodesResponse":{"properties":{"recovery_codes":{"items":{"type":"string"},"type":"array","title":"Recovery Codes"}},"additionalProperties":false,"type":"object","required":["recovery_codes"],"title":"RecoveryCodesResponse","examples":[{"recovery_codes":["abcd-2345","efgh-6789","jkmn-2345","pqrs-6789","tuvw-2345","xyza-6789","bcde-2345","fghj-6789","kmnp-2345","qrst-6789"]}]},"ReorderCacheRulesRequest":{"properties":{"rule_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Rule Ids"}},"additionalProperties":false,"type":"object","required":["rule_ids"],"title":"ReorderCacheRulesRequest","examples":[{"rule_ids":["01890000-0000-7000-8000-000000000041","01890000-0000-7000-8000-000000000042"]}]},"RequestedBy":{"properties":{"type":{"$ref":"#/components/schemas/RequestedByType"},"name":{"type":"string","title":"Name"}},"additionalProperties":false,"type":"object","required":["type","name"],"title":"RequestedBy"},"RequestedByType":{"type":"string","enum":["user","api_key"],"title":"RequestedByType"},"ResourceType":{"type":"string","enum":["zone","bucket"],"title":"ResourceType"},"RotateAccepted":{"properties":{"rotation":{"$ref":"#/components/schemas/RotationStarted"}},"additionalProperties":false,"type":"object","required":["rotation"],"title":"RotateAccepted","examples":[{"rotation":{"started_at":"2026-01-15T10:00:00Z"}}]},"RotationKey":{"properties":{"access_key_id":{"type":"string","title":"Access Key Id"},"secret_access_key":{"type":"string","title":"Secret Access Key"},"started_at":{"type":"string","format":"date-time","title":"Started At"}},"additionalProperties":false,"type":"object","required":["access_key_id","secret_access_key","started_at"],"title":"RotationKey"},"RotationStarted":{"properties":{"started_at":{"type":"string","format":"date-time","title":"Started At"}},"additionalProperties":false,"type":"object","required":["started_at"],"title":"RotationStarted"},"S3Region":{"type":"string","enum":["us-east-1","us-east-2","us-west-1","us-west-2","af-south-1","ap-east-1","ap-east-2","ap-south-1","ap-south-2","ap-southeast-1","ap-southeast-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ap-southeast-6","ap-southeast-7","ap-northeast-1","ap-northeast-2","ap-northeast-3","ca-central-1","ca-west-1","eu-central-1","eu-central-2","eu-west-1","eu-west-2","eu-west-3","eu-south-1","eu-south-2","eu-north-1","il-central-1","me-south-1","me-central-1","mx-central-1","sa-east-1"],"title":"S3Region"},"SecurityPolicy":{"properties":{"zone_id":{"type":"string","format":"uuid","title":"Zone Id"},"recommended_protection_enabled":{"type":"boolean","title":"Recommended Protection Enabled"},"country_protection":{"$ref":"#/components/schemas/CountryProtection"},"ip_protection":{"$ref":"#/components/schemas/IpProtection"},"security_enabled":{"type":"boolean","title":"Security Enabled"},"entitled":{"type":"boolean","title":"Entitled"},"waf_status":{"type":"string","enum":["applied","applying","removing","failed"],"title":"Waf Status"},"waf_error":{"anyOf":[{"$ref":"#/components/schemas/WafErrorView"},{"type":"null"}]},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["zone_id","recommended_protection_enabled","country_protection","ip_protection","security_enabled","entitled","waf_status","waf_error","updated_at"],"title":"SecurityPolicy","examples":[{"country_protection":{"countries":[],"mode":"OFF"},"entitled":true,"ip_protection":{"cidrs":["203.0.113.0/24"],"mode":"ALLOW"},"recommended_protection_enabled":true,"security_enabled":true,"updated_at":"2026-01-15T10:00:00Z","waf_status":"applied","zone_id":"01890000-0000-7000-8000-000000000745","waf_error":null}]},"SessionAudience":{"type":"string","enum":["client","staff"],"title":"SessionAudience"},"SessionInfo":{"properties":{"state":{"$ref":"#/components/schemas/SessionState"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"idle_expires_at":{"type":"string","format":"date-time","title":"Idle Expires At"},"absolute_expires_at":{"type":"string","format":"date-time","title":"Absolute Expires At"}},"additionalProperties":false,"type":"object","required":["state","created_at","idle_expires_at","absolute_expires_at"],"title":"SessionInfo","examples":[{"absolute_expires_at":"2026-01-15T22:00:00Z","created_at":"2026-01-15T10:00:00Z","idle_expires_at":"2026-01-15T10:30:00Z","state":"active"}]},"SessionResponse":{"properties":{"audience":{"$ref":"#/components/schemas/SessionAudience","description":"Which console the session belongs to"},"user":{"$ref":"#/components/schemas/UserSummary"},"session":{"$ref":"#/components/schemas/SessionInfo"},"csrf_token":{"type":"string","title":"Csrf Token","description":"Send as X-CSRF-Token on mutations"},"mfa_enabled":{"type":"boolean","title":"Mfa Enabled","description":"The App Setting mfa_required: whether users must set up MFA"},"mfa_enrolled":{"type":"boolean","title":"Mfa Enrolled","description":"Whether the user has a confirmed MFA seed"}},"additionalProperties":false,"type":"object","required":["audience","user","session","csrf_token","mfa_enabled","mfa_enrolled"],"title":"SessionResponse","examples":[{"audience":"client","csrf_token":"exampleCsrfToken","mfa_enabled":true,"mfa_enrolled":true,"session":{"absolute_expires_at":"2026-01-15T10:00:00Z","created_at":"2026-01-15T10:00:00Z","idle_expires_at":"2026-01-15T10:00:00Z","state":"active"},"user":{"email":"ada@example.com","first_name":"Ada","id":"01890000-0000-7000-8000-000000000206","last_name":"Lovelace","org_id":"01890000-0000-7000-8000-000000000629","org_name":"Example Media","role":"OWNER","access":null}}]},"SessionState":{"type":"string","enum":["mfa_pending","mfa_setup_pending","active"],"title":"SessionState"},"StaffAccess":{"type":"string","enum":["full","read_only"],"title":"StaffAccess"},"StorageCredentials":{"properties":{"endpoint":{"type":"string","title":"Endpoint"},"default_region":{"type":"string","title":"Default Region"},"access_key_id":{"type":"string","title":"Access Key Id"},"secret_access_key":{"type":"string","title":"Secret Access Key"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"rotation":{"anyOf":[{"$ref":"#/components/schemas/RotationKey"},{"type":"null"}]},"access_active":{"type":"boolean","title":"Access Active"}},"additionalProperties":false,"type":"object","required":["endpoint","default_region","access_key_id","secret_access_key","created_at","rotation","access_active"],"title":"StorageCredentials","examples":[{"access_active":true,"access_key_id":"AKIAIOSFODNN7EXAMPLE","created_at":"2026-01-15T10:00:00Z","default_region":"eu-west-1","endpoint":"https://s3.example.com","secret_access_key":"exampleSecretAccessKeyNotReal","rotation":null}]},"StorageRegion":{"properties":{"code":{"type":"string","title":"Code"},"label":{"type":"string","title":"Label"},"default":{"type":"boolean","title":"Default"},"name_prefix":{"type":"string","title":"Name Prefix"}},"additionalProperties":false,"type":"object","required":["code","label","default","name_prefix"],"title":"StorageRegion"},"StorageRegionList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/StorageRegion"},"type":"array","title":"Data"}},"additionalProperties":false,"type":"object","required":["data"],"title":"StorageRegionList","examples":[{"data":[{"code":"eu-west-1","default":true,"label":"Europe (Ireland)","name_prefix":"azc-a1b2c3-"}]}]},"SupportPage":{"properties":{"support_email":{"type":"string","title":"Support Email"},"response_time_text":{"type":"string","title":"Response Time Text"}},"additionalProperties":false,"type":"object","required":["support_email","response_time_text"],"title":"SupportPage","examples":[{"response_time_text":"Within one business day","support_email":"support@example.com"}]},"SuspendedBy":{"type":"string","enum":["CLIENT","AZERION_CREDIT","AZERION_ORG","AZERION_CAP"],"title":"SuspendedBy"},"TaxCategory":{"type":"string","enum":["standard","reverse_charge","zero_rated"],"title":"TaxCategory"},"TrafficCheck":{"properties":{"hostname":{"type":"string","title":"Hostname"},"expected_target":{"type":"string","title":"Expected Target"},"result":{"$ref":"#/components/schemas/TrafficCheckResult"},"found_target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Found Target"},"checked_at":{"type":"string","format":"date-time","title":"Checked At"}},"additionalProperties":false,"type":"object","required":["hostname","expected_target","result","found_target","checked_at"],"title":"TrafficCheck","examples":[{"checked_at":"2026-11-06T10:00:00Z","expected_target":"d111111abcdef8.cloudfront.net","hostname":"cdn.example.com","result":"found","found_target":null}]},"TrafficCheckResult":{"type":"string","enum":["found","wrong_target","not_cname","not_found","error"],"title":"TrafficCheckResult"},"TtlProfile":{"type":"string","enum":["1m","5m","1h","1d","7d","30d"],"title":"TtlProfile"},"UpdateCacheRuleRequest":{"properties":{"path_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path Pattern"},"origin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Origin Id"},"rule_type":{"anyOf":[{"$ref":"#/components/schemas/CachingPreset"},{"type":"null"}]},"ttl_profile":{"anyOf":[{"$ref":"#/components/schemas/TtlProfile"},{"type":"null"}]},"compression_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Compression Enabled"},"viewer_protocol_policy":{"anyOf":[{"$ref":"#/components/schemas/ViewerProtocolPolicy"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"UpdateCacheRuleRequest","examples":[{"compression_enabled":true}]},"UpdateMemberRequest":{"properties":{"role":{"anyOf":[{"$ref":"#/components/schemas/ClientRole"},{"type":"null"}]},"status":{"anyOf":[{"type":"string","enum":["active","disabled"]},{"type":"null"}],"title":"Status"}},"additionalProperties":false,"type":"object","title":"UpdateMemberRequest","examples":[{"role":"READER"}]},"UpdateOriginRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"hostname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hostname"},"protocol":{"anyOf":[{"$ref":"#/components/schemas/OriginProtocol"},{"type":"null"}]},"origin_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin Path"},"http_port":{"anyOf":[{"type":"integer","maximum":65535.0,"minimum":1.0},{"type":"null"}],"title":"Http Port"},"https_port":{"anyOf":[{"type":"integer","maximum":65535.0,"minimum":1.0},{"type":"null"}],"title":"Https Port"},"type":{"anyOf":[{"$ref":"#/components/schemas/OriginKind"},{"type":"null"}]},"bucket_id":{"type":"string","format":"uuid","title":"Bucket Id"},"s3_bucket":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Bucket"},"s3_region":{"anyOf":[{"$ref":"#/components/schemas/S3Region"},{"type":"null"}]},"probe_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Probe Path"}},"additionalProperties":false,"type":"object","title":"UpdateOriginRequest","examples":[{"name":"Primary origin"}]},"UpdateSecurityPolicyRequest":{"properties":{"recommended_protection_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Recommended Protection Enabled"},"country_protection":{"anyOf":[{"$ref":"#/components/schemas/CountryProtectionIn"},{"type":"null"}]},"ip_protection":{"anyOf":[{"$ref":"#/components/schemas/IpProtectionIn"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"UpdateSecurityPolicyRequest","examples":[{"recommended_protection_enabled":true}]},"UpdateZoneRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"coverage":{"anyOf":[{"$ref":"#/components/schemas/Coverage"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"UpdateZoneRequest","examples":[{"name":"Marketing site"}]},"UsageAccrued":{"properties":{"currency":{"type":"string","title":"Currency"},"total":{"type":"string","title":"Total"},"lines":{"items":{"$ref":"#/components/schemas/UsageAccruedLine"},"type":"array","title":"Lines"},"complete":{"type":"boolean","title":"Complete"},"missing_sources":{"items":{"type":"string"},"type":"array","title":"Missing Sources"}},"type":"object","required":["currency","total","lines","complete","missing_sources"],"title":"UsageAccrued"},"UsageAccruedLine":{"properties":{"dimension":{"type":"string","title":"Dimension"},"zone_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Zone Id"},"bucket_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Bucket Id"},"quantity":{"type":"number","title":"Quantity"},"unit":{"type":"string","title":"Unit"},"unit_price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Price"},"amount":{"type":"string","title":"Amount"},"resources":{"anyOf":[{"items":{"$ref":"#/components/schemas/UsageResource"},"type":"array"},{"type":"null"}],"title":"Resources"}},"type":"object","required":["dimension","quantity","unit","amount"],"title":"UsageAccruedLine"},"UsageCapDimension":{"type":"string","enum":["data_transfer_out"],"title":"UsageCapDimension"},"UsageCapView":{"properties":{"dimension":{"$ref":"#/components/schemas/UsageCapDimension"},"limit_gb":{"type":"integer","title":"Limit Gb"},"used_gb":{"type":"string","title":"Used Gb"},"percent":{"type":"string","title":"Percent"},"state":{"$ref":"#/components/schemas/CapState"}},"type":"object","required":["dimension","limit_gb","used_gb","percent","state"],"title":"UsageCapView"},"UsageCredit":{"properties":{"limit":{"type":"string","title":"Limit"},"accrued":{"type":"string","title":"Accrued"},"percent":{"type":"string","title":"Percent"},"state":{"$ref":"#/components/schemas/CapState"},"complete":{"type":"boolean","title":"Complete"}},"type":"object","required":["limit","accrued","percent","state","complete"],"title":"UsageCredit"},"UsageDailyCost":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"total":{"type":"string","title":"Total"},"by_dimension":{"additionalProperties":{"type":"string"},"type":"object","title":"By Dimension"}},"type":"object","required":["date","total","by_dimension"],"title":"UsageDailyCost"},"UsageDomain":{"type":"string","enum":["zones","storage"],"title":"UsageDomain"},"UsageGranularity":{"type":"string","enum":["5m","1h","1d"],"title":"UsageGranularity"},"UsageGroup":{"properties":{"zone_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Zone Id"},"bucket_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Bucket Id"},"totals":{"$ref":"#/components/schemas/UsageTotals"}},"type":"object","required":["totals"],"title":"UsageGroup"},"UsageMissing":{"properties":{"source":{"type":"string","title":"Source"},"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"}},"type":"object","required":["source","start","end"],"title":"UsageMissing"},"UsageMonthStatus":{"type":"string","enum":["open","closing","closed"],"title":"UsageMonthStatus"},"UsagePeriod":{"type":"string","enum":["1h","3h","12h","24h","7d","14d","30d","custom","month"],"title":"UsagePeriod"},"UsagePeriodOut":{"properties":{"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"granularity":{"$ref":"#/components/schemas/UsageGranularity"}},"type":"object","required":["start","end","granularity"],"title":"UsagePeriodOut"},"UsagePoint":{"properties":{"t":{"type":"string","format":"date-time","title":"T"},"v":{"type":"number","title":"V"},"status":{"anyOf":[{"$ref":"#/components/schemas/UsagePointStatus"},{"type":"null"}]}},"type":"object","required":["t","v"],"title":"UsagePoint"},"UsagePointStatus":{"type":"string","enum":["collected","in_progress"],"title":"UsagePointStatus"},"UsagePricingRegion":{"type":"string","enum":["Europe & North America","Global Expansion"],"title":"UsagePricingRegion"},"UsageProjected":{"properties":{"total":{"type":"string","title":"Total"},"lines":{"items":{"$ref":"#/components/schemas/UsageProjectedLine"},"type":"array","title":"Lines"}},"type":"object","required":["total","lines"],"title":"UsageProjected"},"UsageProjectedLine":{"properties":{"dimension":{"type":"string","title":"Dimension"},"quantity":{"type":"number","title":"Quantity"},"amount":{"type":"string","title":"Amount"}},"type":"object","required":["dimension","quantity","amount"],"title":"UsageProjectedLine"},"UsageResource":{"properties":{"zone_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Zone Id"},"bucket_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Bucket Id"},"name":{"type":"string","title":"Name"},"quantity":{"type":"number","title":"Quantity"},"amount":{"type":"string","title":"Amount"},"projected_amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Projected Amount"}},"type":"object","required":["name","quantity","amount"],"title":"UsageResource"},"UsageResponse":{"properties":{"period":{"$ref":"#/components/schemas/UsagePeriodOut"},"source":{"$ref":"#/components/schemas/UsageSourceKind"},"usage_through":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Usage Through","description":"An hour start (UTC). With a month period: the latest hour the month's rating run rated, the time the accrued figures are counted through (the ACCRUAL run's; a closed month's issued invoice run's); null with no run. Other stored ranges: the start of the newest current record (zones: hourly; storage: daily), not limited to the range. Live ranges: null."},"complete":{"type":"boolean","title":"Complete"},"missing":{"items":{"$ref":"#/components/schemas/UsageMissing"},"type":"array","title":"Missing"},"totals":{"$ref":"#/components/schemas/UsageTotals"},"series":{"additionalProperties":{"items":{"$ref":"#/components/schemas/UsagePoint"},"type":"array"},"type":"object","title":"Series"},"groups":{"anyOf":[{"items":{"$ref":"#/components/schemas/UsageGroup"},"type":"array"},{"type":"null"}],"title":"Groups"},"accrued":{"anyOf":[{"$ref":"#/components/schemas/UsageAccrued"},{"type":"null"}]},"caps":{"anyOf":[{"items":{"$ref":"#/components/schemas/UsageCapView"},"type":"array"},{"type":"null"}],"title":"Caps"},"credit":{"anyOf":[{"$ref":"#/components/schemas/UsageCredit"},{"type":"null"}]},"month_status":{"anyOf":[{"$ref":"#/components/schemas/UsageMonthStatus"},{"type":"null"}]},"invoice_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Invoice Id"},"projected":{"anyOf":[{"$ref":"#/components/schemas/UsageProjected"},{"type":"null"}]},"projection_available":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Projection Available"},"daily_cost":{"anyOf":[{"items":{"$ref":"#/components/schemas/UsageDailyCost"},"type":"array"},{"type":"null"}],"title":"Daily Cost"},"pricing_region":{"anyOf":[{"$ref":"#/components/schemas/UsagePricingRegion"},{"type":"null"}]}},"type":"object","required":["period","source","usage_through","complete","missing","totals","series"],"title":"UsageResponse","examples":[{"accrued":{"complete":true,"currency":"EUR","lines":[{"amount":"8.50","dimension":"data_transfer_out_base_per_gb","quantity":100.0,"resources":[],"unit":"GB","unit_price":"0.0850","zone_id":"01890000-0000-7000-8000-000000000745"}],"missing_sources":[],"total":"8.50"},"caps":[{"dimension":"data_transfer_out","limit_gb":5000,"percent":"2.00","state":"ok","used_gb":"100.00"}],"complete":true,"credit":{"accrued":"8.50","complete":true,"limit":"5000.00","percent":"0.17","state":"ok"},"daily_cost":[{"by_dimension":{"data_transfer_out_base_per_gb":"8.50"},"date":"2026-01-15","total":"8.50"}],"missing":[],"month_status":"open","period":{"end":"2026-01-15T10:00:00Z","granularity":"1d","start":"2026-01-01T00:00:00Z"},"pricing_region":"Europe & North America","projected":{"lines":[{"amount":"17.00","dimension":"data_transfer_out_base_per_gb","quantity":200.0}],"total":"17.00"},"projection_available":true,"series":{"data_transfer":[{"t":"2026-01-15T00:00:00Z","v":100.0}]},"source":"stored","totals":{"data_transfer_gb":100.0,"error_rate_avg":0.2,"requests":1000000.0},"usage_through":"2026-01-15T10:00:00Z"}]},"UsageSourceKind":{"type":"string","enum":["live","stored"],"title":"UsageSourceKind"},"UsageTotals":{"properties":{"data_transfer_gb":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Data Transfer Gb"},"requests":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Requests"},"error_rate_avg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Error Rate Avg"},"storage_space_gb":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Storage Space Gb"},"storage_objects":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Storage Objects"}},"type":"object","title":"UsageTotals"},"UserStatus":{"type":"string","enum":["invited","active","unverified","disabled"],"title":"UserStatus"},"UserSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"type":"string","title":"Email"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"role":{"anyOf":[{"$ref":"#/components/schemas/ClientRole"},{"type":"null"}]},"org_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Org Id"},"org_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Org Name"},"access":{"anyOf":[{"$ref":"#/components/schemas/StaffAccess"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","email","first_name","last_name","role","org_id","org_name","access"],"title":"UserSummary"},"ValidationRecord":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","const":"CNAME","title":"Type"},"value":{"type":"string","title":"Value"}},"additionalProperties":false,"type":"object","required":["name","type","value"],"title":"ValidationRecord"},"ViewerProtocolPolicy":{"type":"string","enum":["HTTP_AND_HTTPS","HTTPS_ONLY","REDIRECT_TO_HTTPS"],"title":"ViewerProtocolPolicy"},"WafErrorView":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"}},"additionalProperties":false,"type":"object","required":["code","message"],"title":"WafErrorView"},"WebhookCreated":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"url":{"type":"string","title":"Url"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"events":{"items":{"$ref":"#/components/schemas/WebhookEventType"},"type":"array","title":"Events"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"},"secret_redacted":{"type":"boolean","title":"Secret Redacted"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","url","description","events","secret","secret_redacted","created_at"],"title":"WebhookCreated","examples":[{"created_at":"2026-01-15T10:00:00Z","description":"Deployment notices","events":["zone.deployed"],"id":"01890000-0000-7000-8000-000000000206","secret":"whsec_example_shown_once","secret_redacted":false,"url":"https://hooks.example.com/azerion"}]},"WebhookEventType":{"type":"string","enum":["zone.deployed","zone.failed","zone.suspended","invalidation.completed","certificate.validated","certificate.renewal_failed","invoice.generated","usage.cap_warning","usage.cap_reached"],"title":"WebhookEventType"},"WebhookItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"url":{"type":"string","title":"Url"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"events":{"items":{"$ref":"#/components/schemas/WebhookEventType"},"type":"array","title":"Events"},"status":{"$ref":"#/components/schemas/EndpointStatus"},"last_delivery":{"anyOf":[{"$ref":"#/components/schemas/LastDelivery"},{"type":"null"}]},"secret_hint":{"type":"string","title":"Secret Hint"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","url","description","events","status","last_delivery","secret_hint","created_at"],"title":"WebhookItem"},"WebhookList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/WebhookItem"},"type":"array","title":"Data"},"delivery_guarantee":{"type":"string","title":"Delivery Guarantee"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["data","delivery_guarantee","next_cursor","has_more"],"title":"WebhookList","examples":[{"data":[{"created_at":"2026-01-15T10:00:00Z","description":"Deployment notices","events":["zone.deployed"],"id":"01890000-0000-7000-8000-000000000206","last_delivery":{"at":"2026-01-15T10:00:00Z","status":"succeeded"},"secret_hint":"cdef","status":"active","url":"https://hooks.example.com/azerion"}],"delivery_guarantee":"At least once","has_more":false,"next_cursor":null}]},"WebhookTestQueued":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id"}},"additionalProperties":false,"type":"object","required":["event_id"],"title":"WebhookTestQueued","examples":[{"event_id":"01890000-0000-7000-8000-000000000847"}]},"WebhookTestRequest":{"properties":{},"additionalProperties":false,"type":"object","title":"WebhookTestRequest","examples":[{}]},"Zone":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"system_hostname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Hostname"},"custom_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Domain"},"status":{"$ref":"#/components/schemas/ZoneStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"origin":{"$ref":"#/components/schemas/ZoneOrigin"},"default_rule":{"$ref":"#/components/schemas/DefaultRule"},"coverage":{"$ref":"#/components/schemas/Coverage"},"security_enabled":{"type":"boolean","title":"Security Enabled"},"failure_reason":{"anyOf":[{"$ref":"#/components/schemas/app__modules__zones__schemas__zones__FailureReason"},{"type":"null"}]},"retry_count":{"type":"integer","title":"Retry Count"},"suspended_by":{"anyOf":[{"$ref":"#/components/schemas/SuspendedBy"},{"type":"null"}]},"suspended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Suspended At"},"deployment":{"$ref":"#/components/schemas/DeploymentState"},"deployment_error":{"anyOf":[{"$ref":"#/components/schemas/DeploymentError"},{"type":"null"}]},"config_version":{"type":"integer","title":"Config Version"},"applied_config_version":{"type":"integer","title":"Applied Config Version"},"has_unused_origins":{"type":"boolean","title":"Has Unused Origins"},"cname_target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cname Target"},"dns_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dns Note"},"certificate_renewal_failed":{"type":"boolean","title":"Certificate Renewal Failed","default":false}},"additionalProperties":false,"type":"object","required":["id","name","system_hostname","custom_domain","status","created_at","origin","default_rule","coverage","security_enabled","failure_reason","retry_count","suspended_by","suspended_at","deployment","deployment_error","config_version","applied_config_version","has_unused_origins","cname_target","dns_note"],"title":"Zone","examples":[{"applied_config_version":3,"certificate_renewal_failed":false,"cname_target":"d111111abcdef8.cloudfront.net","config_version":3,"coverage":"BASE_EU_NA","created_at":"2026-01-15T10:00:00Z","custom_domain":"cdn.example.com","default_rule":{"compression_enabled":true,"preset":"static","viewer_protocol_policy":"HTTPS_ONLY"},"deployment":"deployed","has_unused_origins":false,"id":"01890000-0000-7000-8000-000000000206","name":"Marketing site","origin":{"hostname":"assets.example.com","http_port":80,"https_port":443,"origin_path":"/assets","protocol":"HTTPS_ONLY","type":"external"},"retry_count":0,"security_enabled":true,"status":"active","system_hostname":"d111111abcdef8.cloudfront.net","failure_reason":null,"suspended_by":null,"suspended_at":null,"deployment_error":null,"dns_note":null}]},"ZoneList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ZoneListItem"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"},"total_count":{"type":"integer","title":"Total Count"}},"additionalProperties":false,"type":"object","required":["data","next_cursor","has_more","total_count"],"title":"ZoneList","examples":[{"data":[{"certificate_renewal_failed":false,"created_at":"2026-01-15T10:00:00Z","custom_domain":"cdn.example.com","id":"01890000-0000-7000-8000-000000000206","name":"Marketing site","status":"active","system_hostname":"d111111abcdef8.cloudfront.net"}],"has_more":false,"total_count":1,"next_cursor":null}]},"ZoneListItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"system_hostname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Hostname"},"custom_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Domain"},"status":{"$ref":"#/components/schemas/ZoneStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"certificate_renewal_failed":{"type":"boolean","title":"Certificate Renewal Failed","default":false}},"additionalProperties":false,"type":"object","required":["id","name","system_hostname","status","created_at"],"title":"ZoneListItem"},"ZoneOrigin":{"properties":{"type":{"$ref":"#/components/schemas/OriginKind"},"hostname":{"type":"string","title":"Hostname"},"protocol":{"$ref":"#/components/schemas/OriginProtocol"},"origin_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin Path"},"https_port":{"type":"integer","title":"Https Port"},"http_port":{"type":"integer","title":"Http Port"}},"additionalProperties":false,"type":"object","required":["type","hostname","protocol","origin_path","https_port","http_port"],"title":"ZoneOrigin"},"ZoneStatus":{"type":"string","enum":["provisioning","active","suspended","failed","deleted"],"title":"ZoneStatus"},"ZoneUsagePeriod":{"type":"string","enum":["7d","30d"],"title":"ZoneUsagePeriod"},"ZoneUsageResponse":{"properties":{"period":{"$ref":"#/components/schemas/UsagePeriodOut"},"series":{"additionalProperties":{"items":{"$ref":"#/components/schemas/UsagePoint"},"type":"array"},"type":"object","title":"Series"},"totals":{"$ref":"#/components/schemas/ZoneUsageTotals"}},"type":"object","required":["period","series","totals"],"title":"ZoneUsageResponse","examples":[{"period":{"end":"2026-01-15T10:00:00Z","granularity":"1d","start":"2026-01-08T10:00:00Z"},"series":{"data_transfer":[{"t":"2026-01-14T00:00:00Z","v":100.0}]},"totals":{"data_transfer_gb":100.0,"requests":100.0}}]},"ZoneUsageTotals":{"properties":{"data_transfer_gb":{"type":"number","title":"Data Transfer Gb"},"requests":{"type":"number","title":"Requests"}},"type":"object","required":["data_transfer_gb","requests"],"title":"ZoneUsageTotals"},"app__modules__zones__invalidations__schemas__FailureReason":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"}},"additionalProperties":false,"type":"object","required":["code","message"],"title":"FailureReason"},"app__modules__zones__schemas__zones__FailureReason":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"}},"additionalProperties":false,"type":"object","required":["code","message"],"title":"FailureReason"},"ErrorBody":{"properties":{"code":{"examples":["validation_failed"],"title":"Code","type":"string"},"message":{"examples":["Request validation failed"],"title":"Message","type":"string"},"details":{"additionalProperties":true,"title":"Details","type":"object"}},"required":["code","message"],"title":"ErrorBody","type":"object"},"ErrorResponse":{"examples":[{"error":{"code":"not_found","details":{},"message":"Resource not found"}}],"properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"required":["error"],"title":"ErrorResponse","type":"object"}},"securitySchemes":{"clientSession":{"type":"apiKey","in":"cookie","name":"__Host-client_session"},"apiKey":{"type":"apiKey","in":"header","name":"X-Api-Key"}}}}