Schemas
ActionCard
Text in both customer languages.
kindWhat a proposal does. The wire spelling is the console's tool.
What the executed action produced; empty until it ran (and for kinds that produce nothing to show).
How much is at stake when an action runs. Decides what confirming takes.
ActionKind
What a proposal does. The wire spelling is the console's tool.
AddDomainRequest
domainThe hostname the organization is proving it controls, for example
shop.acme.com. Normalized (lowercased, trailing root dot stripped)
and validated server-side; see the domain's own normalize_domain.
service_idSet when the domain is being added from a service's address page (V-1095). The claim then runs as a pending background verification that remembers this service, so the domain can be attached to it once the record is found, and that is removed if the retries run out without the domain ever being proven. Must be a service of this organization; omit it to add a domain from the Domains page.
AddEndpointRequest
internal_portThe port the service listens on inside the container, 1 to 65535.
domainshttps only: the customer's own domains to serve on this endpoint. Each must be a
domain the organization has verified, or a subdomain of one, exactly as for a Web App;
certificates are issued automatically. All or nothing: one refused domain opens
nothing. More can be added later.
kindport (the default, so a request written before kinds existed means what it always
did), unit (a raw port per unit, see Add Service Endpoint) or https.
labelhttps only: the label of the free host (<label>.zone.<zone>.zaroz.cloud), one DNS
label. Omitted, the host is named after the endpoint's id.
For port and unit: tcp, udp, or tcp_udp for one public number on both; required. For
https: omit it (always TCP, TLS ends at the platform and the app serves plain HTTP);
tcp is accepted.
AddOrganizationMemberRequest
user_idThe user to add to this organization.
Defaults to member, the least-privileged role: an omitted role must
never widen access further than the caller asked for.
AddTicketMessageRequest
bodyFiles uploaded against this ticket that this message carries. Empty unless the caller uploaded something first; an attachment that is uploaded and never sent stays unreferenced and is not rendered anywhere.
AddressScope
Whether the address is the one for apps in the same project or the one through Warden.
AllocateUnitRequest
fail (default) answers 409 no_warm_unit when no warm unit is ready;
create cold-starts a new one already allocated to you (202).
Replaces the allocated unit's labels whole when given.
user_dataReplaces the allocated unit's user_data whole when given: the match's
roster, map, mode.
AllocateWait
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string |
AllocatedUnitResponse
createdtrue when if_none: create cold-started the unit: it is still starting.
replayedtrue when this Idempotency-Key had already allocated the unit.
The unit, with its user_data and allocation (delivered_at is null until
its agent has the files).
AllocationProtectionStateResponse
allocation_idprotection_statenormal, pressure, or attack. Never unknown: an allocation whose
state was not reported is absent from the list instead, so a caller
can tell "not reported" from "reported as normal".
AlterSharedDatabaseTableRequest
AlterTableOperationRequest
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, column | |
| type = object · requires: kind, name | |
| type = object · requires: kind, from, to | |
| type = object · requires: kind, name, column | |
| type = object · requires: kind, to |
kindafter_columnAnswerSetupStepResponse
One step's answers as a RESPONSE (GET .../setup/steps,
PUT .../setup/steps/{step}'s own echo). Same tag shape as
[SetupStepAnswersDto] for the three Minecraft steps, whose answers hold
nothing secret and so render identically either direction; NEVER the
same shape for [Self::ServerPasswords], which reports only which ids
are set, never a value or a ciphertext -- see
[ServerPasswordsResponseDto].
What landing this answer cost the running service. live when the
submitted answers matched what was already stored.
awaiting_configurationWhether provisioning is still waiting on at least one declared step after this write.
pendingTrue when this answer completed the product's declared steps and (re)provisioning was started, but the attempt itself failed. The answer is still saved; a later read or retry can still succeed.
The closed vocabulary of setup steps kernel knows how to ask, validate and
render. Adding a member is a reviewed code change here, in the dashboard's
step registry, and in whichever product template starts reading its
variables -- the same "closed set, matched code change" discipline
[crate::domain::product_definitions::capabilities::CapabilityId] uses,
for the same reason: a step nothing implements is a claim the platform
cannot back.
Ord is derived so this can key a BTreeMap
([StepAnswersDocument::steps]): declaration order becomes iteration
order there, which is incidental (the document is always looked up by
key, never walked in order) but harmless.
ApiTokenAuthorization
ApiTokenCapability
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
ApiTokenGrant
Closed, policy-owned action catalog. Capabilities are exact: there is
deliberately no prefix or glob matching, and unknown wire values are
rejected during deserialization.
PartialOrd/Ord exist so a capability set can be a BTreeSet, which is
what [crate::domain::auth::application_token::ApplicationToken] stores.
The ordering is the declaration order and is not a wire contract: nothing
serializes it, and as_str remains the only stable representation.
Scope of one grant. Global means the capability is allowed regardless of
resource. ResourceType is every resource in one namespace, while
Resource names exactly one object.
ApiTokenGrantScope
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind | |
| type = object · requires: kind, resource_type | |
| type = object · requires: kind, resource_type, resource_id | |
| type = object · requires: kind, resource_type, root_resource_id |
kindAppAdminDto
usernameemail"" when this product's params never asked for an email.
site_title"" when this product's params never asked for a site title.
AppAdminParamsDto
applyMirrors [AppAdminApply] by hand.
emailWhether this product asks for an admin email at all.
Mirrors [UsernameRule] by hand.
None when this product does not ask for a site title at all.
AppRuntimeParamsDto
start_command_max_lengthAppRuntimeRequestDto
runtimestart_commandvariantAppRuntimeResponseDto
imageinstall_commandruntimestart_commandvariantAppScope
The app a conversation was created in. Console for every conversation that predates the
scope, and for any client that does not name one.
ApplicationConsentPreviewResponse
application_idapplication_namePresentable name, the same one MyApplicationDelegationResponse carries.
ApplicationUserProfile
idnameThe user's display name, as shown to other users.
avatar_asset_idThe profile picture, addressed through /api/v2/assets/{id}. None
when they never set one.
deleted_atSet when the account was deleted. The profile is still answered so a listing can render "deleted user" rather than "unknown user".
ApplicationUsersLookupRequest
idsAt most [MAX_LOOKUP_IDS]; duplicates are fine.
ApplicationUsersLookupResponse
ApplyConfigurationResponse
categoryport, start_command or volume.
operation_idpending_count1 when the category had a stored value waiting, 0 when nothing was pending (the
re-render is queued anyway, like the variables').
service_instance_idApplyEnvironmentResponse
operation_idpending_countHow many keys were pending when the apply was queued.
service_instance_idApplyMode
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
AssistantActionOutcomeResponse
atby_nameAssistantActionParamsResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: action | |
| type = object · requires: name, action, cadence_text +2 more | |
| type = object · requires: name, capabilities, expires_at | |
| No specific criteria |
actionstart, stop or restart.
AssistantActionResponse
The generic card every kind is drawn from, in console and the gaming dashboard alike: risk, title, summary, before and after, what confirming takes (a click, a typed phrase, a reveal), the inputs the person types, the quote of a money action, and where a reveal card fetches its details and secret with the person's own session. Kernel text and kernel-validated values only; render as plain text.
expires_atWhen a pending action stops being confirmable.
idThe three original kinds keep their shapes; every other kind is its stored parameters.
statepending, confirmed, cancelled, expired or failed. A proposal past its deadline
reads expired before any sweep has written it.
toolThe catalog kind (power_action, schedule, api_token, port_open, ...); the same
word as card.kind.
failure_codeWhy a failed action failed: not_permitted, busy, not_provisioned, refused,
invalid, interrupted, internal_error, quote_changed (a money card's price moved
since it was shown; nothing was charged) or conflict (already in place, or collides
with what is).
Set once decided.
The service, for the two service-level kinds; absent for an organization token.
AssistantActionTargetResponse
nameproductprojectregionA region code the console draws a flag for.
AssistantAllowanceResponse
limit_microspercent_leftThe figure a member sees: a percentage left.
period_ends_atWhen the allowance renews.
used_microsAssistantCapabilityResponse
elevatedChanges things or opens a shell: the card warns.
keylabelAssistantConsentResponse
grantedWhether AI mode is on for the signed-in member.
notice_seenWhether the member dismissed the one-time "AI answers are on" notice.
versionAssistantConversationRenamedResponse
idtitleThe title as stored: trimmed and cleaned.
AssistantConversationResponse
The conversation's pending actions, oldest first: what each confirmation card is drawn from, and the receipt once decided. A token's secret is never part of it.
idlast_event_seqThe persisted-event cursor this snapshot is current to; the stream resumes after it.
titleAssistantConversationSummaryResponse
created_atidlast_message_attitlepreviewThe first line of the latest answer as plain text, at most 140 characters (an ellipsis
marks a cut). null while the conversation has no answer yet.
AssistantMessageRequest
localeThe interface language tag, such as es-ES.
messageThe member's message, at most 2000 characters.
AssistantMessageResponse
action_idsPending actions this step proposed.
created_atidroleuser, assistant or action_outcome.
textWhat this assistant step did.
AssistantStreamEventResponse
typeturn_started, classifier_verdict, tool_started, tool_finished,
assistant_message, action_proposed, action_decided, turn_finished or the live-only
text_delta.
action_idmessage_idassistant_message: the message to re-read from the conversation.
okreasonturn_finished: why it ended without an answer (provider_error, timeout,
rate_limited, provider_credits, global_ceiling, allowance_exhausted,
disabled, classifier_failed, interrupted, slow_down).
ref_labelseqThe persisted-event number; absent on text_delta.
stateturn_finished: completed, cancelled, interrupted, failed or refused.
texttext_delta: a piece of the answer being written.
toolturn_idverdictclassifier_verdict: allowed or off_topic.
AssistantToolActivityResponse
staterunning, done or failed.
toolref_labelThe resource's name, resolved by kernel; never model text.
AttachCustomDomainRequest
hostnameThe fully-qualified hostname, for example shop.acme.com.
Validated as a hostname before anything is persisted: trimmed,
lowercased and stripped of a trailing dot, then refused if it is
empty, longer than 253 characters, an IP address literal, a single
label with no dot in it, or carries a label that is empty, longer than
63 characters, hyphen-terminated, or holds anything outside
[a-z0-9-].
AttachEndpointDomainRequest
domainA domain the organization has verified, or a subdomain of one.
AttackSummaryReasonResponse
byteskeypacketsAttackSummaryResponse
attacker_estimateattacksblocked_bytesblocked_packetsdateThe UTC day, YYYY-MM-DD.
mitigated_secondspeak_bits_per_secondservices_stayed_onlineAbsent when continuity cannot be stated honestly from our own measurements.
AttackSummaryServiceResponse
blocked_bytesnameservice_instance_idAttackSummaryTimelineEntryResponse
blocked_bytesduration_secondsstarted_atended_atAbsent while the episode is still open.
service_nameAuditActorKind
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
AuditCategory
The groups the audit page filters by.
AuditEntryResponse
actionactor_is_staffTrue when a Zaroz staff account did this. The customer sees that and nothing else about who.
The actor grouped the way actor_kind filters.
created_atidThe part of the stored metadata that is safe to show, by allowlist per
action: amount_cents and currency on billing actions, and
changes ([{field, before, after}], credentials redacted) on settings
actions. Everything else stored is withheld. Always an object.
principal_kindUser, Application, ServicePrincipal or System.
actor_emailThe actor's email address. Owners and admins only; null for staff,
for non-person actors and when the account has no reachable address.
api_token_idapi_token_nameThe group category filters by; null for an action in none.
ip_addressOwners and admins only; null for older entries and for work no
request started.
Approximate, from the address. Owners and admins only.
principal_idWithheld (null) when the actor is Zaroz staff.
principal_nameWithheld (null) when the actor is Zaroz staff.
project_idrequest_idThe request the action happened in; quote it when asking support
about an entry. null for older entries and for scheduled work.
service_instance_idWhich of the caller's services this entry is about (ZC-1277).
AdminAuditEntryResponse has always carried it, and its doc comment
explains the omission here as these fields being "the scope of ITS
request, not data about the entry". That is true of
organization_id and was never true of this one: a customer read is
scoped to an organization, and could narrow only as far as a project,
so the service was never the scope of the request -- it was the one
thing the customer could not learn.
sponsor_application_idsponsor_application_nametarget_idWhat the action was done to: service, project, bucket,
api_token, member, invitation, invoice, domain or
organization. null when the action is not about one thing, and for
rows too old to say.
target_nameThe target's name when the action happened (so a deleted service keeps it), or its current name for an older entry whose target still exists.
user_agentOwners and admins only.
AuditLocationResponse
citycountryAuditTargetKind
What kind of thing an action was done to.
AuthUserResponse
idis_onboardednameemailResolved through UserEmailService (checks oauth_accounts first,
then password_credentials). None when neither source has an
address for this user -- User itself carries no email field.
AuthorizeGithubLinkRequest
redirect_urirepository_idThe repository's numeric id, from the listing.
AutomationOrigin
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
AvailabilityStatus
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
BackupKind
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, window_days | |
| type = object · requires: kind, every_hours, keep_days | |
| type = object · requires: kind, reason |
kindwindow_daysBackupResponse
created_atidnameThe label the customer gave it, or kernel's own timestamped default.
scheduledTaken by the volume's automatic backup schedule rather than by hand. Retention deletes only these.
statuscreating, ready, failed or restoring.
completed_atPresent once the snapshot has finished or failed.
restore_phaseThe step of an in-progress restore, or null when this backup is not
currently being restored. One of stopping_workloads,
detaching_pre, maint_attaching, reverting, detaching_post,
csi_retaining_pv, csi_recreating_pvc, restarting_workloads.
restore_started_atWhen the current restore began, so a client can render "restoring for
N minutes" without polling a second endpoint. null outside a
restore.
size_bytesPresent once the snapshot has finished (status: "ready" or later).
BackupScheduleResponse
enabledhour_utcThe hour of the day, in UTC, the backup starts at (0 to 23).
max_retentionmin_retentionretentionHow many automatic backups are kept; older ones are deleted before the next is taken.
last_run_atWhen the last automatic backup was started, or null if none has been yet.
next_run_atWhen the next one starts, or null while the schedule is off.
BackupsResponse
max_backupsThe ceiling POST .../backups is refused against, published here so
a panel never holds it as a literal.
BannedPlayerResponse
namebanned_atreasonsourceBrowseModel
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: model, filter, sort +1 more | |
| type = object · requires: model, type_filter, databases |
filtermodelpaginationsortBucketKeyView
access_key_idcreated_atidnamescoperead_only or read_write.
last_used_atBucketKeysResponse
BucketResponse
BucketUsageResponse
BucketUsageSampleView
egress_bytesingress_bytesstored_byteswindow_startBucketUsageView
egress_bytesBytes sent out of the bucket in the window (billed).
fromgap_hoursHours with no measurement, filled with the nearest earlier one.
Hourly measurements, oldest first.
storage_gib_monthsAverage stored GiB over the whole window, as a decimal string.
toBucketView
accessWhat the data plane allows right now: open, read_only (over the
storage cap, or the month's spend cap reached), suspended (unpaid or moderated) or deleted. Suspended
buckets keep their data and can still be browsed through the console.
addressing_styleAlways path: use path-style addressing
({endpoint}/{bucket_name}/{key}); virtual-hosted style is not served.
bucket_nameThe bucket name to use with that endpoint: chosen at creation,
immutable. Buckets that predate chosen names keep the zb-<id> they
always had.
cap_bytescreated_atendpointThe S3 URL to point a client at.
idlabelpublic_readregion_ids3_regionThe region name S3 clients sign with. Not a place: the bucket lives in
region_id.
subscription_idupdated_atusage_cap_reachedThe month's bill has reached usage_cap_cents, so access is read_only.
public_urlWhere anonymous readers fetch objects ({url}{key}); absent unless
public_read is on.
purge_atWhen the bucket's data will be purged, once deleted.
region_nameWhere the bucket lives, by the region's display name (for example "Helsinki"); absent only when the region could not be read.
stored_bytesLatest measured stored bytes; absent before the first measurement (measured hourly).
usage_cap_centsThe most a month may cost, in cents, as the customer set it
(PUT /subscriptions/{id}/metered-usage-cap); null when none is set.
BuildEstimateResponse
currencyfits_limitFalse when the worst case does not fit, or there are no minutes and extra minutes are off.
worst_case_centsThe most this build can cost, in cents.
confirmation_requiredWhether confirmed_max_cost_cents is needed to start this build.
included_left_minutesThe rest needs the organization's billing-read permission. Absent without it.
limit_left_centsmonthly_limit_centsmultiplierBuild minutes this size consumes per wall minute.
opted_inoverage_minutesPast the included minutes: what could be billed.
rate_per_minuteThe first tier's price per small-equivalent minute. Null when the Price bills no overage.
startincluded, waived, billable, included_minutes_exhausted or extra_minutes_limit.
worst_case_minutesBuildListResponse
next_cursorPass as cursor for the next page. Absent on the last.
BuildLogLineResponse
attextThe line. Scrubbed of the service's build secrets through a staff or support door.
streamstdout or stderr, when the shipper recorded it.
BuildLogStreamTicketResponse
expires_atWhen the ticket stops being accepted (it lives a minute). Re-mint on expiry.
urlThe gateway URL to open a WebSocket against. Carries the signed ticket and, when asked,
since_time.
BuildLogsResponse
expiredThe build finished longer ago than logs are kept: an empty page is not a silent build.
has_moreMore lines exist in the direction read.
poll_after_msHow long a follow waits between polls, in milliseconds.
follow_cursorThe cursor after the newest line of this page: where a follow polls from.
next_cursorWhere to continue in the direction read. Null at the start when reading backward.
BuildResponse
builder_sizecommit_shaWhat the trigger said about deploying it. hook_off_rule: a deploy hook named a commit
or a ref off the source's rule, so it waits for "Deploy".
idno_cachenumberThe service's own count: "Build #42".
overage_consentedWhether its organization had opted in to extra minutes when it started.
queued_atrefThe full ref (refs/heads/main) that chose the commit.
statusterminalWhether it has reached a final state.
What started a build (spec §5.1).
billable_minutesSet once it is settled.
commit_authorcommit_titlecommit_urldeployment_idThe deployment this build shipped in, once it has.
failure_codefailure_detailfinished_atimage_digestThe digest of the image it produced, while it is stored.
retry_ofstarted_atsuperseded_bywaiting_reasonWhy a queued build waits.
waived_minutesPast the included minutes and billed at zero, for no opt-in at start (null until settled).
BuildSbomResponse
digestThe attestation's digest.
media_typerepositoryThe repository it is stored in, beside the image.
BuildSecretResponse
nameupdated_atupdated_byBuildTrigger
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
BuildUsageResponse
currencyThe currency overage_cents is in (ISO 4217).
The organization's opt-in to extra build minutes, and the month against its limit.
monthYYYY-MM.
BuildV1
Build arguments baked into the image. Values are visible in the image: put credentials in build secrets.
auto (default): the Dockerfile when one exists, otherwise Railpack.
cacheUse the build cache. Default true.
commandOverrides the detected build command.
contextThe build context, relative to the repository root. Default: the root directory.
dockerfileThe Dockerfile, relative to the root directory. Default Dockerfile.
installOverrides the detected install command.
railpack_versionPins the Railpack version, from the versions the builder pool mirrors.
secretsNames of build secrets. Values are set in the console; a missing value fails the build.
sizeThe builder size: small (default), medium or large.
targetThe multi-stage target. Default: the last stage.
timeoutThe build timeout, such as "20m". Default 20m, from 5m to 60m.
Language versions. Default: detected, or the Railpack default.
watchOnly build when a changed path matches one of these globs. Default: everything under the root directory.
BuildWaitResponse
One build.
timed_outtrue: it did not finish in the time asked for. Call again.
BuilderChoice
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
BuilderKind
How a commit becomes an artifact (spec §8.1): a Dockerfile when there is
one, otherwise Railpack; static builds a site bundle (spec §12).
BuilderSizeMultiplier
multipliersizeBuilderSizeOptionResponse
availabledisplay_namememory_bytesminutes_multiplierBuild minutes one wall minute on this size consumes.
sizeThe size name, as build.size takes it.
vcpu_millisvCPUs in thousandths of a core (2 vCPUs is 2000).
Set when available is false. When both reasons apply, the organization limit is
the one reported.
BuilderSizeOptionsResponse
default_sizeThe size a build uses when the service sets none.
Every size, smallest to largest.
selected_sizeThe size the service saved in its console settings; null means the default. A size
set in the repository's zaroz.toml is not reflected here.
BuilderSizeUnavailableReason
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
ByOauthAccountResponse
display_namelanguage_tagThe user's language, for example en-US.
user_idCancelWithWalletCreditRequest
quote_idThe quote_id of a quote issued for this subscription.
CancelWithWalletCreditResponse
cancels_atWhen the subscription stops: the instant of this request.
credit_note_idsOne credit note per credited invoice.
statuspending_termination: the subscription now ends and the reaper tears
the service down on its next tick.
subscription_idtotal_credited_centsThe amount credited to the wallet, in minor units.
Capability
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability, root_path | |
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability, mount_path, resource_id | |
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability, verbs | |
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability, id, url +1 more | |
| type = object · requires: capability, url, resource_id +1 more | |
| type = object · requires: capability, keep_data_available | |
| type = object · requires: capability, secrets_allowed | |
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability | |
| type = object · requires: capability, protocol, port |
capabilityCaptchaAction
A protected operation. Config records which actions require a solved challenge, so an administrator can protect signup without protecting login.
The wire values are a stable snake_case contract shared with the dashboard. Do not rename a variant's string: an unknown value is dropped on read, so a silent spelling change disables protection rather than erroring.
CardConfirm
The button's label: it names the verb and the target.
modeWhat pressing the card's button takes.
phrasetyped_phrase only: the person types exactly this (surrounding spaces ignored).
CardDiffRow
What a diff row says happened to its value, so an absent before is never ambiguous.
Text in both customer languages.
afterbeforeCardInput
Text in both customer languages.
max_charsnamerequiredsecretA password field: never echoed, never prefilled.
CardQuote
currencyISO 4217.
due_now_minorInvoiced when the person confirms.
The period in words ("month", "3 months"), from [billing_period_words].
period_monthsHow many months recurring_minor pays for (1, 3, 6 or 12), when it is known.
recurring_minorThe new recurring price, when it changes.
CardQuoteLine
amount_minorText in both customer languages.
CardResultRow
Text in both customer languages.
valueChangeManagedDatabaseCopiesRequest
copiesThe number of copies to move to, inside what the product sells. Nothing else is accepted: the storage and the price follow from it and are never taken from the request.
ChangePasswordRequest
current_passwordnew_passwordcurrent_session_idThe caller's own session, spared when the change signs every other session out. Omit to be signed out everywhere, including here.
CheckoutDatabaseRequest
How many copies of the database run: 1 is standalone, 2 or more is high availability
(a primary and standbys). The plan describes one copy, so the price is the plan's
times this number, and storage is billed for every copy (20 GB x 3 copies on the
quote). Must be a count the product sells (copies of the engine options). Omitted:
the product's default, one copy unless it says otherwise.
The weekly slot in which maintenance runs, in the region's time zone. Omitted: Sunday at 03:00.
The copies and billed storage shown on the quote the customer accepted. A guard and
nothing else: the amount charged is always computed from the validated options, never
from this. When it differs from what checkout computes (the copies or the storage moved
since the quote), the purchase is refused with database_changed_since_quote and
nothing is written.
versionThe version in the engine's own spelling (18 for PostgreSQL). Omitted: the product's
default version.
CheckoutMaintenanceWindowRequest
day_of_week0 is Sunday.
hourThe local start hour, 0 to 23.
CheckoutQuotedTermsRequest
billed_storage_gbdatabase.billed_storage_gb of the quote.
copiesdatabase.copies of the quote.
CheckoutRegisteredDomainRequest
domainWhole name with its extension, Unicode or A-label, any case.
discount_codeRefused: domains are paid with real money only. Kept so a form that always sends the field
gets the stable discount-code-not-accepted-for-domains answer for a non-blank code.
CheckoutRegisteredDomainResponse
currencydeliveryinstant: registered once paid. delayed: registered within a few hours of payment;
the domain reads registering meanwhile.
invoice_idinvoice_total_centsnameorganization_idsubscription_idunicode_namewallet_covers_invoiceWhether wallet_real_money_cents covers the invoice: Pay from the wallet, else Top up.
wallet_real_money_centsWhat the wallet can pay of this invoice in real money right now. Never promo, never the total balance.
whois_noticeThe registrar's email confirmation the registrant must answer (spec §10.4).
delivery_noticeFor a delayed purchase, the neutral sentence the purchase screen shows.
CheckoutRequest
nameThe customer's name for the service being bought.
The subscription is a purchase of a product and carries no name; this
names the ServiceInstance the initial payment creates -- the VPS or
container the customer actually refers to.
plan_idproduct_idslugThe URL segment addressing that service, unique within its project. Supplied rather than derived here: the console suggests one from the name as the customer types and lets them edit it.
bucket_nameThe bucket name to buy object storage with, the name S3 clients use
({endpoint}/{name}/{key}), immutable once the bucket exists. 3 to 40 characters of
lowercase letters, digits and single hyphens, no dots; platform names, the zb- prefix
and S3's reserved affixes are refused. Checked now like registry_namespace
(422 invalid_* / reserved, 409 name_taken with a suggestion). Omitted: the
organization's slug, or its next free variant. Refused for a product that is not object
storage. GET /catalog/products/{id}/bucket-name-availability answers the same question
while the customer types.
cadence_monthsThe billing term to buy, in months: 1, 3, 6 or 12 (V-0717).
Omitting it buys the monthly term, which is what every client
written before term choice sends. The plan's offered terms, with each
one's price and saving, are its terms on the product plan listing.
A term the plan is not sold at is refused (400), never sold monthly
instead; the subscription renews at the same term and Price.
The managed database options, for a product that runs a managed database
(managed_database_engine on the product, engine_options among its
purchase_steps). Optional: omitted buys the product's defaults (its default version,
its default number of copies, the default maintenance window). Refused for a product
that is not a database. Checked against what
GET /catalog/products/{id}/engine-options lists for the chosen region_id; a
version, number of copies or window it does not list is refused with a sentence, never
replaced by a default.
discount_codeAn optional discount code, exactly as the customer typed it.
A code that cannot be used is refused, not ignored: a customer who entered one and was charged full price anyway has been overcharged as far as they are concerned.
Public ports to open on the service once it runs. Omitting this (or sending none) buys exactly what every earlier request bought.
The customer names only the container port and the protocol(s); Zaroz
assigns the public address and port. Each port is billed by the hour it
is held, monthly in arrears: it is never part of the invoice this
request creates, and the quote lists each one as a line of amount zero
with the estimate in metered_estimate. A port that cannot be opened
right after payment never fails the purchase: it is listed on the
service as pending with the reason, and opened as soon as it can be.
Refused for a product that offers none, past the plan's included ports
when more are not priced, and above 10 per request.
hardware_profile_idThe hardware tier inside region_id to run on, as
RegionHardwareResponse.id from GET /api/v2/catalog/regions
(decision-0347: a customer chooses between a region's tiers, each with
its own Price). Omit it to let kernel place the service on the
cheapest tier that fits. A tier that is not listed under region_id,
or that the listing marks unavailable, is refused exactly as an
unbuyable region is.
operating_system_idThe operating system to install, for a VPS purchase
(ProductFamily::VirtualMachine). Required for that family, and
refused if sent for any other -- nothing else on /v2 installs an
operating system. GET /api/v2/catalog/products/{id}/operating-systems
lists what can be named here.
organization_idWhich organization is buying, and therefore which one the subscription and its invoice bill to.
Optional, and omitting it means "my personal organization" -- the only
thing /v2 checkout could bill before shared organizations became
purchasable. Existing clients that send no organization_id keep the
exact behaviour they had.
Sending one requires the caller to be entitled to spend that organization's money: an Owner or Admin membership, or its personal owner. A Member or Billing role is refused (403), never silently redirected to the caller's own organization. An organization the caller has no relationship to answers 404, the same as an unknown id, so ids cannot be enumerated by their refusal.
project_idWhich project the purchased service belongs to (§34.1's
Organization -> Project -> Subscription -> Resource).
Optional, and omitting it means the buying organization's default
project -- created on first use if it does not exist yet, the same
resolution /v1 order creation has always applied for an organization
with no project concept of its own. This is what makes checkout
reachable without first showing the caller an organization: §11's
invisibility on organization_id is worthless if project_id still
forces one into view.
When supplied, it must name a project the buying organization owns; one belonging to another organization is refused rather than ignored, because a subscription filed under someone else's project misattributes that spend in every read that joins through it.
region_idWhere the service should run. Must be one of the regions
GET /api/v2/console/catalog/regions returns for this
product_id/plan_id: that read applies the same access and capacity
rules checkout does, so anything it lists is buyable and anything it
omits would be refused here.
Required for every purchasable product except a licence
(ProductFamily::License), which is placed nowhere at all and is
refused if this is sent. Omit it entirely for a licence purchase.
registry_namespaceThe registry namespace to buy a container registry with: the first path segment of every
image (<endpoint>/<namespace>/app), immutable once the registry exists. 3 to 40
characters of lowercase letters, digits and single hyphens, starting and ending with a
letter or digit; platform names and the zr- prefix are reserved. Checked now, against
the region's registry and what it already holds: invalid is 422 with the broken rule as
code (invalid_too_short, invalid_character, reserved, ...), taken is 409
name_taken with a suggestion. Omitted: the organization's slug, or its next free
variant, when the registry is created. Refused for a product that is not a registry, and
together with bucket_name. GET /catalog/products/{id}/registry-namespace-availability
answers the same question while the customer types.
The size to buy, when the customer sized it themselves.
Omitting this buys the plan exactly as authored, which is what
every existing client does and what every existing request means. This
is an override, not a replacement: plan_id is still required and
still decides which hardware profile runs the workload and which Price
rates it, because those are placement and money rather than size.
A plan is one convenient point inside the range
products.minimum_*/maximum_* describes, and a customer sizing their
own instance is choosing a different point in the same range. Anything
outside it is refused by Product::admits rather than clamped to fit:
silently resizing somebody's order and then charging them for the
result is the worse of the two answers.
This is also what makes persistent storage opt-in. A product whose
minimum_storage_gb is zero admits a shape with no disk, that shape
prices at zero against the storage rate, and the provisioner builds no
volume for it.
What the service should run, for a product that runs a container image
you choose (Web App, Worker). Optional: omitted, the service is created
waiting for a source, exactly as before. Present, the image is checked
the way POST /checkout/image-suggestions checks it (an image that
cannot be pulled with the login given is refused here, before anything
is charged), stored on the service, and deployed as soon as the
payment provisions it: no separate deploy step. Refused for a product
that runs no image of your choosing.
storage_cap_bytesThe storage cap a bucket or registry is bought with, in bytes: 1 GiB to 100 TiB. The cap is stored on the new service and is the default cap when its bucket or registry is created; read-write access stops at it. Omitted: the default cap (100 GiB) applies at creation. Refused (422) outside the range, and for a product that is not a bucket or a registry.
usage_cap_centsThe most this plan may cost in a month, in cents, for a plan billed by
usage (a Cron Job): the monthly minimum plus the run-hours above it.
Optional; omitted means four times the minimum. Once a month's total
reaches it, no new run starts until next month or until the customer
raises it; runs already going finish. Refused (422) under the plan's
monthly minimum or over 100,000,000. Ignored for a plan that is not
billed by usage. The quote's usage_billing.usage_cap_cents echoes the
cap that would apply.
CheckoutResourcesRequest
cpumemory_gbMemory in GiB, fractional (0.5 = 512 MiB)
storage_gbStorage in GiB. Zero buys no volume at all, where the product allows it.
CheckoutResponse
The establishing invoice, in the same shape GET /billing/invoices/{id}
already returns (InvoiceResponse) -- a client that just checked out
pays this invoice through the existing invoice-id-keyed payment
endpoints (POST /api/v1/invoices/{id}/checkout/mollie or
.../paypal, both of which already resolve by InvoiceId alone).
available_centsV-0449.04: postpaid disclosure, present only for the OWNER of an
organization with a credit limit. See crate::contracts::standing::PostpaidDisclosureResponse.
required_centsZC-1324 org trust S5 (§8.4). See [QuoteResponse::required_cents]'s
own doc comment -- identical meaning, read AFTER this checkout's own
effects (its reservation, if it wrote one) rather than before. Absent for an API token
that may not read the wallet.
CheckoutSourceRequest
hostghcr.io, docker.io, registry.example.com:5000.
repositoryacme/web. A single-segment Docker Hub repository such as nginx is
qualified with library/ by kernel.
tagThe registry login, for a private image. Both halves or neither; the password is stored for pulls and never returned by any route.
http_portThe container port the web server listens on, 1 to 65535. Omitted: read from the image's declared ports, else 8080. Ignored by a product that serves no web traffic.
CheckoutSubscriptionResponse
idorganization_idstatusClaimTrialRequest
nameThe customer's name for the service they will receive.
slugThe URL segment addressing it, unique within its project. Same rules as checkout's: 3-63 characters of lowercase letters, numbers and single hyphens.
trial_price_idThe id from GET /api/v2/me/trials.
project_idWhich project to file it under. Omit for the personal organization's
default project, created on first use. Must be omitted on
POST /api/v2/me/trials/gaming, which always files into the games
project.
region_idWhere to run it.
Ignored when the trial reports region_is_fixed, and omitting it
otherwise means "anywhere that fits, cheapest first" -- resolved
server-side, never by the client.
ClaimTrialResponse
The zero-amount establishing invoice, in the same shape
GET /billing/invoices/{id} returns. Already paid; it is returned so
the customer's invoice list and this response cannot describe the same
row differently.
ClaimableTrialResponse
claimableduration_hoursHow long the free period lasts, in hours, as declared.
idThe trial Price's id (decision-0353: a trial is a Price), to send
back as trial_price_id to POST /api/v2/me/trials.
plan_idThe plan this trial grants.
product_idproduct_nameThe product's display name, resolved server-side so a list needs no second request per row.
region_is_fixedWhether this trial pins its own hardware or region. When true, any
region_id sent to the claim is ignored, so a client must not offer a
region picker for this row.
Why not, when claimable is false. A stable machine value plus a
sentence; clients switch on code and never on message.
region_idThe region the trial runs in when it fixes one.
ClaimableTrialsResponse
ClaimedTrialSubscriptionResponse
auto_renewAlways false on a fresh claim, and stated on the wire rather than
assumed: this is the field that makes the trial free, and turning it
on through PUT /api/v2/subscriptions/{id}/renewal is the whole of what
converting a trial means. A client that hides it leaves the customer no
way to keep their service.
idorganization_idproject_idstatusactive for a claim that provisioned, pending for the narrow window
where the zero invoice settled but the row had not been re-read. Carried
as the real status rather than a one-variant enum like
CheckoutSubscriptionStatusResponse, because a claim -- unlike a
checkout -- activates inside the same request.
trial_ends_atWhen the free period stops. After this the subscription either starts billing (if the customer turned renewal on) or is suspended.
ColumnDefinitionRequest
namenullableprimary_keyCommandConsoleSessionTicketResponse
expires_atWhen the gateway stops accepting this ticket.
This is a redemption deadline, not a session deadline. cluster-agent
checks exp once, when the socket is upgraded
(gateway/edge_token.rs:41, called from gateway/terminal.rs:35); an
attached session then runs until one side disconnects. So a client
redeems the ticket immediately and never re-mints to stay connected: it
mints again only to attach again.
urlThe gateway URL to open a WebSocket against, carrying the signed ticket in its query string.
Binary frames both ways, and no subprotocol: cluster-agent's /terminal
upgrade negotiates none (cluster-agent/src/gateway/mod.rs:88), unlike
its /vnc and /ssh upgrades. Anything that is not a binary frame is
dropped by the gateway rather than refused (gateway/terminal.rs:107),
so there is no control channel to speak into.
CompleteOAuthLoginRequest
keyCompleteOnboardingRequest
The app the caller finished onboarding in.
CompletedPartRequest
etagThe ETag response header of the part's PUT.
numberConditionFallbackResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
ConfigError
Which rule a zaroz.toml error broke.
columnlinemessagehintHow to fix it, such as "did you mean build?".
keyThe dotted key the error is about, such as build.timeout, when it is
about a key.
ConfigErrorCode
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
ConfigField_for_Array_of_string
Where an effective value came from.
valuelineThe zaroz.toml line, when source is file.
ConfigField_for_BuilderChoice
Where an effective value came from.
build.builder: a fixed builder, or auto (Dockerfile when one exists at
the Dockerfile path, otherwise Railpack; spec §6.2).
lineThe zaroz.toml line, when source is file.
ConfigField_for_HealthCheckValue
Where an effective value came from.
deploy.health_check: an HTTP readiness probe.
lineThe zaroz.toml line, when source is file.
ConfigField_for_Map_of_string
Where an effective value came from.
lineThe zaroz.toml line, when source is file.
ConfigField_for_boolean
Where an effective value came from.
valuelineThe zaroz.toml line, when source is file.
ConfigField_for_string
Where an effective value came from.
valuelineThe zaroz.toml line, when source is file.
ConfigField_for_uint16
Where an effective value came from.
valuelineThe zaroz.toml line, when source is file.
ConfigField_for_uint64
Where an effective value came from.
valuelineThe zaroz.toml line, when source is file.
ConfigSource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
ConfigWarning
columnhintkeylinemessageConfigureHttpDomainRequest
domainConfirmAssistantActionRequest
phraseConfirmAssistantActionResponse
A pending action: the record a confirmation card is built from (console contract, "Assistant contract" item 5).
token_secretA new API token's secret, in the form zaroz_pat_{tokenId}_{secret}. Present only in the
response to the confirm that created the token; no read and no repeat confirm can return
it again, and the assistant never sees it.
ConnectProtocol
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
ConnectionEndpointResponse
connection_stringThe connection string, with <password> where the password goes.
hostportWhere an address can be reached from.
ConnectionScope
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
ConnectionSnippetResponse
clientThe client library or tool the example uses.
codelanguageThe languages a snippet is written in. The console labels them; this is the id.
ContainerStatusResponse
namereadyrestart_countstatelast_exit_codelast_terminated_atlast_terminated_reasonmessageDetail for the container's current state: the waiting reason's
message while waiting, the terminated message while terminated,
absent while running.
ControlledUnitResponse
createdtrue only when this call made the unit.
The unit, with its user_data.
Copies
Data-bearing copies of the service. 1 is standalone; 2 or more is high availability.
CopiesPolicy
defaultThe count a purchase gets when it names none.
ha_minThe smallest count that counts as high availability. Ignored when max is 1.
maxThe most copies on sale.
minThe fewest copies on sale.
CrashLoopInfoResponse
restart_countlast_exit_code1 is an application error, 137 a SIGKILL and usually the OOM killer, 143 an ordinary SIGTERM.
last_log_lineThe last line the app printed before it exited, at most 200 characters (decision-0424): what to show as "Your app exits: ...". Absent when the app printed nothing or the pod predates the log-tail setting.
last_terminated_atlast_terminated_reasonmessagenext_retry_atBest-effort estimate of the next restart attempt. Kubernetes does not publish the kubelet's schedule, so this is reconstructed from the last termination plus the standard backoff.
CreateAssistantConversationRequest
localeThe interface language tag, such as es-ES.
messageThe member's message, at most 2000 characters.
appThe app the conversation lives in, fixed for its life: console (the default when
absent) or gaming, which gives the gaming panel's assistant (gaming products first,
links to the gaming panel's pages, business needs handed to the console).
CreateBackupRequest
nameOptional label. Kernel fills in a timestamped default
("Backup 2026-09-10 14:35") when this is absent, null, or blank.
CreateBucketKeyRequest
scoperead_only or read_write.
nameDisplay name. Blank or absent becomes "Key".
CreateBucketRequest
cap_bytesStorage cap in bytes, 1 GiB to 100 TiB. Absent takes 100 GiB. Above the cap read-write keys can only read and delete until usage falls or the cap is raised.
labelDisplay name. Blank or absent becomes "Bucket".
nameThe bucket name S3 clients use ({endpoint}/{name}/{key}). Immutable
once created. 3 to 40 characters: lowercase letters, digits and single
hyphens, starting and ending with a letter or digit, no dots; platform
names, the zb- prefix and S3's reserved affixes are refused. Absent
takes the organization's slug (or its next free variant, -2, -3,
...). Invalid: 422 with the broken rule as code; taken: 409
name_taken with a suggestion.
region_idWhere the bucket lives. Defaults to the region of the subscription's price; when the price names a region this must match it.
CreateDirectoryRequest
pathCreateFirewallRuleRequest
actiondirectionpriorityLower runs first. Ties are broken by the datapath, not here, so two rules sharing a priority have no defined order between them.
protocoldescriptioncidrThe source range this rule matches, IPv4 only and no broader than /8.
Absent, null, or empty all mean "any source".
enabledDefaults to true: a rule created disabled is almost always a mistake
in the client rather than an intention, and /v1 defaults the same way.
port_fromRequired for tcp and udp, refused for icmp and any. The domain
enforces that (FirewallRule::create), so an omitted port on a TCP rule
is a validation refusal rather than a rule that matches every port.
port_toCreateGitConnectionRequest
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, provider, instance_url +1 more | |
| type = object · requires: kind, remote, username +1 more | |
| type = object · requires: kind, remote |
instance_urlkindprovidergitlab or forgejo.
tokenCreateManagedDatabaseExportRequest
formatCreateManagedDatabaseImportUploadRequest
formatsize_bytescleanDrop existing objects first.
data_onlyImport only the data, not the schema.
CreateManagedDatabaseNetworkRuleRequest
cidrlabelCreateManagedDatabaseUserRequest
namepresetWhere a preset applies. Which fields an engine uses is engine-declared: databases for the SQL engines, key prefixes and DB numbers for Valkey.
CreateManagedMariadbDatabaseRequest
nameLowercase letters, digits and underscores, starting with a letter; not a system schema.
character_setcollationCreateMyApiTokenRequest
The grants the token holds. Every capability must be one the caller
may grant themselves (GET /me/api-token-capabilities).
expires_atRequired: at least 1 day away, at most 90 days for a token with a staff capability and 365 otherwise.
name1-64 characters after trimming.
admin_authorizedMust be true exactly when the authorization contains an admin-only capability, and then requires an elevated session.
CreateMyApplicationDelegationRequest
application_idNon-empty: a consent event that grants nothing is refused.
CreateMyReferralLinkRequest
slug1-64 characters of letters, numbers, hyphens, or underscores.
Lowercased and trimmed before it is checked for uniqueness -- see
kernel_organizations::referral_link_service::normalize_slug.
CreateMyWalletOnPageTopUpRequest
amount_centsInteger euro cents, a whole number of euros from 5 to 249 (500 to 24900, multiple of 100).
save_payment_methodAs on POST /api/v2/me/wallet/top-ups.
CreateMyWalletTopUpRequest
amount_centsInteger euro cents: a whole number of euros from 5 to 249 (500 to 24900,
multiple of 100; presets 5, 15, 25, 50). Any other amount is refused with
invalid-field-value; top-ups are always EUR.
providerA provider a top-up can be started with. Mollie is deliberately absent: a Mollie top-up has no checkout and no settlement path in the kernel.
save_payment_methodThe customer ticked an explicit box agreeing to keep this payment method and have it charged
automatically for renewals and for usage, when their balance reaches their threshold or on
the 1st of each month. Usage is not charged yet; the agreement is recorded now. Needs the spend grant, like switching autopay on. nowpayments cannot keep
one.
CreateOrganizationApiTokenRequest
expires_atRequired. At least one day and at most 365 days away (max_lifetime_days on the grantable-capabilities route).
nameWhat the token may do, scoped to this organization. An empty list mints a token that authorizes nothing: for an organization credential, absence denies rather than permits.
Omitting this yields membership_tied, the safer shape: the token is revoked when the creator's membership of this organization ends. Pass organization_owned only when the credential is meant to outlive whoever set it up.
project_idConfines the token to one live project of this organization; omit for the whole organization. A project token may carry only capabilities that can be confined to a project (services.*, subscriptions.*, projects.*).
CreateOrganizationInvitationRequest
emailroleDistinct from OrganizationRoleResponse because request and response
enums are separate types on /v2 (design doc §43.4), even where they
currently carry the same variants.
CreateOrganizationRequest
nameslugURL-safe identifier, unique platform-wide (lowercase ascii letters, digits, and single internal hyphens).
CreateProjectRequest
nameslugURL-safe identifier, unique within the owning organization (lowercase ascii letters, digits, and single internal hyphens).
descriptionCreateRegistryCredentialRequest
scopepull, push (pull and push) or admin (pull, push and delete).
nameDisplay name. Blank or absent becomes "Credential".
CreateRegistryRequest
cap_bytesSpend cap in bytes of stored images, 1 GiB to 100 TiB. Absent takes 100 GiB. Above it pushes are refused until usage falls or the cap is raised; pulls and deletes keep working.
labelDisplay name. Blank or absent becomes "Registry".
namespaceThe namespace every image of this registry lives under
(<endpoint>/<namespace>/app). Immutable once created. 3 to 40
characters: lowercase letters, digits and single hyphens, starting and
ending with a letter or digit; platform names and the zr- prefix are
reserved. Absent takes the organization's slug (or its next free
variant, -2, -3, ...). Invalid: 422 with the broken rule as code;
taken: 409 name_taken with a suggestion.
region_idWhere the registry lives. Defaults to the region of the subscription's price; when the price names a region this must match it.
CreateScheduleRequest
What each fire does (V-0702). Required: run_job for a cron-job
service, tasks for any other.
cron_expressionFive space-separated fields. Syntax only is checked here and in the domain; computing the next fire time is the scheduler's job, out of scope for this slice.
nameThe three concurrency policies a schedule may declare. Mirrors
[OverlapPolicy] one for one; see this module's header for why it is not
reused directly.
timeout_secondstimezoneAn IANA zone name, e.g. Europe/Helsinki. Checked syntactically only:
this platform does not carry a timezone database yet, and adding one
is a dependency decision for the owner, not this slice.
notify_on_failureEmail and notify the organization's owners and admins when a run fails. Absent means yes.
pausedretriesHow many times a failing run is retried before it is recorded as failed (0 to 5). Absent means no retries.
CreateServiceShareRequest
emailThe person's email address. An address an account has verified is shared with that account at once, any other waits until an account verifies it and opens "Shared with me".
What the person may do, besides seeing the service: any of console, files,
power, settings. Empty is allowed and means "may see it is up".
CreateSessionApplicationDelegationRequest
Non-empty: a delegation that grants nothing is refused.
session_tokenCreateSharedDatabaseTableRequest
nameCreateSiteUploadResponse
expires_atThe limits a version must respect, so the browser can warn before uploading.
staging_pathtree_pathUpload loose files (keeping their folders) below here.
upload_idzip_pathUpload a zip here, then extract it into tree_path.
CreateSubscriptionSharedDatabaseRequest
enginemariadb or postgres; see GET .../shared-databases/engines for
which are available right now.
display_nameThe customer's own label. Blank or absent becomes "Database N".
region_idPlace it in this region. Strict when given: a region with no enabled
host for engine is refused rather than silently placed elsewhere.
Absent places it on the least-loaded host for engine.
CreateTicketRequest
bodysubjectCreateTicketResponse
One message in TicketDetailResponse::messages.
Soft-deleted messages never appear here at all -- this endpoint reads
SupportMessageRepository::find_by_ticket_id_visible, which already
excludes them, rather than /v1's find_by_ticket_id (every message,
with the body blanked for a deleted one at render time). A /v2 read
surface has no reason to reconstruct a "[deleted]" placeholder in the
thread; see this crate's report.
A staff author's identity is never exposed: author_is_staff is true
and author_name reads "Support Team". A non-staff message's author_name is that
message's own author's display name, resolved per message by the caller of
from_message -- not necessarily the caller of the request. A ticket's whole thread is
now visible to every member of its organization (design doc §44.2), so a non-staff
message may have been authored by the ticket's owner, another organization member, or
the current caller; there is no single name that is correct for all of them.
One ticket visible to the caller, in the detail view (paired with its messages in
TicketDetailResponse) -- any ticket belonging to any organization the caller may see
(design doc §44.2), not only ones the caller personally opened. Same no-staff-identity
rule as TicketSummaryResponse.
CreateUnitRequest
key1 to 40 lowercase letters, digits or hyphens, starting and ending with a letter
or digit. Never changes. u followed by digits, keys starting w- or zaroz,
and the words the units routes use (allocate, events, policy, ...) are
reserved.
At most 16 pairs; replaced whole. Absent means none for a new unit.
What the unit does when its process exits. Defaults to the policy's
default_on_exit.
The unit's own size, which it keeps for life and is billed by. Absent (or null)
is the largest allowed: the plan's size, or the scaling policy's
max_unit_resources when that is lower.
startfalse creates the unit stopped: it holds no slot and costs nothing until it
starts. Defaults to true.
start_within_secondsWith start: false: how long, in seconds (1 to 604800, seven days), the unit may wait
for its first start. Not started by then, it is destroyed (unit.destroyed with
reason: "start_deadline"), so a unit reserved by a program that then crashed frees
its key and its stopped-unit place. Absent, a stopped unit waits until the scaling
policy's destroy_stopped_after_days. The unit's start_before reads the deadline.
user_dataAny JSON value up to 64 KiB, at most 32 levels deep. Not a secret store.
CreateUnitWebhookRequest
urlhttps:// and a public host; at most 2048 characters, no user name or
password.
event_typesEvent types to deliver (for example unit.ready); empty or absent for
every type.
CreatedApplicationDelegationResponse
iduser_idCreatedDeployHookResponse
created_atidnameurllast_used_atrevoked_atCreatedMyApiTokenResponse
secretThe full credential, shown exactly once. Only a digest of its secret half is stored.
One of the caller's own personal API tokens (ZC-0512).
Never carries the secret, or even its digest. Only a digest of the
secret half is stored on token_hash, and this response omits that field
entirely: the full credential is returned exactly once, at creation
(POST /me/api-tokens), and no later read -- this one included -- can
reproduce it.
Unlike [crate::contracts::organization_api_tokens::OrganizationApiTokenResponse],
capabilities here is not filtered to resource-scoped grants: a personal
token may hold a global or resource-type-scoped grant as well as a
resource-scoped one, so every capability the token's authorization names
is reported, regardless of scope shape. A token created before restricted
authorization existed carries no authorization at all (a legacy
unrestricted token); it reports an empty list rather than "every
capability there is", since there is no finite list of everything an
unrestricted token can do to render here.
CreatedOrganizationApiTokenResponse
secretThe full credential, shown exactly once. Only a digest of its secret half is stored, so no later request can return this value again.
One organization API token. Never carries the secret. The secret exists
in exactly one response, [CreatedOrganizationApiTokenResponse], and only
its digest is stored, so nothing can put it back here later.
CredentialResponse
created_atexpires_atidnamecreated_byThe person who made the credential. null once that account is deleted.
created_by_nameTheir display name, null when created_by is or the account cannot be read.
last_used_atCurrentSessionResponse
Minimal caller identity carried on a session payload.
Deliberately not the full /console/me shape
(kernel_http_v2_identity::contracts::me::MeResponse): /v2 feature
crates do not depend on one another (see crates/http/CLAUDE.md), so
this is a small, independent projection sized for what a session
response needs, not a shared type.
CursorExpiredResponse
descriptioncodeoldest_retained_seqThe oldest seq still kept.
resume_afterSend this as after to read from the oldest kept event. Events before it
were swept: re-read the unit list to resynchronise.
CustomDomainAvailabilityResponse
statusavailable, taken, invalid, platform_zone or not_verified.
A string on the wire, like status above, so a new state does not
break a generated client.
CustomDomainResponse
hostnameNormalized: lowercase, no trailing dot.
idThe id DELETE /service-instances/{id}/custom-domains/{route_id}
names. It is the ingress resource's own id, so detaching addresses the
exact row that was created rather than the hostname string, which a
customer could otherwise re-send in a different case or with a
trailing dot and miss.
statuspending, active or failed.
pending is not a synonym for broken. It is the ordinary state
between accepting the name and cert-manager completing an HTTP-01
challenge, and that challenge cannot complete until the customer's own
DNS points here -- so a client should render it as "waiting on your
DNS", never as an error.
urlhttps://{hostname}, assembled here so every client renders the same
link rather than each concatenating its own.
On an attach answer, when the hostname is under a domain registered with Zaroz: what Zaroz DNS did for it. Absent otherwise, and on every read.
CustomDomainsResponse
limitHow many hostnames this service may hold at once, so a panel can disable its own add control instead of discovering the ceiling at a refusal.
platform_hostThe free platform hostname this service always answers on, or null
when it publishes no HTTP ingress at all.
Also null when the instance's cluster could not be resolved, which
is a different cause with the same rendering on purpose: the listing
of attached domains is correct either way, and failing the whole read
because a placement lookup faulted would blind a customer to the names
they have already attached.
platform_urlhttps://{platform_host}, present exactly when platform_host is.
The shared wildcard certificate covers every platform host, so
unlike a CustomDomainResponse.url this one is never waiting on a
certificate to issue -- a client can render it as a ready link (copy
and open-in-new-tab) the moment platform_host is non-null.
DatabaseExtensionView
installedWhether the database already has it.
nameThe extension's name, exactly as CREATE EXTENSION takes it.
DatabaseExtensionsResponse
databaseDatabaseFeatures
The backup model an instance renders (shared spec §9.1).
The copies on sale for the product this database was bought with. The engine alone cannot know them, so a descriptor built without a product says one copy; the service that holds the product definition fills in the real range (decision-0397).
ddlendpointsexport_formatsimport_formatsmutate_rowsnetwork_allowlistrotation_graceRotating the password can keep the old one working for a while (a grace period). When false the old password stops working at once and the rotate dialog offers no grace.
version_upgradeDatabaseHealth
DatabaseNameDto
nameDatabaseNameParamsDto
engine[DatabaseEngine] on the wire.
max_lengthdefaultDatabaseSqlResultResponse
databaseDatabaseTableResponse
databaseDatabaseTableRowsResponse
databaseDatabaseTablesResponse
databaseThe database's own name on its server, which is the root a browser draws the tree under.
truncatedDatabaseUsageResponse
How full a database is.
databaseDatabaseUsageView
data_lengthindex_lengthused_bytesData plus index bytes, as the engine reports them. Cached for up to a minute and refreshed by any write through this API.
over_quota_sinceSet while the quota enforcement task has the database locked read-only for being over its quota.
quota_bytesThe storage quota in bytes, or null for a database that has none (a dedicated database is sized by its own volume).
DatabaseWriteResultResponse
databaseDatabasesFeature
maxDedicatedIpNetworkProtectionModeResponse
assignment_idnetwork_protection_modeDeleteObjectsResponse
Delivery
What the customer is told about when the domain will be theirs. Neutral by design.
DeliveryResponse
overdueTrue when it has been pending for two minutes or more: the client says it is taking
longer than usual and offers support.
sinceWhen the state began: the request while pending, the confirmation once active, the
first failure when failed.
pending until the edge reports the resource applied (usually a few seconds),
active once it does, failed when the edge refused it or the platform has been
failing to deliver it for longer than a retry window.
reasonA stable machine-readable code, present only when failed (for example
WARDEN.EBPF.MAP_FULL from the edge, or not_ready from the platform).
DeliveryState
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
DeployHookResponse
created_atidnamelast_used_atrevoked_atDeployIntent
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
DeployV1
autoDeploy each successful build automatically. Default true.
An HTTP readiness check. Default: TCP on the port.
portThe port the service listens on ($PORT). Default 8080.
pre_deployRuns before each deploy, such as migrations.
pre_deploy_timeoutBounds the pre-deploy command. Default 10m, at most 30m.
startOverrides the start command (also the CMD of a Dockerfile image).
DeploymentActor
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, user_id | |
| type = object · requires: kind | |
| type = object · requires: kind, origin |
kinduser_idDeploymentActorProfile
display_nameavatar_asset_idDeploymentCapabilitiesResponse
assistantThe console assistant: a provider is configured and staff chose its
models. This says the deployment can run it; whether it is on for a
given member is GET /organizations/{id}/assistant.
automatic_chargingA saved payment method can be charged with nobody present. false while staff have the
switch off and for its notice period after it comes on: nothing is charged then, so a client
must not offer to keep a method for that or promise a charge.
container_registryCustomer container registries. Registry products are not listed when false.
domain_connectDomain Connect one-click DNS setup.
git_buildsBuilding services from git. false means the git source arm, its routes and its
pages are absent here.
Which git providers can be connected through their own consent screens. Generic git
and access-token connections come with git_builds and are not listed.
mailTransactional email. Without it no mail is ever sent (verification, password reset and notifications included).
mollieMollie card checkout for invoices.
nowpaymentsNOWPayments crypto checkout.
object_storage_bucketsCustomer object-storage buckets. Bucket products are not listed when false.
paypalPayPal checkout (wallet top-ups and invoice payment).
stripeCard checkout on our own page, for invoices and wallet top-ups.
unit_log_storeStored unit log history. Live tail is unaffected.
unit_metrics_storeStored unit metrics history.
wardenThe Warden edge protection listener.
web_pushWeb Push notifications.
automatic_charging_starts_atWhen automatic charging begins: the end of the notice period after staff switched it on.
In the future during the notice period (automatic_charging is false then), in the past
once charging is active, absent while the switch is off. A client shows the date to
customers; an older kernel omits it.
DeploymentFailureReason
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
DeploymentOutcome
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
DeploymentResponse
Who started it, masked. A customer is named by their user id; an operator and the platform are deliberately anonymous.
can_rollbackWhether POST .../rollback can restore what this deployment ran: it
recorded an image and its rollout was not a failure (Wave H, H8).
A statement about the record, not about the registry. Kernel cannot
ask Docker Hub, ghcr.io or Quay whether the image still exists (the
module header says why). If it was deleted the rollback is a deployment
like any other and fails with its recorded reason, leaving the previous
image saved.
idnumberThe number a customer cites in a support ticket.
Unique within this service and never reused, because the lease rows
it comes from are never deleted. Not contiguous: it is drawn from
the same per-instance sequence every operation on the service uses, so
a service's deployments are #3, #7, #12. A panel renders it as an
identifier, never as a count.
started_atHow the operation ended. Not whether it worked: see this module's header.
Why it ran. A closed union with two arms: manual, somebody pressed
Deploy, and config_change, a setting was written and the workload was
re-rendered because of it. The three the fixture also carries (push,
tag_moved, rollback) each need a subsystem kernel does not have,
and are absent rather than declared and unreachable.
config_change carries a summary: kernel's own sentence about
what changed, for a client to print verbatim (R2). Do not parse it
and do not compose your own -- only kernel knows which key was
written -- and note that its wording is prose rather than a
compatibility surface.
Who the customer actor is, resolved by kernel so a client never
guesses ("A teammate"). null unless actor.kind is customer, and
also when that account no longer exists. The avatar is an asset id, the
same spelling every other member listing uses.
build_idThe git build this deployment shipped, null for anything else.
duration_secondsWhole seconds, null whenever finishedAt is. Computed by kernel
(R2) from the two fields beside it, so it can never disagree with
them.
failure_detailThe registry's or the kubelet's short answer behind a start failure
("403 Forbidden"), already reduced to what is safe to show: never a
link, a query or an assignment, at most 120 characters. null
otherwise, and never the app's own output.
failure_exit_codeThe last exit code of a process that kept exiting, beside a
crash_loop or out_of_memory cause. null otherwise.
Why the rollout failed, when outcome is failed. Kernel's own
closed vocabulary -- never the raw cluster or template message, which
is logged rather than returned (ZC-1084).
null here is not the same statement null on outcome is. It is
null for every deployment that is not a recorded failure, for a
ConfigChange-kind deployment (not yet classified), and for a lease
released before this field existed. None of those is the unknown
word, which is a positive statement that kernel tried to classify and
could not. See
DeploymentFailureReason's
own doc for the full vocabulary and why each word is there.
Since V-0266 it is also set, with outcome rewritten to failed, when
the rollout applied and the workload it shipped never started: the
eight words from image_pull_denied to unschedulable are those
causes, as the kubelet reported them on the deployment's own pod within
minutes of the rollout.
finished_atnull while it is still running, and also for one that was abandoned:
the row records when the lease would have lapsed, not when the holder
stopped, and reporting the expiry would invent a duration.
image_digestThe immutable digest that was pulled, when the reference pinned one.
Almost always null, and that is honest rather than missing.
Nothing in kernel resolves a tag to a digest against a third-party
registry: both manifest clients authenticate HTTP basic only, while
ghcr.io, Docker Hub and Quay all require a Bearer-token exchange. It
is non-null only where the customer pinned a digest themselves. A
client must not derive one from imageReference.
image_referenceThe image this deployment shipped, as ${service.image} resolved when
the deployment started.
A fact about the past, not about now. It is captured when the
deployment begins, because that is the only moment it exists: the value
lives on the instance's configuration and the customer overwrites it on
their next tag change. A client comparing this with the Source
capability's current reference is comparing "what is running" with
"what is saved", which is the question 00-program.md §8 is about.
null for a deployment from before the provenance migration and for a
product whose image the customer does not choose. It is not
reconstructable, so null here means the answer is gone rather than
that it is available from another route.
Whether the rollout applied: succeeded, failed, or null.
null is "not recorded", never a failure. It is every deployment
from before the provenance migration, every one still running, and
every holder that died or was forced open before it could say. Nothing
is backfilled and nothing can be, so a panel renders null as an
absence rather than as a red badge.
Separate from status on purpose: a failed deployment is ended and
failed at once, because the handler releases its lease on its error
path too.
DeploymentStatus
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
DeploymentTrigger
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind | |
| type = object · requires: kind, summary |
kindDesiredUnitsPointResponse
atThe bucket's start.
unitsnull when the service's history does not say.
DetectGitRepositoryRequest
refDefault: the repository's default branch.
rootThe directory the service builds from. Default: the repository's root.
Detection
dockerfileA Dockerfile at the root's default path ("Dockerfile found").
portThe port the app likely serves HTTP on: the Dockerfile's EXPOSE when there is one
(set by the caller that read the file, [dockerfile_exposed_port]), else the
framework's usual port. A prefill for the HTTP port field, never a promise.
DetectionHint
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, file | |
| type = object · requires: kind |
filekindvariableDiffChange
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
DirectoryListingResponse
Unordered. Sorting is the panel's, per FilesTransport.
pathThe normalized path that was listed, not the one that was typed, so
a breadcrumb reflects what kernel actually read. A customer pasting an
SFTP-shaped path (/server/config) gets back the mount-relative one
(/config).
truncatedTrue when the directory holds more entries than one response carries.
A flag rather than a cursor: there is no stable ordering to page over
(the sidecar returns whatever read_dir yields), so a cursor would
promise a consistency the backend cannot keep.
DiscardConfigurationResponse
categorydiscarded1 when a stored value was reverted, 0 when nothing was pending.
The category as it now stands; only the discarded category's field is present.
DiscoverDomainConnectRequest
domainThe customer's registrable domain, e.g. example.com.
hostThe subdomain label (e.g. play), or empty to point the apex at the
server.
DnsInstructionResponse
nameThe domain the record is created on.
record_typeCNAME for a subdomain; ALIAS for a bare domain (example.com), which cannot hold a
CNAME: use the provider's ALIAS, ANAME or CNAME-flattening record to the same target.
targetWhat the record points at: the endpoint's free host.
DnsRecordRequest
typeThe record types Zaroz DNS offers at launch (spec §9.1). Stored and sent in the conventional uppercase spelling.
name@ for the apex, or a name relative to the domain such as www.
valueportSRV only.
priorityMX and SRV only.
ttlSeconds; the default applies when absent.
weightSRV only.
DnsRecordType
The record types Zaroz DNS offers at launch (spec §9.1). Stored and sent in the conventional uppercase spelling.
DomainConnectLinkResponse
created_atdomainThe customer's registrable domain, e.g. example.com.
hostThe subdomain label, or empty for the apex.
hostnameWhat players connect to: {host}.{domain}, or {domain} for the apex.
idstatuspending, active or failed. pending is the ordinary state until
the customer approves the change at their DNS provider and the records
propagate; render it as waiting, not as an error.
written_by_zarozTrue when the domain is registered with Zaroz on Zaroz DNS and the kernel wrote the A and
SRV records itself: there is no apply_url and nothing to approve, and releasing the
link removes the records.
apply_urlThe browser URL that applies the template at the customer's DNS
provider, or null when Domain Connect is not configured on this
platform.
dns_provider_display_nameThe detected DNS provider's display name, when it publishes one. Zaroz DNS for a
link Zaroz wrote itself.
last_errorlast_verified_attemplate_confirmedWhether the DNS provider recognizes our template: true, false, or
null when the provider did not answer consistently.
DomainConnectResponse
supportedWhether this service's product offers Domain Connect. A client hides the
section when false.
DomainRegistrationAvailabilityResponse
availableWhy not, when available is false.
DomainRegistrationTldResponse
currencysupports_privacytldWithout the dot: com, co.uk.
price_centsThe yearly price in cents, null when no price is published.
DomainRegistrationUnavailableReason
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string |
DomainSearchResponse
noticeSet when some results are a minute old because the registrar was limiting us.
DomainSearchResultResponse
exactThe name the customer typed.
nameThe A-label.
purchasableWhether it can be bought here.
unicode_nameFor a purchasable name: instant, or delayed (registered within a few hours of
payment; show a small icon and neutral copy). null when not purchasable.
noteprice_centsDomainUsageHostnameResponse
hostnameA project named back to a caller who owns it.
route_idThe route serving the hostname: the {route_id} of the endpoint domain routes.
A service named back to a caller who owns it.
The https endpoint serving it. Absent for a hostname served another way (a Web App's custom domain) or whose service's endpoints could not be read just now.
Present only while status is failed.
Absent for a hostname with no https endpoint to hold path rules.
Absent when it could not be read just now.
DomainUsageResponse
Every hostname of the organization under the domain, ordered by hostname. Empty when nothing uses it yet.
domainhidden_countHostnames under the domain on services the caller may not read. Counted, never named: no service, project or endpoint of theirs appears anywhere in this response.
DomainVerificationResponse
check_attemptsHow many automatic looks have failed while pending.
domainmax_check_attemptsHow many automatic looks a pending domain gets before it is given up on.
record_namerecord_typeAlways TXT. Present so a client never has to hardcode the record
type it renders next to record_name/record_value.
record_valueremoved_if_abandonedWhether this claim is deleted, not kept as failed, if it is given up on unproven. True
only for a claim started from a service's address page.
statuspending, verified, lost, or failed.
first_verified_atThe first time this row was ever proven, set once and never moved
again even through a later Lost/Verified cycle. What a "Verified on
1 March" message (design doc state 4/5) reads from; distinct from
verified_at, which keeps advancing on every successful recheck.
grandfathered_untilA dated exemption for one of the handful of production domains that
were serving before this feature existed (design doc, "The four live
production domains"). Some only for those rows, and only until the
date itself: after it, an unproven domain in this state stops being
served. Absent for every row created through the ordinary start flow.
last_checked_atlast_errorKernel's own sentence for the most recent refusal, verbatim, per the design doc's "what kernel returns" (kernel writes the sentence, console renders it as-is).
lost_sinceWhen a Verified row's proof was most recently found gone or
replaced. Some only while status is lost. Combined with the
domain's fourteen-day grace period, this is what lets a client compute
the exact date state 6 names ("will stop being served on
lost_since + 14 days").
next_check_atWhen the next automatic look at this domain is due. Absent once checking has stopped
(failed).
service_idThe service whose address page started this claim, so a verified domain can resume attaching to it. Absent for a domain added from the Domains page.
usage_countHow many of the organization's hostnames are served under this domain (the domain itself
and its subdomains). Present on the list, so a card can say "used by N hostnames" without
a request each; absent on the add and check responses, which do not look at usage. Read
GET .../domains/{domain}/usage for the hostnames themselves.
verified_atDownloadFormatParam
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
DownloadRequest
keysave_asMakes the browser save the file under this name instead of showing it.
DownloadUrlRequest
pathDownloadUrlResponse
base_urlexpires_attokenEditTicketMessageRequest
bodyEffectiveConfigResponse
One effective value and its provenance.
One effective value and its provenance.
builderWhat runs: auto resolved against the Dockerfiles detection found.
What was asked for: auto, dockerfile, railpack or static.
One effective value and its provenance.
One effective value and its provenance.
One effective value and its provenance.
One effective value and its provenance.
Whole seconds.
One effective value and its provenance.
Names of the build secrets the build asks for, never values.
The builder size name.
Whole seconds.
Pinned language versions, by language (node, python, ...).
One effective value and its provenance.
spa, or the page path inside the output.
EffectiveRoutingResponse
hostpath_limitThe most path routes one domain may carry.
In the order they are evaluated; the last is always the default.
Every service that answers some part of the domain, with the paths it serves.
Present when the request carried ?path=.
ElevationMethod
Which admin-elevation module a credential belongs to, or a verification
attempt is checked against. AdminElevationModule gives each method
(PIN, WebAuthn, TOTP) a home behind this same enum without touching every
caller that only cares about routing by name. Serializable so callers of
/auth/sudo/* can pick a method by name instead of the HTTP layer
assuming PIN.
EnableDatabaseExtensionRequest
nameOne of the names listDatabaseExtensions returned.
EndedUnitsResponse
Newest ended first; the same shape as the rows of the units list. deleted_at is
when each ended and kept_until when its logs age out.
next_cursorPass it as cursor for the next page; null on the last page.
EndpointDomainResponse
domainidThe id to DELETE .../endpoints/{endpoint_id}/domains/{id}.
Verification state of what is served on it: the domain itself was verified for the organization before it could be attached (a domain that loses verification stops being served and disappears from here); this is the route and certificate.
urlhttps:// plus domain.
The DNS record the customer creates so the domain reaches this endpoint. Present on reads of an endpoint once its free host is known; absent on the response to attaching a domain (read the endpoint again).
Why the domain is failed: a stable code and a sentence. Present only while status is
failed. certificate_failed (usually DNS not pointing at the platform yet) or
route_failed.
On the response to attaching a domain under a domain registered with Zaroz: what Zaroz DNS did for it (the record above is then already written). Absent otherwise.
EndpointKind
What an endpoint is (decision-0308). A Container offers two, and a customer chooses by what they run: a website or API, or anything else.
port: a raw TCP/UDP public port through Warden. Priced, metered, backed by a port allocation.https: one container port behind Traefik, on a free platform host plus the customer's verified domains, with automatic TLS. Free, never metered, holds no allocation. Carries TCP only (WebSockets included); TLS ends at Traefik.unit: a raw port likeport, but one per unit slot, reaching exactly that unit's pod (Units phase 1, S13). One allocation per slot, held while the slot exists, so the address survives pod restarts and is released on scale-down. Priced and metered per port exactly asportis.
EndpointOriginResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
EndpointProtocols
The protocols one endpoint carries. TcpUdp is one endpoint, one price,
over one allocation carrying both labels ([PortProtocol::Both]).
EndpointRequestBody
internal_portThe port the service listens on inside the container, 1 to 65535.
domainshttps only: the customer's own domains to serve on this endpoint once the service
runs. Each must be one the organization has verified or a subdomain of one, exactly as
POST .../endpoints requires; refused here with invalid_domain, platform_domain
or domain_not_verified. At most 10 across the whole purchase (domain_limit).
kindport (the default, so a request written before kinds existed means what it
always did) is a raw TCP/UDP public port: a shared address and an assigned public
port, billed by the hour held. https is a website or API behind Traefik: a free
platform host, the customer's own verified domains (added once the service runs),
and automatic TLS, free and never metered; the app serves plain HTTP.
labelhttps only: the label of the free host (<label>.zone.<zone>.zaroz.cloud), one DNS
label; refused with invalid_host_label otherwise. Omitted, the host is named after
the endpoint's id. Same rule as POST .../endpoints.
For port: tcp, udp, or tcp_udp for one public number on both; required.
For https: omit it (it is always TCP); tcp is accepted.
EndpointResponse
created_atWhen the port was opened, or, while pending, when it was asked for.
idThe id to DELETE. For a pending request this is the request's id.
internal_portThe port the service listens on inside the container.
kindport (raw TCP/UDP, billed), unit (a raw port that reaches one unit, billed like a
port) or https (a host and domains, free).
protocolThe protocols one endpoint carries. TcpUdp is one endpoint, one price,
over one allocation carrying both labels ([PortProtocol::Both]).
The host and domains of an https endpoint. Absent for a port, which has the
public_* fields instead.
last_public_ipThe public address the port had, once it is closed, so a month's bill can be read against it. Absent while the port is open, while it is pending, and for a port closed before the address was kept.
last_public_portThe public port the closed port had. Present exactly when last_public_ip is.
Why the port is not open yet. Present only while state is pending.
public_ipThe public address, while the port is open.
public_portThe public port Zaroz assigned, while the port is open.
released_atWhen the port was closed.
unit_ordinalThe unit slot a unit endpoint reaches. Absent for the other kinds.
EndpointStateResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
EngineCopiesOptionResponse
copiesData-bearing copies. The price is the plan's (one copy) times this, and storage bills a
multiple of it (20 GB x 3 copies), which the quote states in words.
is_defaultExactly one option is preselected.
monthly_priceWhat this count costs per month for the plan named by plan_id, kernel's own
arithmetic (the plan's price times copies, reseller multiplier included): render it,
never compute it. Null when no plan_id was given or the plan has no resolvable price.
pitr_daysThe point-in-time recovery window at this count, in days. Null when the engine restores from snapshots instead. Explain it once under the high availability toggle, not per plan.
EngineCopiesResponse
defaultThe count a purchase gets when it names none.
ha_minThe smallest count that counts as high availability: the toggle turns copies from min
(one, standalone) up to at least this.
maxThe most copies on sale.
minThe fewest copies on sale.
Every count on sale, smallest first.
EngineOptionDto
labelvalueEngineSettingDto
defaultEngineSettingsDto
append_onlyeviction_policysnapshotsEngineSettingsParamsDto
EngineStatKindResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
EngineStatResponse
idStable name of the figure (memory_used, hit_rate, connections): what a panel keys its
label on.
How a statistic's number is read. A panel formats by this and by the statistic's id, never
by the engine.
limitThe ceiling value is measured against (memory against its limit, connections against the
maximum), when the engine has one.
textThe reading of a text figure.
valuenull when there is nothing to say yet, such as a hit rate before the first lookup.
EngineStatsResponse
enginevalkey or mariadb.
read_atEngineVersionOptionResponse
is_defaultExactly one version is preselected.
versionThe version in the engine's own spelling, exactly what database.version takes.
EngineWindowDefaultResponse
day_of_week0 is Sunday.
hourThe local start hour in the region's time zone.
EnvironmentApplies
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
EnvironmentApplyResponse
atoutcomeHow the last explicit apply ended.
operation_idThe queued operation that ran it, for GET .../operations/{operation_id}.
EnvironmentExportResponse
exportWhat a link names (url, host, ...).
secretA linked secret export is always a secret variable.
EnvironmentExportSourceResponse
kindpostgres today.
namesource_idEnvironmentExportsResponse
The export the typed key most likely wants, when it names one
(DATABASE_URL asks for a database URL). The console shows it as the
one-click suggestion.
EnvironmentLinkResponse
exporturl, pooler_url, readonly_url, host, port, database, user,
password (a Postgres source), internal_url, public_url (an app).
source_idThe source service instance.
EnvironmentResponse
pending_countHow many keys differ from the last applied render (added, changed or removed). 0
means nothing waits for an apply.
secrets_allowedWhether this product's customers may store secrets at all. A panel that inferred this from a product slug would be computing a verdict.
Ordered by key, so two reads of an unchanged service agree.
The last explicit apply's outcome and time. null before the first one.
Whether the running container is still on older values, and which act
would pick them up. null when nothing is outstanding.
On the envelope rather than left to the client's local state, because a page reload must not make the banner disappear while the container is still running the old values.
EnvironmentVariableResponse
When changing this reaches the running container. Kernel's verdict.
idStable for as long as the key is.
Derived from the key rather than stored, so renaming a variable changes its id. Good enough to key a table row and an open dialog on; not durable, and nothing should persist it.
keysecretWhere this key stands against the last applied render (V-1179). Edits are staged: they
store at once and reach the running container only on apply. Kernel's verdict, so a
client never guesses. pending_remove rows are keys that are no longer stored but that
the running container still has.
Set when the value is linked from another service of the project
(decision-0424): resolved at render, never stored, never returned, kept
in sync with password rotation and address changes. null for a
variable with a value of its own.
Whether the running container is still on an older value after the
request that produced this row, and which act would pick the new one
up. null means nothing is outstanding.
Only a write answers this. In a list read every row carries null and
[EnvironmentResponse::pending] on the envelope is the verdict for
the set, because staleness is compared against the whole rendered
workload rather than row by row. A write has no envelope to put it on
and does know the answer for its own change: saving succeeded but the
re-render did not, which is the case a panel must not report as done.
valuenull when secret is true, always.
Not "[redacted]": that is a string a customer can also type, so a
client could not tell a masked value from a real one, and null is
the only unambiguous answer.
EnvironmentVariableState
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
EventKind
ExecPtySessionTicketResponse
containerThe container the shell will open in.
expires_atWhen the gateway stops accepting this ticket. A redemption deadline: the ticket is single use and the open session is bounded by the gateway's own idle and maximum-length timeouts, not by this.
shellsThe shells the gateway tries, in order, until one starts.
urlThe gateway URL to open a WebSocket against, carrying the signed ticket
in its query string. Negotiate the zaroz-pty-v1 subprotocol and append
columns and rows.
ExternalAccess
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: access | |
| type = object · requires: access | |
| type = object · requires: access, sources |
accessExternalAccessLiveResponse
degradedExternalAccessResponse
extra_slotsExtra slots staff granted this service instance on top of
free_slots (0 without a grant). free_slots + extra_slots is the
ceiling a new port request on a shared pool is refused at.
free_slotshttp_ingress_ipsis_dedicated_ipTrue when this instance's ports are served from an exclusive (dedicated) IP, where the requested port becomes the public port. On a shared pool the external port is drawn at random and cannot be chosen.
usedExtraMinutesResponse
committed_centsoverage_cents plus the worst case of running builds (current month only).
limit_max_centslimit_min_centslimit_presets_centsopted_inoverage_centsBuild overage settled this month, across services.
consented_atconsented_bylimit_left_centsmonthly_limit_centsFeaturedTldPriceResponse
currencyISO 4217 (EUR).
price_centsThe first year, net of VAT, in the currency's minor unit.
renewal_centsEach later year, net of VAT.
tldThe extension, without the dot (com).
FeaturedTldPricesResponse
In the featured order, at most 20. Empty when this deployment sells no domains.
FileContentResponse
contentUTF-8 text. A file that is not valid UTF-8 is refused rather than
lossily converted, because the transport's write takes a string and a
lossy read followed by a save would rewrite the customer's binary as
replacement characters.
pathsize_bytesBytes of content, which is what was actually read rather than what the
directory entry claimed a moment earlier.
FileEntryResponse
kindWhat an entry is. Two values, closed: a filesystem entry the browser can
draw is a file or a directory, and the sidecar refuses to describe anything
else (entry_for_path answers invalid_argument for a socket or a device).
namepathAbsolute within the mount, always starting with /. This is the value
to hand back to any other route on this capability: it is the sidecar's
own answer about where the entry lives rather than a path the client
rebuilt from name, so following it addresses the file kernel listed.
modified_atnull when the backend reported none. Rendered, never parsed for
meaning.
size_bytesnull for a directory. The sidecar reports zero for one, and a rendered
zero reads as "this folder is empty", which is a claim kernel never
made.
FileKindResponse
What an entry is. Two values, closed: a filesystem entry the browser can
draw is a file or a directory, and the sidecar refuses to describe anything
else (entry_for_path answers invalid_argument for a socket or a device).
FilesSessionTicketResponse
base_urlexpires_attokenFirewallRuleResponse
actioncreated_atdirectionenabledidpriorityprotocolresource_idThe machine this rule filters traffic to. /v1 calls this
provision_id; see this module's header.
updated_atdescriptioncidrRendered back as it is stored, canonicalised by ipnetwork, so a
caller who wrote 10.0.0.5/8 reads 10.0.0.0/8 and can see what the
rule will actually match.
port_fromport_toFirewallRulesResponse
max_rules_per_directionHow many rules one direction may hold. Kernel's own constant, published rather than duplicated as a frontend literal.
FirstDeploymentResponse
startedtrue when the deployment was started and the rollout applied.
failureKernel's sentence, in English, when it was not started: the image is saved, nothing is running, and the Deployments tab has the retry.
FivemArtifactChannelDto
Mirrors [FiveMArtifactChannel] by hand, on this module's own discipline
(the domain type carries no JsonSchema).
FivemLiveResponse
Empty unless status is ok.
Present only when status is ok.
FivemLiveStatus
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
FivemPlayerResponse
idnamepingMilliseconds; 0 means the server did not report one.
FivemServerDto
artifact_channelMirrors [FiveMArtifactChannel] by hand, on this module's own discipline
(the domain type carries no JsonSchema).
default_chat_enabledcustom_artifact_versionExact {build}-{40 hex} id; required for custom, dropped otherwise.
FivemServerInfoResponse
clientsPlayers connected now.
gametypehostnamemapnamemax_clientsThe server's slot count, when it publishes one.
FivemServerParamsDto
artifact_channelWhether this product offers a channel / custom build choice. false
for FiveM Enhanced, whose build is pinned in the image.
ForgotPasswordRequest
emailoriginThe origin the emailed reset link should point back at (ZC-1425).
Same shape and validation as [PasswordSignupRequest::origin], including the
optional app mount path (https://zaroz.cloud/gaming).
Unlike the address above, a disallowed origin here is NOT hidden
behind the identical-response refusal: it is not account-existence
information, so forgot_handler refuses it with a real 4xx.
FramebufferHoldRequest
session_idThe session_id the ticket response minted. A session that no longer
holds the screen gets held: false rather than an error.
FramebufferHoldResponse
heldexpires_atWhen this hold lapses unless refreshed again. Absent when the hold was lost, because there is nothing left to refresh.
holder_nameWho holds it instead, when the hold was lost. Absent when it was kept, and absent when nothing holds it at all.
FramebufferReleaseResponse
releasedFalse when the session named no longer held the screen, which is the ordinary outcome of unmounting after being taken over. Not an error: a page being torn down is not a place to report one.
FramebufferSessionConflictResponse
descriptioncodeMatches the shape of the shared error envelope so a generic client error handler still reads it.
holder_nameRendered as given. zaroz-ui puts this straight on screen and does not
word a sentence around it.
holder_user_idupdated_atWhen the holder last refreshed. A client can use it to say how stale the hold is before offering to take over.
FramebufferSessionTicketResponse
expires_atWhen the gateway stops accepting this ticket.
A redemption deadline and not a session deadline: cluster-agent verifies
exp once at upgrade (gateway/vnc.rs:12) and never again, so an
attached screen outlives its ticket.
hold_expires_atWhen the exclusive hold lapses unless refreshed.
protocolsSubprotocols the socket must request. See [FRAMEBUFFER_SUBPROTOCOL].
session_idThe handle for this exclusive session.
Minted here rather than supplied by the client, unlike /v1's
sessionId query parameter. The client cannot then name somebody else's
session, and taking a screen over is spelled force rather than
spelled "guess the holder's identifier and refresh it".
Pass it to the hold and release routes. It is not a credential: holding this screen still requires passing the same authorization the mint did.
urlThe gateway URL to open a WebSocket against, carrying the signed ticket in its query string.
Framework
Frameworks the onboarding card names ("Next.js detected").
FriendlyError
descriptioncodedetailsdocs_urlWhere this refusal is documented, when it has a page of its own (the Units refusals).
GameServerDto
descriptionbanner_urlcrossplaydisable_anti_cheatexpansionfps_limitmapmax_playersmod_frameworkmodepublicseedserver_nameserver_urlupdate_mods_on_startupdate_on_restartworld_nameworld_sizeGameServerParamsDto
GameSubdomainAvailabilityResponse
statusSet when status is invalid.
GameSubdomainRequest
parent_domain_idsubdomain3-32 characters: a-z, 0-9 and inner hyphens. Normalized to lowercase.
Publish an SRV record so players connect with the hostname alone (V-0931). Only for a
service whose product publishes none (a Worker); refused with srv-product-declared
otherwise. On a rename, omitting it keeps the current choice; clear it with the SRV route.
GameSubdomainResponse
created_athas_srv_recordWhether an SRV record carries the port, so players can connect with the hostname
alone. false means they must add :record_port.
hostname<subdomain>.<parent_domain_name>, what players connect to.
idChanges on a rename: a rename replaces the subdomain.
parent_domain_idparent_domain_nameWhere a game subdomain's DNS records are.
subdomainlast_synced_atrecord_ipThe address the records point at, once they were pushed.
record_portThe port players need when there is no SRV record carrying it.
The SRV choice the customer made (V-0931). null when none was made, and also while the
product publishes its own SRV record (then has_srv_record is true regardless).
GameSubdomainSrv
endpoint_idAn open port or unit endpoint of this service (from the endpoints list) whose
protocol carries the kind's transport. The A record then points at that endpoint's
public address and the SRV record at its public port.
The SRV services a customer may choose for a subdomain whose product publishes none
(V-0931). The record is _<service>._<protocol>.<hostname>.
GameSubdomainStatusResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
GameSubdomainZoneResponse
idnameGameSubdomainsResponse
limitHow many subdomains one service may hold (1), so a client can hide its add control.
product_declares_srvtrue when the service's product publishes its own SRV record: a subdomain then cannot
carry a choice (it is refused with srv-product-declared).
The SRV services a customer may choose when product_declares_srv is false.
The zones a new subdomain may be taken under. Empty when none is enabled.
GitBuildRule
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, branch | |
| type = object · requires: kind, pattern | |
| type = object · requires: kind |
branchkindGitCommitResponse
titleshaauthorcommitted_aturlGitConnectStepResponse
redirect_toconnection_idThe connection the flow made, once it has.
link_idThe repository link the flow made, once it has.
GitConnectionResponse
created_athas_access_tokenhas_refresh_tokenhas_ssh_private_keyhostidkindproviderstatusactive, needs_reauth, suspended or revoked.
account_loginssh_host_keyssh_public_keyAdd this to your git host. Not a secret.
status_reasonusernameGitDetectionResponse
Directories of a monorepo that look like services.
configabsent, services, invalid or unreadable.
What is wrong with the zaroz.toml.
What the file listing at the root says: a Dockerfile, a language, a framework and
hints. Every field is detected by nature, so none carries a source.
servicesThe services a multi-service zaroz.toml declares.
truncatedThe listing budget ran out, so candidates may be incomplete.
GitProvidersResponse
codeberggithubgitlabGitRepositoryLinkResponse
connection_iddefault_branchfull_nameidpoll_stateoff, active or paused.
privatereachablewebhook_stateabsent, active or failing.
GitRepositoryResponse
full_nameidWhat linking names.
privatedefault_branchpushed_atGitSource
auto_deployWhich commits of a git source build (spec section 5.2), as the Source panel
reads it. The rule itself lives with builds (builds::trigger::BuildOn).
read_repo_configrepository_link_idwait_for_checksconfig_nameThe [services.<name>] entry of a multi-service zaroz.toml.
deployed_build_idThe build the next deployment ships.
imageThat build's image by digest, None before anything was deployed.
GitSourceConfigExportResponse
tomlA zaroz.toml of the console's settings, to download. Kernel never commits it.
GitSourceConfigResponse
The effective configuration: each field's value and where it came from.
What the console has saved for this service, in zaroz.toml's own shape and keys. It
includes keys a zaroz.toml currently overrides: those are kept, and take effect the
day the file stops setting them. A key left out is at its default.
originhead: read from the tracked branch through the provider. last_build: the git server
has no API, so this is what the newest build recorded. console: nothing could be read,
so these are the console's settings over the defaults.
commit_shaThe commit it was read at, for head and last_build.
GrantCapabilityDto
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
GrantDto
What a grant lets the principal do to its target service. Mirrors the domain's closed vocabulary; deliberately not an API token capability.
target_service_instance_idGrantableOrganizationApiTokenCapabilityResponse
Closed, policy-owned action catalog. Capabilities are exact: there is
deliberately no prefix or glob matching, and unknown wire values are
rejected during deserialization.
PartialOrd/Ord exist so a capability set can be a BTreeSet, which is
what [crate::domain::auth::application_token::ApplicationToken] stores.
The ordering is the declaration order and is not a wire contract: nothing
serializes it, and as_str remains the only stable representation.
GrantableServiceResponse
nameThe service's name, as the project lists it.
service_instance_idGuestReadinessResponse
kindreadystatusThe ticket's own state machine, as a string. Diagnostic rather than
something to branch on: ready is the decision.
completed_atHealthCheckV1
pathThe HTTP path probed for readiness, such as /healthz.
timeoutHow long a deploy waits for readiness, such as "5m".
HealthCheckValue
pathStarts with /.
timeout_secondsWhole seconds; absent for the default.
HealthReasonCodeResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
HealthReasonResponse
sinceSince when.
statefailing: the platform tried and could not yet; waiting: something it
depends on is not ready yet.
HostStatusResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
HttpExposureResponse
domainstatusurlOn an expose answer, when the domain is under a domain registered with Zaroz: what Zaroz DNS did for it. Absent otherwise, and on every read.
HttpPortResponse
applied_portStaged like an environment variable (G7): port and source are the stored value,
applied_port and applied_source are what the running workload has. They are equal
when nothing waits for an apply.
Where a service's HTTP port came from.
pendingWhether the stored port differs from the applied one. Cleared by
POST .../http-port/apply (or by any deployment).
portWhere the port came from: image (read from the image's declared
ports), default (the image declares none, so 8080) or customer
(typed by a person, never replaced by a suggestion).
The last explicit apply of the port: outcome and time. null before the first one.
HttpPortSource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
HttpPortSuggestionResponse
alternativesThe other ports the image declares, ascending.
portsentenceKernel's sentence for the field's hint, in English.
image when the image declares a port the platform can use, default
(8080) when it declares none or the registry could not be asked. Never
customer.
HttpsDetailsResponse
The customer's own domains on this endpoint, each with its certificate state.
How far a host or a domain is.
hostThe free platform host, <label>.zone.<zone>.zaroz.cloud, covered by the platform's
wildcard certificate. Absent once the endpoint is released.
urlhttps:// plus host.
IdleAction
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
IfNone
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
ImageHttpPortSuggestion
alternativesThe other ports the image declares, ascending.
portsentenceKernel's sentence for the field's hint, in English.
sourceimage when read from the image's declared ports, else default.
ImageMountSuggestion
alternativespathsentenceKernel's sentence for the field's hint, in English.
sourceimage when read from the image's declared volumes, else default.
ImageProblem
codeA stable kebab-case reason code.
sentenceKernel's sentence, in English.
ImageSuggestionsRequest
hostrepositorytagThe login for a private image. Used for this question only; nothing is stored.
ImageSuggestionsResponse
The port the web server listens on.
Where the app keeps its files, for a service bought with a volume.
Set when the image cannot be used and the customer can fix it: not
found, or a login the registry refused. null otherwise, including
when the registry simply did not answer (the suggestions are then the
defaults, and the purchase is allowed).
ImportSharedDatabaseTransferRequest
source_operation_idInFlightOperationResponse
kindThe operation's stable snake_case spelling (deploy, restart,
reprovision, ...its ServiceOperationKind::to_string()). Plain text
rather than a dedicated wire enum, matching v2-admin's
ServiceOperationLockResponse::operation for the same lease, so an
operator comparing the two never reads two different vocabularies for
one fact. observe never appears here: it takes no lease.
started_atWhen kernel acquired the lease. Not an estimate of when it will finish -- nothing here knows how long an operation of this kind usually takes -- but enough for a consumer to render an elapsed timer ("deploying, 40s") instead of a bare "deploying".
InstallManagedPostgresExtensionRequest
nameWhen an extension change that restarts the database runs.
InvoiceCardCheckoutResponse
checkout_urlThe provider-hosted page the customer completes the payment on. Open it in the browser; the invoice is paid when the provider settles, not when this URL is issued.
InvoiceKindResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
InvoiceLineKindResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
InvoiceLineResponse
descriptionamount_centscurrencyidMirrors InvoiceLineItemKind 1:1, as its own /v2 response type so the
wire format cannot drift silently if a variant is ever renamed on the
domain enum without a matching, deliberate wire change here (same
convention as kernel_http_v2_catalog::contracts::products::ProductKindResponse).
service_ends_atservice_starts_attax_amount_centsproject_idThe project this line was billed for, resolved server-side through
the line's subscription (subscriptions.project_id is NOT NULL).
Joined once for the whole invoice rather than left to the client:
a client holding only subscription_id would need a call per line to
recover it, turning one invoice read into N.
null -- together with project_name -- for a line with no
subscription_id, and for the (schema-permitted, expected-impossible)
case of a line whose subscription belongs to another organization,
which the join refuses to resolve rather than naming a project the
caller may not see. Both are absences, not errors: the line still
carries its description, amount, tax and service period.
project_nameThe project's current name, read live at response time rather than
snapshotted onto the line. Renaming a project moves every one of its
invoice lines with it -- this is navigation, not the frozen invoice
content bill_to_* is (Program G §2.2).
Always null exactly when project_id is.
resource_idsubscription_idInvoiceOnPageCheckoutResponse
client_secretLets its holder complete this one payment. For the customer's browser only.
payment_intent_idpublishable_keyInitializes the payment form. Not a secret.
return_urlThe invoice page a redirect-based method brings the customer back to. Pass it as the form's return URL.
InvoicePaymentResponse
entry_idnull when the invoice asked for no money (a zero total): it was
settled without a wallet entry (V-1048).
InvoicePurposeResponse
charge_line_countHow many lines charge something. A discount line is not counted.
service_ends_atThe latest end of the charge lines' service periods.
service_starts_atThe earliest start of the charge lines' service periods.
subscription_countHow many distinct subscriptions those lines bill.
What that subscription sells. null whenever subscription_id is,
and when the subscription did not resolve.
subscription_idThe one subscription every charge line bills. null when the lines
bill several, or when a charge line bills none.
InvoiceResponse
amount_centsawaiting_holdThe invoice is paid but its service has not started because the wallet does not cover
the hold (or could not be read). It starts by itself, within about a minute, once the
wallet covers the hold. Always false when hold is null.
created_atcurrencyidis_syntheticpay_now_centsWhat one card or PayPal payment collects for this invoice, in cents: the invoice total
plus the hold's shortfall (hold.shortfall_cents) when the payment is started with
include_hold. The shortfall is credited to the wallet and stays the customer's. Zero
for an invoice that is not pending.
statusAn invoice's status on the /v2 wire.
Deserialize as well as Serialize, because this is also the closed
vocabulary of listOrganizationInvoices's status filter. Deliberately
one type rather than a separate *Filter enum: the filter's accepted
values and the values a row can come back carrying must be the same set,
and a second enum is a second place for them to disagree. A generated
client sees one schema for both.
tax_amount_centstotal_amount_centsbill_to_addressbill_to_countrybill_to_namebill_to_tax_iddue_atWhen an unpaid invoice must be paid by. Identical in meaning and
derivation to InvoiceSummaryResponse::due_at -- see that field,
including its postpaid settlement exception.
failed_atThe pay-as-you-go hold behind a usage-billed purchase's first invoice (decision-0407):
money that stays the customer's, kept available in the wallet while the service runs,
with how much is missing. null for every other invoice, for a prepaid product and for
an organization backed by a credit limit.
invoice_numberpaid_atpayment_method_typeHow the customer paid when they paid on our own page, as reported at settlement: card,
google_pay, apple_pay, sepa_debit. For a frontend to say "Card" or "Google Pay".
null for an invoice paid any other way.
refunded_attax_labeltax_rateThe tax rate applied at issue, e.g. 0.21 for 21%. None when no
tax rate was resolved for this invoice. Exactly the stored rate
(numeric(6,4)), never a blurred one: a rate the JSON number cannot
carry exactly fails the response instead (V-0699).
InvoiceSeriesResponse
Program G §1: the two invoice series, SIMP (simplified, structurally
carries no personal data) and FULL (identity-bearing). See
InvoiceResponse::bill_to_name and friends for the snapshot this series
gates.
InvoiceStatusResponse
An invoice's status on the /v2 wire.
Deserialize as well as Serialize, because this is also the closed
vocabulary of listOrganizationInvoices's status filter. Deliberately
one type rather than a separate *Filter enum: the filter's accepted
values and the values a row can come back carrying must be the same set,
and a second enum is a second place for them to disagree. A generated
client sees one schema for both.
InvoiceSubjectResponse
plan_nameThe Price the subscription is pinned to: the plan a customer chose.
product_nameThe product's canonical (English) name.
The product's name per IETF locale tag, when translated. Read it the
way ProductResponse::name_i18n is read.
service_nameThe service's own name. null until the service exists, which for an
unpaid first purchase is never.
InvoiceSummaryResponse
amount_centsMoney is integer cents on every /v2 DTO, never a float or a
formatted string -- /v1's InvoiceView renders format!("{:.2}", amount) decimal strings instead, which this deliberately does not
carry forward (see this crate's report).
created_atcurrencyidis_syntheticorganization_idThe organization this invoice belongs to.
Carried even when the caller filtered to a single organization, because
a row that cannot say who it belongs to forces the client to infer it
from the request it happened to send. A client rendering an unfiltered
listing has no other way to group or label rows at all, which is the
gap that made /{org}/billing/invoices show every organization's
invoices under one organization's heading.
statusAn invoice's status on the /v2 wire.
Deserialize as well as Serialize, because this is also the closed
vocabulary of listOrganizationInvoices's status filter. Deliberately
one type rather than a separate *Filter enum: the filter's accepted
values and the values a row can come back carrying must be the same set,
and a second enum is a second place for them to disagree. A generated
client sees one schema for both.
tax_amount_centstotal_amount_centsdue_atWhen an unpaid invoice must be paid by.
Derived, not stored: the invoice's created_at plus the grace period
of the subscription it bills (subscriptions.grace_period_hours).
That is the same deadline the invoice_due email quotes as its
suspension date and the same one the billing task suspends on, so it
is not a new promise -- it is the existing one, said on the wire.
null when the invoice bills no subscription at all (an admin or
synthetic invoice), because nothing about such an invoice says when it
is due and a default would be an invention. An invoice billing several
subscriptions takes the earliest of their deadlines.
A postpaid settlement invoice (kind == "postpaid_settlement") is
the exception: its due_at is the payment-terms date fixed when it was
issued (issued + postpaid_payment_terms_days, V-0484), stored and never
re-derived, so a later change of the terms does not move it. It is also
the instant the debt ladder starts counting the invoice from.
With this present, status == "pending" and due_at in the past
is readable as overdue. status == "pending" alone still is not.
failed_atinvoice_numberProgram G §1: the display-ready number (e.g. FULL-2026-000001).
None for every invoice issued before that programme -- never
backfilled, see Invoice::invoice_number's own doc comment.
paid_atWhat this invoice is for: its charge lines, the one subscription they bill when there is exactly one, and what that subscription sells.
Resolved for the whole page in one query, so a list row can say
"Renewal · my-server" or "3 items" without a detail read per row. It
carries names and counts, not a sentence: read it with kind and word
it in the viewer's language.
null for an invoice with no charge line, and on a page whose lines
could not be read -- it is a caption, and a listing never fails for
one.
refunded_attax_labelThe tax's name as printed on the invoice (e.g. VAT); None when none was resolved.
tax_rateThe tax rate applied at issue, e.g. 0.21 for 21%; None when none was resolved.
Same meaning and exactness as InvoiceResponse::tax_rate (V-0699).
IssueSshSessionRequest
columnscorrelation_idrowsIssuedBucketKeyResponse
secret_access_keyShown once. The staff and support-grant doors never reach this response: they are refused before the key is created.
IssuedRegistryCredentialResponse
secretThe password to log in with. Shown once. The staff door never reaches this response: it is refused before the credential is created.
JavaRuntimeDto
use_optimization_flagsnull means "derive it from the Minecraft version" -- see
[kernel_core::domain::setup_steps::StepAnswersDocument::template_answers].
jvm_optionsjvm_xx_optionsJavaVersionDto
[JavaMajor], spelled the way minecraft.rs's java_major_export writes
it ("8"|"11"|"16"|"17"|"21"|"25") -- the template-export vocabulary, not
JavaMajor's own undecorated Serialize output ("J21").
LadderStopReasonResponse
own_debt: the service's own organization has an unpaid balance.
restricted: the service is frozen because of a debt elsewhere; the
reader should contact the organization's owner.
LadderStopResponse
reasonown_debt: the service's own organization has an unpaid balance.
restricted: the service is frozen because of a debt elsewhere; the
reader should contact the organization's owner.
sinceWhen the ladder stopped it.
Language
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
LifecycleVerb
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
LimitLevel
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
LimitUsageResponse
currentWhat the organization uses now.
ok, near (80 percent of the limit or more) or at_limit (growth is refused).
limitWhat staff allow it.
LinkEnvironmentRequest
source_idThe service the values come from (a managed PostgreSQL today).
applyQueue the apply at once (the app restarts once with the new variables). Without it the links are staged like any other edit.
prefixLinkEnvironmentResponse
linkedThe linked names, in the order they were added.
operation_idThe apply that was queued, when the request asked for one.
LinkEnvironmentVariableRequest
exportSee [EnvironmentLinkResponse::export].
nameLinkGitRepositoryRequest
remoteA remote on the connection's host, on a generic connection.
repository_idA repository of the listing, on a token or OAuth connection.
ListAssistantConversationsResponse
The member's own conversations in this organization, newest first.
next_cursorPass as cursor to get the next page. null on the last page.
ListAuditResponse
Pagination metadata included in paginated responses
ListCredentialsResponse
ListDeploymentsResponse
Newest first.
Pagination metadata included in paginated responses
The instance's workloads and their current state. Empty for a service that has never been provisioned, which is an ordinary state for one that has been paid for and not yet deployed.
active_deployment_idThe deployment happening right now, or null when nothing is.
Kernel's verdict, not a scan of data (R2,
13-deployments.md §6). It is read from the leases live on the
instance rather than from the page above, so it is the same answer on
page one and on page nine; a client that recomputed it by looking for
a running row would report "nothing deploying" for any customer who
paged back through their history.
It may name a deployment that is not in data at all, and that is
correct rather than a gap: the running one is always the newest, so it
is on page one, and a client on a later page should still show the
banner.
ListEndpointsResponse
domain_countCustomer domains attached now.
domain_limitThe most customer domains one service may hold, across all its https endpoints
(domain_limit when exceeded).
https_countHttps endpoints open now (pending purchase requests are not counted).
https_limitThe most https endpoints one service may hold open. An add button disables itself when
https_count reaches it; the add is refused with https_limit past it.
https_host_suffixWhat follows the label in a free host, zone.<zone>.zaroz.cloud: preview the address as
<label>. plus this. Present exactly when https_zone is. Before an endpoint exists the
label is optional and the endpoint's id names the host.
https_zoneThe zone the free address of a new https endpoint lands in, e.g. hel1. Absent when the
service has no placement to read yet.
ListGrantableOrganizationApiTokenCapabilitiesResponse
max_lifetime_daysLongest lifetime kernel accepts for an organization token, in days
(365). Every token expires: expires_at is required.
ListGrantableServicesResponse
ListInvoicesResponse
Pagination metadata included in paginated responses
ListMyApiTokenCapabilitiesResponse
ListMyApiTokensResponse
ListMyApplicationDelegationsResponse
ListMyNotificationsResponse
Pagination metadata included in paginated responses
unread_countThe caller's TOTAL unread count, across every page -- not merely how
many of the notifications in data are unread. The bell icon's badge
needs the whole number regardless of which page happens to be open.
ListMyReferralLinksResponse
ListMyServiceInstancesResponse
Pagination metadata included in paginated responses
ListMySessionsResponse
ListMyTicketsResponse
Pagination metadata included in paginated responses
ListOrganizationApiTokensResponse
ListOrganizationWalletEntriesResponse
Pagination metadata included in paginated responses
ListProductPlansResponse
ListProductsResponse
Pagination metadata included in paginated responses
ListPublicProductPlansResponse
ListPublicProductsResponse
Pagination metadata included in paginated responses
ListRegionsResponse
Where the caller appears to be, so a client can estimate its distance to
each region. City-level precision at best (an offline GeoIP database),
coordinates only. null when the caller's address is missing, private
or unroutable, or unknown to the database; never an error.
ListRunsResponse
Pagination metadata included in paginated responses
ListScalingDecisionsResponse
Pagination metadata included in paginated responses
ListScannerSubscriptionsResponse
Pagination metadata included in paginated responses
ListSchedulesResponse
Pagination metadata included in paginated responses
ListServiceInstanceActivityResponse
Pagination metadata included in paginated responses
ListServiceInstanceResourcesResponse
primary_role_is_inconsistenttrue when two live resources both satisfied the primary rule (a data fault); then no
resource is marked is_declared_primary.
ListServiceSharesResponse
limitHow many live shares one service may carry.
ListSharedServiceInstancesResponse
ListSiteReleasesResponse
has_unpublished_changesThe working files (what the Files tab shows) differ from the live version, so visitors do not see the latest edits yet.
keepHow many versions are kept; publishing another removes the oldest that is not live.
The limits a version must respect, so the browser can warn before uploading.
Newest first.
live_release_idListSubscriptionResourcesResponse
primary_role_is_inconsistenttrue when two live resources both satisfy the primary rule, which
A2-S9b made a hard error because it is never a legitimate state
(design doc §9.1).
When set, every is_declared_primary in data is false -- the
resolver refuses to guess between them -- and a consumer should say so
rather than render "no main resource", which is indistinguishable from
a subscription that legitimately has none.
It is a field rather than an error because this is a read-only
display surface and failing the whole response helps nobody. It is a
field rather than a log line because a silent degrade would make the
screen most likely to reveal the corruption the screen that hides it
(design doc §50).
The running service these resources belong to, carrying the name and slug the customer refers to it by. Included here rather than fetched separately because this read already resolves the instance to find the resources at all.
ListSubscriptionsResponse
Pagination metadata included in paginated responses
ListUnitEventsResponse
Oldest first; newest first for a read with before or newest.
has_earlierBackwards reads only: whether events matching the filters exist before
this page. Always false for a forward read.
next_afterPass this as after next: the last returned seq, or the one you sent
when nothing was new. After a backwards read it is the highest seq
returned, so the view follows live from the page it opened on.
oldest_retained_seqThe oldest seq still kept (events are kept 30 days).
next_beforeBackwards reads only: pass this as before to load earlier events (the
lowest seq returned); null for a forward read or an empty page.
ListUnitPodsResponse
next_cursorPass as cursor for the next page; absent on the last.
ListUnitTerminationsResponse
next_cursorPass as cursor for the next page; absent on the last.
ListUnitWebhookDeliveriesResponse
ListUnitWebhooksResponse
ListUnitsResponse
desired_stateWhat the service as a whole is meant to be doing: stopped when it has live units and
none is meant to run, else running.
included_unitsHow many units the plan's price covers; units above it are billed as extras.
max_plan_unitsThe most units of this service's plan size it may run: max_units, or fewer when the
organization's vCPU and memory limits hold fewer of that size. It bounds a fixed or
autoscaled policy; a code policy, whose units may be smaller, is bound by max_units.
max_unitsThe most units this service may run: one when the product does not scale, its
organization's unit count when it has one, otherwise the default for a service.
max_units_source says which. Growth is also checked against the organization's other
limits (organization_limits).
Who set max_units: product (it does not scale), organization or service_default.
multi_unit_in_useThe service runs more than one unit now, or its policy is autoscaled.
restarts_24hContainer terminations across every unit of the service in the last 24 hours, gone units included. Computed by the kernel; clients do not sum the units.
runs_as_unitsThe service's workload is one that runs as units, whether or not any is live now. With
an empty data it tells "no unit is running" from a service that never has units.
scalableThe product allows more than one unit.
volume_lockedA shared volume holds the service to exactly one unit, whatever the product allows.
The organization's units' vCPU and memory and its pod starts against its limits, which the console's near-limit notice reads. Absent for a service that does not run as units.
ListVpsOperatingSystemsResponse
LogCoverageNoteResponse
codetextLogDirectionParam
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
LogLineResponse
atWhen the container emitted the line, as Kubernetes recorded it.
idStable across overlapping reads of the same output: the line's instant plus its position within the run of lines sharing that instant. A client resuming from a cursor can dedupe on this without comparing text.
messageLogMarkerKindResponse
LogStreamTicketResponse
containerThe container the ticket is minted for. The gateway refuses any other, so a client switching containers mints a new ticket.
expires_atWhen the ticket stops being accepted. A client re-mints on expiry; the short life is what makes a leaked URL harmless.
urlThe gateway URL to open a WebSocket against. Carries the signed ticket in its query string and is single-purpose: it grants a read of exactly one container's output and nothing else.
LogicalColumnTypeRequest
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, size | |
| type = object · requires: kind, precision, scale | |
| type = object · requires: kind | |
| type = object · requires: kind | |
| type = object · requires: kind | |
| type = object · requires: kind | |
| type = object · requires: kind | |
| type = object · requires: kind | |
| type = object · requires: kind | |
| type = object · requires: kind | |
| type = object · requires: kind |
kindsizeunsignedLogicalDefaultValueRequest
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind | |
| type = object · requires: kind, value | |
| type = object · requires: kind | |
| type = object · requires: kind | |
| type = object · requires: kind |
kindLoginResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: status, challenge_id | |
| type = object · requires: user, token, refresh_token +2 more |
challenge_idstatusManagedDatabaseAvailabilityResponse
ManagedDatabaseBackupOrigin
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
ManagedDatabaseBackupResponse
idWhat a restore names it by.
scheduled, manual or pre_restore.
statein_progress, completed or failed.
finished_atsize_bytesThe size, when the engine reports one; null otherwise.
started_atManagedDatabaseBackupsResponse
Newest first.
retention_daysarchiving_failing_sinceArchiving has been failing since this instant: the restorable span is not growing.
restorable_fromThe span a point-in-time restore can target. Absent until the first backup completes.
restorable_toundo_untilThe last restore can be undone until this instant.
ManagedDatabaseConnectionResponse
ca_fileThe file name the snippets expect the downloaded CA bundle to have.
databasedefault_userselected_endpointselected_scopeWhether the address is the one for apps in the same project or the one through Warden.
selected_userThe snippets for the selection.
tls_requiredAlways true: plaintext connections are refused, internally and externally.
The bare URI of every endpoint, user and scope that has an address, so a screen fills
every tab from this one answer. An external scope appears only while the endpoint has
a public address.
usersThe default user first, then every active user.
Whether the public address answers yet (decision-0414). Null while public access is off.
A client shows it beside the public address, which is not usable until active.
ManagedDatabaseConnectionUriResponse
endpointscopeWhether the address is the one for apps in the same project or the one through Warden.
uri_templateReplace the literal <password> with the revealed password.
userManagedDatabaseCopiesChangeResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, invoice | |
| type = object · requires: kind, operation |
The invoice a change of copies waits on.
kindManagedDatabaseCopiesDirection
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
ManagedDatabaseCopiesInvoiceResponse
amount_centscurrencyidstatusManagedDatabaseCopiesPreviewResponse
billed_storage_from_gbWhat storage bills now.
billed_storage_to_gbWhat storage bills after the change.
billingWhen the bill moves, in a sentence.
Which way a change of copies moves them.
fromThe copies the database runs now.
impactWhat the change does to the database, in a sentence. Never downtime: copies are added or dropped beside the running one.
payment_requiredAdding copies that the subscription does not cover yet. PUT then answers 202 with
the invoice for them, and the change is queued once that invoice is paid.
storage_gbThe volume of one copy, in GB.
toThe copies it would run.
amount_due_now_centsWhat is due now, with tax, in cents: the added copies for the rest of the period that was paid. Null when nothing is due now (removing copies, or copies already paid for).
applies_atWhen the change runs: null as soon as it is asked for, otherwise the end of the period that was paid for (removing copies never refunds them).
currencyThe currency of the two amounts above. Null when both are.
multiplier_line20 GB x 3 copies, present when the database has more than one copy after the change.
new_recurring_centsWhat one billing period costs after the change, before tax, in cents. Null when the change lowers the bill (removed copies stop being billed when the paid period ends).
ManagedDatabaseCredentialsResponse
passworduserManagedDatabaseEndpointResponse
internal_hostinternal_portkindexternal_hostPresent while public access is on, for the endpoints that have a public address.
external_portManagedDatabaseEngineAvailabilityResponse
availableengineregionsRegion ids staff enabled and the probe found usable.
unavailableWhy the engine is not offered: not_configured, no_region or no_image. Empty when
it is offered.
versionsThe versions that can be bought, newest last, in the engine's own spelling.
ManagedDatabaseEventCursorResponse
created_atidManagedDatabaseEventResponse
actor_kindcreated_atdataThe values the summary interpolates. Never a credential.
idkindsummary_keyThe i18n key of the one-line summary, managed_database.event.<kind>.
actor_idoperation_idManagedDatabaseEventsResponse
Newest first.
Pass these as after_created_at and after_id for the next page. Absent on the last
page.
ManagedDatabaseExportLinkResponse
available_untilfile_namesize_bytesurlManagedDatabaseImportUploadResponse
max_bytesThe largest file this database takes.
part_bytesThe size of every part but the last.
part_countupload_idNames the upload when its parts are sent and when the import is started.
expires_atAn upload not started by then is dropped.
ManagedDatabaseLogsResponse
coveragePlain words about gaps in the history.
has_morefollow_cursornext_cursorManagedDatabaseMaintenanceResponse
Work waiting for the window, soonest first. Each can be applied now.
timezoneThe IANA time zone of the region (Europe/Madrid): the window's hour is read in it.
ManagedDatabaseMetricPanelResponse
idtitle_keyunavailableThe store could not be read for this panel; every value is a gap.
unitvaluesOne value per bucket, null where the store had no sample.
thresholdThe alert threshold line, when the panel has one.
ManagedDatabaseMetricsResponse
coveragePlain words about what the numbers cover.
fromrangestep_secondstoManagedDatabaseNetworkResponse
What the rules add up to: closed, any source, or only the listed sources.
allowlist_supportedThe region's firewall can filter sources. When false the allowed-sources editor is absent and only the public-access toggle applies.
max_rulesHow many allowed sources the list holds at most; a longer list is refused.
public_accessversionSend it back with a full replacement of the rules; a stale one is refused.
ManagedDatabaseNetworkRuleResponse
cidrcreated_atidlabelManagedDatabaseOperationResponse
created_atengineidkindbackup_now, restore, major_upgrade and the rest of the shared kinds, or the
engine's own name (extension_apply).
progress0 to 100.
retryableThe same request can be made again: only a failed operation can.
rolled_backThe operation changed nothing in the end: it undid the part it had done, and the database is as it was. Not the same sentence as a plain failure.
service_instance_idstateLifecycle of one operation row.
errorThe reason it failed, in words the customer reads.
finished_atphaseThe step of the kind's phase graph, when it has one.
requested_byscheduled_forNot before this instant: waiting for the maintenance window.
started_atManagedDatabaseOperationsResponse
Newest first.
ManagedDatabaseRefusalResponse
codesentenceManagedDatabaseResponse
billed_storage_gibWhat storage bills: every copy keeps the whole volume, so this is storage_gib times
copies. A quote shows it as the multiplier, never as a surprise on the invoice.
copiesData-bearing copies the database runs: 1 is standalone, 2 or more is high availability. Plans describe one copy; the bill is the plan times this count.
created_atdeletion_protectionengineThe descriptor emitted as Capability::ManagedDatabase { engine, features }.
generationhealthhealth_changed_atpending_restartpublic_accessThe last five events, newest first.
service_instance_idstaff_notifiedTrue while the first start is past its expected time: the database is on the staff attention queue ("Needs you"), so a screen may say the team has been told. False otherwise, including while a first start is still within its expected time.
storage_gibThe storage one copy has, in GiB.
versionThe running version, in the engine's own spelling.
health_reasonWhy the health is what it is: an object with a code and its parameters.
next_actionWhat the hero button offers: an object with an action.
upgrade_availableA newer version the customer can move to, when there is one.
ManagedDatabaseRestoreTarget
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind | |
| type = object · requires: kind, at | |
| type = object · requires: kind, id |
kindManagedDatabaseRotationGrace
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
ManagedDatabaseSnippetResponse
bodydocs_pathgroupidlabellanguagenotesManagedDatabaseUpgradeOptionResponse
Empty when the upgrade can start now; otherwise every reason it cannot.
versionManagedDatabaseUserCredentialsResponse
passwordA user of the database. Never carries a password.
ManagedDatabaseUserResponse
created_atidis_defaultnamepassword_changed_atpresetWhere a preset applies. Which fields an engine uses is engine-declared: databases for the SQL engines, key prefixes and DB numbers for Valkey.
ManagedDatabaseUsersResponse
max_userspresetsManagedDatabaseVersionResponse
Only versions newer than the running one, which are the only ones that can be chosen.
runningManagedDatabaseWindowOccurrenceResponse
ends_atstarts_atManagedDatabaseWindowResponse
day_of_week0 is Sunday.
hourManagedMariadbDatabaseCreatedResponse
One database of the Databases section.
One operation of the queue: a backup, a restore, an upgrade, an import.
ManagedMariadbDatabaseResponse
character_setcollationdroppingA drop is in progress.
is_defaultThe database the purchase made: the default user and the connection details name it, so it cannot be dropped.
nameManagedMariadbDatabasesResponse
ManagedMariadbParameterApply
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
ManagedMariadbParameterRule
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, choices | |
| type = object · requires: kind | |
| type = object · requires: kind, min, max | |
| type = object · requires: kind, min, max | |
| type = object · requires: kind, choices | |
| type = object · requires: kind, choices | |
| type = object · requires: kind |
choiceskindManagedMariadbParametersAppliedResponse
One operation of the queue: a backup, a restore, an upgrade, an import.
ManagedMariadbParametersResponse
The values the customer set; a parameter left out follows the plan's profile.
The whitelist, in the tab's order.
ManagedMariadbSettableParameterResponse
dynamic: applied live with SET GLOBAL. restart: waits for a restart.
nameWhat a parameter accepts.
ManagedPostgresExtensionResponse
min_majorThe oldest PostgreSQL major that can use it.
namerestarts_databaseInstalling it restarts the database (it needs a preloaded library or an image volume).
sourcecontrib, standard_image or image_volume.
statenot_installed, installing, installed, failed or removing.
statusavailable, or hidden for one staff withdrew while this database still has it.
trustedapplied_atlast_errorPostgreSQL's own message when the last attempt failed, verbatim.
requested_atversionManagedPostgresExtensionTiming
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
ManagedPostgresExtensionsResponse
ManagedPostgresParameterLimitsResponse
log_min_duration_ms_maxlog_min_duration_ms_mintext_search_configstimeout_ms_maxtimeout_ms_mintimezone_max_charsManagedPostgresParameters
default_text_search_configidle_in_transaction_session_timeout_mslog_min_duration_statement_msLog statements slower than this many milliseconds.
statement_timeout_msAbort statements longer than this many milliseconds; 0 disables.
timezoneManagedPostgresParametersAppliedResponse
The bounds a form validates against.
One operation of the queue: a backup, a restore, an upgrade, an import.
The customer-settable parameters. Absent means the plan's default.
ManagedPostgresParametersResponse
The bounds a form validates against.
The customer-settable parameters. Absent means the plan's default.
ManagedPostgresPoolerAppliedResponse
offeredOne operation of the queue: a backup, a restore, an upgrade, an import.
The per-instance pooler choice (managed_postgres_settings).
ManagedPostgresPoolerResponse
offeredThe product offers a pooler at all.
The per-instance pooler choice (managed_postgres_settings).
MapSettingDto
defaultlabelMirrors [MapLabel] by hand.
MarkDiscoverySeenRequest
keysMaskedInvitationEmailResponse
emailAlready masked by the caller (e.g. j***@example.com) before this type is built; masking is not this DTO's job. This is deliberately the only field on this response.
MeResponse
created_atdiscord_notifications_enabledWhether kernel-generated notifications are relayed to this user as
Discord DMs, on top of the in-app center they always get. Read back
so the toggle PATCH /me writes has somewhere to read its own
current state from.
idis_onboardedlanguageThe caller's own display language, as an unvalidated BCP-47-ish tag
(LanguageCode is a newtype over String and validates nothing).
Published because the onboarding screen and the account page both
need to render the value the account already holds as their default.
console/app/onboarding/page.tsx records the gap this closes: it had
to start the language and billing-country selects empty because
nothing on /v2 reported either field, which meant re-answering
onboarding silently guessed instead of showing what was already
stored.
namesystem_permissionsThe caller's own platform permissions, as
[kernel_core::domain::permissions::SystemPermission]'s wire strings
(view_services, manage_users, ...). Empty for an ordinary
customer, which is nearly every caller.
Holding one of these IS being staff. The kernel has no separate staff flag, so a non-empty list is the whole of "this caller may open the admin app", and each value decides one gated section inside it.
Field-for-field the same answer /v1's
CurrentUserView::system_permissions gave (deleted with /v1 in
88cb24c1; it rendered User::permissions through the same Display).
Nothing on /v2 published it, so admin recovered it by intersecting
GET /api/v2/admin/users/{id}'s roles with GET /api/v2/admin/ permissions' granted_by_roles: two extra round trips per render,
growing with the role count, and both of those routes sit under
/admin/ and so behind require_elevated_session -- meaning an
un-elevated staff session could not learn what it held at all
(ZC-0410, and ZC-0411 which this closes with it). /api/v2/me has no
admin path segment, so it is not elevation-gated and does not
reintroduce that trap.
Empty for a restricted API token, never the owning user's list.
A restricted token's authority is its grants, which
domain::policies::api_token_intersect intersects with these
permissions once per operation; there is no mapping from a
SystemPermission back to the ApiTokenCapability a token would also
have to carry, so the owner's list is not an answer to "what may this
token do", and publishing it would tell a leaked token only that its
owner is staff. /v1 never had to decide this: its current-user
route refused a token caller outright.
avatar_asset_idThe caller's own avatar (ZC-1306), addressed through
/api/v2/assets/{id}. None when the account has never set one
(no OAuth provider avatar and nothing uploaded). An asset id, not a
URL -- see OrganizationResponse::icon_asset_id's own doc comment
for the /v2 convention this follows: the id itself changes on
every replace, uploaded or provider-synced alike, so a consumer
never has to append a cache-busting query parameter.
billing_country_codeThe ISO 3166-1 alpha-2 country the account is billed from, None
until onboarding answers it.
Write-once in practice: UserManagementService::update_user_profile
refuses to change it once is_onboarded is true and a value is
already set, so a client rendering an edit control for it after
onboarding is rendering a control that cannot succeed.
emailResolved through UserEmailService (checks oauth_accounts first,
then password_credentials). None when neither source has an
address for this user -- User itself carries no email field, so
this cannot be filled in by a pure User conversion; see
get_me_handler.
MemoryPressureResponse
last_high_atlevelhigh while pressure is sustained right now, recent for an episode
that has passed but is still inside the retention window.
peak_psi_some_avg60Worst percentage of wall time spent stalled on memory reclaim.
peak_working_set_ratioWorst working set during the episode, as a fraction (0-1) of the limit.
MeteredEstimateResponse
basisHow this is billed, in kernel's words.
included_portsPorts the plan includes at no charge.
monthly_centsEvery priced port held for a whole month. Zero when the plan includes them all.
per_port_monthly_centsWhat one priced port costs held a whole month, in cents. monthly_cents is this
times priced_ports; a client shows it rather than dividing.
priced_portsPorts billed per month held.
MeteredUsagePriceLineView
dimensionWhat the line measures, derived from dimension: switch on this, not on unit.
unitgib_month for storage, gib for egress.
MeteredUsagePriceTierView
flatCharged once when usage reaches into the tier.
per_unitCharged per unit that falls inside the tier.
up_toThe tier's upper bound in unit, or null for the last tier.
MeteredUsageResponse
A usage-billed service's calendar month so far. Quantities are exact decimal strings; money is whole cents.
MeteredUsageView
above_minimum_centsWhat the month would settle above the minimum already charged.
as_ofWhen the figures were read.
currencyThe currency of every *_cents figure: the subscription's pinned Price's.
due_at_period_end_centsWhat the month settles at if nothing more is stored or sent: the larger of the minimum
and used_so_far_cents.
egress_centsegress_gibGiB sent out so far.
minimum_centsThe monthly minimum, the floor.
period_endperiod_startprojected_centsWhat the month settles at if the rest of it looks like the part already gone (V-1075):
the larger of the minimum and the projected usage. What is stored now stays stored for
the rest of the month (storage is a gauge); what was sent so far continues at the same
pace (egress is a counter), the first hour counting as at least an hour. Equal to
due_at_period_end_cents once the month is over.
projected_egress_centsThe egress share of projected_cents, before the minimum.
projected_storage_centsThe storage share of projected_cents, before the minimum.
serviceobject_storage or container_registry.
storage_centsstored_gib_monthsGiB-months stored so far.
subscription_idusage_cap_reachedThe month's bill has reached usage_cap_cents: the bucket is read only (uploads are
refused) until the cap is raised or cleared or the month ends. Judged by kernel every
ten minutes and at once when the cap changes, at the Price's own rates.
usage_cap_supportedWhether the customer can cap this service's monthly spend (a bucket can, a registry
cannot). When false the other usage_cap_* fields are null/false.
The rates behind the figures, with the caller's storefront markup applied: one line for
storage (stored, per GiB-month) and one for egress (egress, per GiB). Prices are
exact decimals in major currency units per unit.
used_so_far_centsWhat storage and egress cost so far, before the floor.
default_usage_cap_centsWhat a cap would be had the customer asked for the usual one (four times the minimum): the value for a form to offer. It is NOT in force until set.
usage_cap_centsThe most the month may cost, in cents, minimum included, as the customer set it
(PUT /subscriptions/{id}/metered-usage-cap); null when none is set.
usage_cap_max_centsThe largest cap that can be set.
usage_cap_min_centsThe smallest cap that can be set: the plan's monthly minimum, at the Price's own rate.
MetricLineResponse
[bucket start in epoch milliseconds, value], 120 of them.
limitThe ceiling this line is measured against, or null when it is unmetered or the unit
has no limit set.
Latest, mean and max of the buckets with a value; absent when there is none.
MetricSeriesResponse
idStable identifier: cpu, memory, net_in, net_out. A consumer
keys its unit formatter off this, never off label.
labelRendered as written. Naming a series is kernel's job; converting its
unit for display (bytes to MiB) is the client's, which is the same line
R2 already draws for prices.
unitThe unit points, limit and summary are all expressed in: cores,
bytes, or bytes_per_second. Every number on this series shares it,
so a client never has to know which field carries which scale.
limitThe ceiling this series is measured against, or null when the series
is unmetered and a line would invent a bound that does not exist
(15-metrics.md §4).
Attached to the series rather than to the instance for two reasons: it is per series (network has none), and a ceiling that arrives with the points cannot disagree with them.
Absent when the window holds no samples. The panel then shows no figures rather than inventing them.
MetricSummaryResponse
latestThe newest sample in the window. The whole summary is absent when the window holds no samples at all, so this is never a stand-in for one.
maxmeanMinecraftGameplayDto
difficultyonline_modeMinecraftInventoryItemResponse
file_nameThe bare file name, split off path so a panel need not parse it.
pathAbsolute within the mount, the same spelling the Files capability uses -- follow it there to open the jar in the file browser.
sizeWhat kernel currently knows about one jar's identity.
reasonPresent exactly when state is unresolved.
Present exactly when state is resolved.
MinecraftInventoryKindResponse
Which inventory this is. Mirrors [InventoryKind]'s own two values; a
third, "none", never reaches the wire because the route answers 404
instead (see the controller).
MinecraftInventoryResponse
Unordered, matching DirectoryListingResponse::entries's own
contract: sorting is the panel's.
kindWhich inventory this is. Mirrors [InventoryKind]'s own two values; a
third, "none", never reaches the wire because the route answers 404
instead (see the controller).
MinecraftJarStateResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
MinecraftLoaderDto
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: type, version | |
| type = object · requires: type, version | |
| type = object · requires: type, version, loader_version | |
| type = object · requires: type, version, loader_version | |
| type = object · requires: type, version | |
| type = object · requires: type, version | |
| type = object · requires: type, project_id | |
| type = object · requires: type, pack_id | |
| type = object · requires: type, path | |
| type = object · requires: type, url |
typeversionMinecraftPlayersResponse
Empty unless status is ok.
banned_unavailableSame meaning as ops_unavailable, for banned-players.json.
Empty unless status is ok.
Empty unless status is ok.
ops_unavailableTrue when ops.json could not be read or parsed. ops is then
empty, but that does not mean nobody is an operator -- it means this
answer cannot say.
partial_list_formatTrue when /list's reply did not match the vanilla format and had to
be parsed permissively (parser::parse_list's tier 2). The roster is
still usable; this is a hint that the counts may be approximate on a
heavily modded server.
Every outcome a read or a write can answer with, folded into one status
so a client renders a match rather than branching on HTTP status codes
that are all 200. Ok is the only variant the roster fields or the
action actually succeeding are meaningful under.
max_playersMinecraftPlayersStatus
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
MinecraftSoftwareDto
Which Minecraft server software runs, and where it comes from. The ten
spellings below are exactly minecraft.rs's own
minecraft_software.loader export vocabulary
(vanilla|paper|forge|neoforge|fabric|quilt|modrinth|feed_the_beast| custom_file|custom_url), not [MinecraftLoader]'s own serde tag.
ModeLabelDto
Mirrors [ModeLabel] by hand.
ModeSettingDto
defaultlabelMirrors [ModeLabel] by hand.
MonorepoCandidate
dockerfilerootMountPathSource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
MountSuggestionResponse
alternativesThe other volumes the image declares, after the first. Empty for a default.
The same read of the image, for the port the web server listens on (V-0950). One question, one registry call, two answers.
pathThe suggested directory.
sentenceKernel's sentence for the field's hint, in English.
image when the image declares a volume, default when it does not or
when the registry could not be asked. Never customer.
MyApiTokenCapabilityResponse
admin_onlyMinting it needs admin_authorized and an elevated session.
Closed, policy-owned action catalog. Capabilities are exact: there is
deliberately no prefix or glob matching, and unknown wire values are
rejected during deserialization.
PartialOrd/Ord exist so a capability set can be a BTreeSet, which is
what [crate::domain::auth::application_token::ApplicationToken] stores.
The ordering is the declaration order and is not a wire contract: nothing
serializes it, and as_str remains the only stable representation.
MyApiTokenResponse
created_atidnameexpires_atlast_used_atMyApplicationDelegationResponse
application_idapplication_namePresentable name, resolved by the kernel so this reads "the Discord
bot" rather than a bare id -- the same reason the consent page and the
management page must read from one source (grants spec §3.1/§4.1).
What the caller approved this application to do.
created_atidoriginsession_delegation or explicit_consent.
last_used_atrevoked_atMyDiscoveryResponse
MyInvitationStatusFilter
Only pending and declined are listable this way, matching the design's route table:
accepted, revoked and expired invitations do not belong in a recipient's actionable inbox.
MyReferralLinkResponse
conversion_countcreated_atidslugupdated_atuse_countMyServiceInstanceResourcesResponse
cpumemory_gbMemory in GiB, fractional (0.5 = 512 MiB)
storage_gbStorage in GiB.
MyServiceInstanceSummaryResponse
availabilitycluster_unavailable means the platform cannot currently resolve a cluster for this service's hardware profile -- the same profile-to-cluster resolution the status service itself uses to decide whether to attempt a live read. It does NOT mean a live reachability probe against the cluster failed; no such probe is made for a list of many rows. A row never fails the whole list: an unresolvable cluster for one row answers cluster_unavailable on that row alone.
created_athas_pending_invoiceWhether the owning subscription has at least one unpaid, pending invoice right now.
idnameproduct_idproject_idThe purchased sizing, in the same units ResizeResourcesRequest uses --
see that type's own doc comment. memory_gb is fractional (sub-GiB
workloads are real since the 2026-09-04 migration --
kernel_http_foundation::contracts::memory_units's own doc comment);
storage_gb is whole GiB, because storage never went sub-GiB.
slugsubscription_idsubscription_statuscancels_atThe owning subscription's scheduled end, or null if none is
scheduled. Mirrors SubscriptionResponse::cancels_at.
Set only while the debt ladder holds this service stopped (V-0482): own_debt when its organization has an unpaid balance, restricted when it is frozen because of a debt elsewhere (contact the organization's owner). null otherwise, and always null on routes other than GET ./service-instances and GET ./service-instances/{id}. Never identifies the debtor.
parent_subscription_idZC-0984: the bundle this instance's subscription is a member of, or
null for an ordinary, standalone subscription.
The service's aggregate run state, folded from its own resources' recorded statuses -- the same fold the live status route (GET .../service-instances/{id}/status/stream) uses, read here from the database rather than a live cluster call so listing many services costs one query, not one Kubernetes call per row. null only if the instance's resources could not be read at all; in practice every row answers not_provisioned at worst, never null.
The authored storefront shelf of this row's product, resolved through its display profile -- the same value ProductResponse.storefront_category publishes, repeated here so a client listing many services does not have to read a product per row to learn what kind of thing each one is (ZC-1270). null when nobody has categorised the display profile yet, which is a real state and not an error. This exists because the route returns EVERYTHING the caller owns, and a frontend that sells only part of the catalogue had no authored fact to filter on -- the gaming app was listing the business app's products. It is deliberately the authored shelf rather than a derived category: ProductResponse.category's own documentation warns that its fallthrough files databases, object storage and static sites all as game servers.
MySessionResponse
created_atWhen this session's current credential was issued -- the most recent rotation, not necessarily the original sign-in. See the type's own doc comment.
expires_atidlast_used_atSame caveat as created_at: refreshed on rotation, so it tracks "last
time this session's access token was renewed" rather than every
individual API call.
ip_addressCaptured from the request that most recently refreshed this session.
None when no client address was resolved.
user_agentCaptured from the request that most recently refreshed this session.
None when the client sent no User-Agent header.
MyWalletOnPageTopUpResponse
client_secretLets its holder complete this one payment. For the customer's browser only.
expires_atAfter this the payment is cancelled and the top-up becomes expired.
payment_intent_idpublishable_keyInitializes the payment form. Not a secret.
return_urlWhere a redirect-based method brings the customer back. Pass it as the form's return URL.
top_up_idMyWalletPreferencesResponse
autopay_enabledWhether a renewal tries this wallet first. Off skips the wallet step only: the renewal is still charged to the saved payment method, because renewal is always on.
preferred_currencyISO 4217. Read-only: wallets are EUR-only, so there is nothing to choose.
MyWalletTopUpResponse
amount_centsInteger cents of currency.
created_atcurrencyISO 4217. Always EUR today.
expires_atAfter this the checkout lapses and the top-up becomes expired.
idproviderpaypal, nowpayments or card. Older rows may say mollie.
Where a top-up is. Only credited means money reached the wallet.
checkout_urlThe provider's hosted page to send the customer to. Present once the
checkout exists; absent while creating and on a failed start.
NameAvailabilityResponse
availablereasonWhy not: taken (another resource holds it, or held it once: a name
is never reused), reserved, or invalid_too_short, invalid_too_long,
invalid_character, invalid_leading_hyphen, invalid_trailing_hyphen,
invalid_consecutive_hyphens, invalid_reserved_prefix,
invalid_s3_affix. Null when available.
suggestionThe next free name: the default when no name was asked about, the nearest free variant when the asked one is refused. Null when the asked name is available.
NameserverMode
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
NetworkProtectionModesResponse
default_modeThe mode a new allocation starts in.
gameModes accepted for a game port allocation.
vpsModes accepted for a VPS's dedicated IP.
NoBackupReason
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string |
NotificationCreatedEventResponse
titlebodycreated_atThe moment this frame was assembled, not a persisted column -- see this type's own doc comment.
idkindThe wire spelling of NotificationKind, converted explicitly at the
transport boundary rather than deriving JsonSchema on the domain type
directly (domain crates do not take a schemars dependency -- see
crates/http/CLAUDE.md's "Transport boundary").
Subscription stays spelled order on the wire. See
NotificationKind::Subscription's own doc comment: it was renamed from
Order in the domain (ZC-0261 phase 9f), but notifications.kind is a
text column written since /v1 and dashboard's notification feed
(lib/notifications.ts) already reads the literal string "order" --
changing the wire value would be a breaking, silent rename of every
existing row's meaning.
hrefNotificationKindResponse
The wire spelling of NotificationKind, converted explicitly at the
transport boundary rather than deriving JsonSchema on the domain type
directly (domain crates do not take a schemars dependency -- see
crates/http/CLAUDE.md's "Transport boundary").
Subscription stays spelled order on the wire. See
NotificationKind::Subscription's own doc comment: it was renamed from
Order in the domain (ZC-0261 phase 9f), but notifications.kind is a
text column written since /v1 and dashboard's notification feed
(lib/notifications.ts) already reads the literal string "order" --
changing the wire value would be a breaking, silent rename of every
existing row's meaning.
NotificationResponse
titlebodycreated_atidkindThe wire spelling of NotificationKind, converted explicitly at the
transport boundary rather than deriving JsonSchema on the domain type
directly (domain crates do not take a schemars dependency -- see
crates/http/CLAUDE.md's "Transport boundary").
Subscription stays spelled order on the wire. See
NotificationKind::Subscription's own doc comment: it was renamed from
Order in the domain (ZC-0261 phase 9f), but notifications.kind is a
text column written since /v1 and dashboard's notification feed
(lib/notifications.ts) already reads the literal string "order" --
changing the wire value would be a breaking, silent rename of every
existing row's meaning.
readhreforganization_idOAuthAccountResponse
has_avatarWhether this provider has a stored avatar that could be activated.
The URL itself is not published: it is a provider-side resource the
kernel imports through AvatarImportService, not something a client
should be fetching directly.
provider_idemailThe address the provider reports for this account, when it reports one. Only ever the caller's own.
last_used_atOAuthProviderResponse
iddisplay_nameA reseller-chosen label. None means the client should render the
provider's own conventional name from the id.
ObjectListingResponse
ObjectListingView
auto_preview_max_bytesPreviewing a file loads it, and a download is billed egress. Show a preview without asking only for images up to this size.
foldersFull prefixes of the folders directly under it, each ending in /.
max_upload_bytesThe largest object the browser uploads.
prefixThe folder listed, "" for the root.
next_tokenPass as token to get the next page; absent on the last.
ObjectView
keyThe full key.
size_bytesetaglast_modifiedOnExit
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
OnboardingApp
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
OnlinePlayerResponse
is_opnamegamemodesurvival, creative, adventure or spectator. Present only when
include=gamemode was asked for and the server answered for this
player.
Present only when include=position was asked for and the server
answered for this player.
OpenInvoicesSummaryResponse
countInvoices issued and not yet paid, including a postpaid invoice before
its due date. 0 means nothing is owed.
overdue_countHow many of count are past their due_at.
currencyISO 4217 code of total_cents; null exactly when total_cents is.
total_centsSum of the open invoices' tax-inclusive totals, in cents. null when
nothing is open, and also when the open invoices span more than one
currency (an amount that adds two currencies is withheld, not guessed).
OperationState
Lifecycle of one operation row.
OperationStatusResponse
Mirrors kernel_domain::domain::operations::OperationStatus 1:1, kept as
its own /v2 response type for the reason every other mirrored enum in
this file is: a rename on the domain enum must not silently change a wire
value.
OperatorPlayerResponse
levelnameonlineOrganizationApiTokenLifetimeResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
OrganizationApiTokenProjectResponse
idnameEmpty when the project is no longer live. Deleting a project revokes its tokens, so a listing shows this only for a token revoked in the same instant.
slugOrganizationApiTokenResponse
created_atidThe lifetime shape of an organization API token, on the wire.
MembershipTied is the default. A create request that omits
lifetime gets it, and that is the safer of the two: the token dies when
the person who minted it stops being a member. OrganizationOwned is the
one that keeps working afterwards, and asking for it is always explicit.
namecreated_by_user_idThe member who minted this token. Null when that account has since been deleted; an organization-owned token deliberately survives that.
expires_atlast_used_atThe one project this token is confined to, or null for a token of the whole organization. A project token reaches only that project's services and subscriptions, and is refused every organization-level route.
OrganizationAssistantResponse
consent_versionmy_usage_microsstateavailable, needs_opt_in (the member switched AI mode off) or allowance_exhausted.
OrganizationAssistantUsageResponse
callscost_microslast_period_callslast_period_cost_microslimit_microsmembers_allowedperiod_ends_atperiod_startreserved_microsused_microsOrganizationInvitationResponse
created_atemailexpires_atidinvited_by_nameorganization_idorganization_nameDenormalized onto every row (also present, redundantly, on an organization-scoped listing) so GET /me/invitations does not need a second round trip per organization to render a usable list.
rolestatusThe invitation's effective status: a stale pending or declined row past its own expiry reads as expired here even before any sweep has rewritten the stored column. See OrganizationInvitation::effective_status.
invited_by_avatar_asset_idorganization_icon_asset_idresponded_atOrganizationInvitationReviewResponse
created_atexpires_atidinviter_nameorganization_idWhere Accept navigates once it succeeds.
organization_namerolestatusThe invitation's effective status, not necessarily the raw stored column.
inviter_avatar_asset_idorganization_icon_asset_idOrganizationInvitationStatusResponse
Mirrors [OrganizationInvitationStatus] on the wire. A separate type rather than reusing the
domain enum's own Serialize impl, matching every other /v2 status/role pair in this crate
(see OrganizationRoleResponse next to OrganizationRole in contracts::organizations):
the wire representation and the domain representation are allowed to diverge without a
compile error forcing them apart later.
OrganizationLimitsResponse
vCPU of those units in millicores (1000 is one vCPU), each at its own size or its plan's.
live_unitsUnits holding a slot across the organization.
Memory of those units in MiB.
nearingAny figure is near or at its limit: the console shows its notice and points to support.
The month's metered spend against the organization-wide spend cap.
One figure of the organization against its limit.
Those units against the organization's unit count; null when it has none.
OrganizationMemberResponse
created_atnameThe member's display name.
organization_idroleuser_idavatar_asset_idThe member's profile picture, addressed through /api/v2/assets/{id}. None when they never set one.
emailNone when the account has no reachable address.
OrganizationResponse
created_atidnameslugURL-safe identifier, unique platform-wide. Console routes are /{slug}/...
billing_country_codeTwo-letter country the organization is taxed under. Null until set; a purchase in a shared organization needs it (PUT /organizations/{id}/billing-country).
icon_asset_idThe organization's uploaded icon (ZC-1305), addressed through
/api/v2/assets/{id}. None when no icon has been uploaded. An
asset id, not a URL -- the /v2 convention every other asset-backed
field on this surface already follows (see
OrganizationMemberResponse::avatar_asset_id's own doc comment): the
id itself changes on every replace, so a consumer building the URL
from it never has to append a cache-busting query parameter to avoid
serving a stale image.
The caller's role in this organization, when resolved.
OrganizationRoleRequest
Distinct from OrganizationRoleResponse because request and response
enums are separate types on /v2 (design doc §43.4), even where they
currently carry the same variants.
OrganizationStandingResponse
restrictedmessageOrganizationWalletResponse
One row per currency the organization holds, ordered by currency code.
A currency with no money in it has no row. The balance is summed from the ledger and only non-zero sums come back, so an organization that has never been credited answers with an empty list, and so does one whose movements happen to net to exactly zero. Treat a missing currency as zero; do not treat an empty list as "no wallet".
organization_idThe organization whose wallet this is -- echoed back so a client that fans several of these out cannot mis-file an answer.
OverflowRangeResponse
countfromtoOverlapPolicyResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
OwnPasswordResetRequest
originThe app URL the emailed reset link should point back at, e.g.
https://zaroz.cloud/console. Same shape and validation as
[ForgotPasswordRequest::origin]; a disallowed or malformed value is a
real 4xx refusal. Omitted, the link points at the platform dashboard.
PaginationMeta
has_next_pageWhether there is a next page
has_previous_pageWhether there is a previous page
pageCurrent page number (1-indexed)
page_sizeNumber of items per page
total_itemsTotal number of items across all pages
total_pagesTotal number of pages
PartUrlView
numberA URL to call and the headers to send with it (besides Content-Length,
which the browser sets).
PasswordAcceptedResponse
acceptedAlways true. A real typed field rather than an empty body so a
generated client has a success type to name.
PasswordRequestDto
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: generate | |
| type = object · requires: value | |
| type = object · requires: clear |
generatePasswordSignupRequest
emailpasswordoriginThe app base the emailed verification link should point back at
(ZC-1425, V-0664): https plus a host, optionally followed by exactly
one app mount path -- https://zaroz.cloud/gaming,
https://zaroz.cloud/console, https://zaroz.cloud/admin, or a
reseller's https://<host>/gaming. A bare origin keeps working and
links to the host root. No other path, no query, no fragment. The link
is <origin><path>/verify-email?token=.... Checked against
the same allowlist OAuth's own redirect_to uses; a disallowed or
malformed origin refuses the whole request with a 4xx, never a
silent fallback. Omit to keep the default: the dashboard.
referral_codeA referral link's slug, if the visitor arrived through one (ZC-1032,
owner ruling 2026-09-17: attribution happens at signup). Never
validated here and never blocks or slows down signup, nor changes
this route's response, whether the code is real, expired, self-owned,
or absent -- see signup_handler's own doc comment for why.
PasswordSignupResponse
acceptedAlways true. Kept as a real typed field, rather than an empty
Success(()), so a generated client gets an actual success body;
there is nothing more to report here without reopening the oracle
described above.
PasswordSpecDto
envgeneratedidoptionalV-0703. See [PasswordSpec::optional]: the customer may leave this
password unset, or clear it later.
revealableZC-1379 slice S4. See [PasswordSpec::revealable]'s own doc comment;
the dashboard uses this to grey out the reveal action rather than let
a customer hit the 409 the reveal route otherwise answers with.
rotatableZC-1379 slice S4. See [PasswordSpec::rotatable]'s own doc comment.
min_lengthPasswordStatusDto
envidsetPasswordStatusResponse
email_verifiedhas_passwordemailThe address password login uses, or the provider address a first
password would be attached to. None when neither exists.
linkable_emailThe provider-proven address POST /auth/password/set would attach a
first password to. None once the account already has one.
PathRouteRequest
path/api, /api/v1: a slash, then segments of letters, digits and . _ ~ -; no trailing
slash, never / itself (the domain's own endpoint is the default route).
target_endpoint_idAn open https endpoint of that service.
target_service_instance_idThe service that answers, in the same project.
strip_prefixRemove the path before the request reaches the service (/api/users arrives as
/users). Off by default.
PendingDownsizeResponse
applies_atThe target shape a pending resize would leave the service at, in the same
units ResizeResourcesRequest uses.
PendingGrowthResponse
invoice_idinvoice_statusThe target shape a pending resize would leave the service at, in the same
units ResizeResourcesRequest uses.
capacity_held_untilWhen the capacity held for this growth expires, or null if nothing is currently held (already settled and waiting for the platform to apply it, or a lapsed hold not yet re-attempted).
PendingReasonResponse
codemessagePendingResizeResponse
PendingResizeTargetResponse
cpumemory_gbMemory in GiB, fractional (0.5 = 512 MiB)
storage_gbStorage in GiB.
PlanChangeOptionResponse
availablenameplan_idThe plan_id to send to resize/plan-change.
A shape in the units resize is asked in: vCPU, and GiB for memory and storage.
refusalWhy moving to this plan is refused, null when available: plan_flat_priced, no_change (the current shape), storage_reduction_not_offered, no_allocated_price_line (it grows a dimension the price does not charge for) or no_next_period (it shrinks cpu or memory and the subscription never renews).
PlanChangeOptionsResponse
availableEvery plan this storefront shows for the product, each with whether it is a valid target. Empty when closed.
refusalWhy the operation is closed, null when available: subscription_not_active, plan_change_not_offered or no_service_instance.
PlanResponse
descriptionavailableKernel's verdict on buying this plan in the region named by region_id, and the only one -- nothing is to be derived beside it. True when no region was named, because nothing has been judged and so nothing is refused.
cpuidmemory_gbnameproduct_idsort_orderstorage_gbtax_behaviorThe billing terms this plan is sold at (V-0717), monthly first: one entry per term (1, 3, 6 or 12 months) a live Price exists for, each with what one whole term costs and what it saves against buying the same months monthly. Send the chosen entry's cadence_months to POST /checkout and POST /checkout/quote. Empty when the plan has no resolvable price; a single monthly entry means no longer term is sold.
Exact per-unit rates on the Price selected for this plan's usage minimum.
iconpriceThis plan's resolved monthly price, already adjusted for the caller's reseller price multiplier if any. Null when no live Price resolves for this plan's (product, hardware profile) combination -- a broken or ambiguous catalog price hides this one plan's price rather than failing the whole listing; see this crate's report for the full rationale.
unavailable_reasonWhy this plan cannot be bought in the region named by region_id, in kernel's own words, to be rendered exactly as written and never composed, templated or interpolated by a client. Carries no capacity figure of any kind -- no count, percentage, node or cluster. Null exactly when available is true.
Present when this plan is billed by usage (V-0883, decision-0190): max(minimum, run-hours x rate). Then price is the monthly minimum, the only thing charged at purchase, and this carries the price of a run-hour of the plan's size. Null for every plan billed a flat monthly amount.
PlanTermResponse
cadence_months1, 3, 6 or 12.
monthly_equivalentprice spread over the term's months, rounded to the cent. Display
only: nothing is charged at it.
priceWhat one whole term costs, already adjusted for the caller's reseller
price multiplier; tax per the plan's tax_behavior.
savingWhat this term saves per term against the monthly price times the term's months. Null for the monthly term and when there is no monthly term to compare with. Negative when the longer term costs more.
saving_percentsaving as a percentage of the undiscounted figure, one decimal.
PlanUsageBillingResponse
max_usage_cap_centsThe largest cap a customer can choose for this plan. The smallest is
minimum_cents.
minimum_billed_run_secondsEvery run counts at least this many seconds.
minimum_centsThe monthly minimum, in cents: what the purchase charges.
run_hour_priceWhat one hour of the plan running costs, an exact decimal in major units (it can be a fraction of a cent), already adjusted for the caller's reseller price multiplier.
usage_cap_centsThe most a job of this plan costs in a month unless the customer chooses otherwise: four times the minimum. "You never pay more than this a month for this job."
PlanUsagePriceLineResponse
dimensionWhat the line measures, derived from dimension: switch on this, not on unit.
unitPlayerActionRequest
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, name | |
| type = object · requires: kind, name | |
| type = object · requires: kind, name | |
| type = object · requires: kind, name | |
| type = object · requires: kind, name | |
| type = object · requires: kind, name, mode | |
| type = object · requires: kind, name, message | |
| type = object · requires: kind, name, item +1 more | |
| type = object · requires: kind, message |
kindnamereasonPlayerActionResponse
Every outcome a read or a write can answer with, folded into one status
so a client renders a match rather than branching on HTTP status codes
that are all 200. Ok is the only variant the roster fields or the
action actually succeeding are meaningful under.
PlayerPositionResponse
xyzdimensionNamespaced dimension id such as minecraft:overworld; absent when
the server did not say.
PodLeaveReason
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
PooledServiceResponse
Mirrors the domain PooledService as its own /v2 response type.
PoolerMode
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
PoolerSettings
enabledexternal_targetWhere the external port points.
PgBouncer pool mode (Pooler.spec.pgbouncer.poolMode).
PortAllocationResponse
allocated_atexternal_ipexternal_portidinternal_portis_primaryis_systemnetwork_protection_modeprotection_managedTrue when protection is auto-managed by the edge (Warden) and manual modes do not apply. Static, comes from the pool this allocation sits on, and is what a panel's "Protected" flag reads.
protection_stateAlways unknown for a protection-managed allocation on this route,
and not_managed otherwise. The live detector value (normal /
pressure / attack) is served separately by
GET /service-instances/{id}/external-access/live, so this listing
never waits on a Warden node.
protocolWhether the edge has this port yet. Absent on the answer to a write; read it from the
listing, which observes it. An address is not usable until it is active.
displayPostpaidDisclosureResponse
credit_limit_centsheadroom_centscredit_limit - open_receivable - pending_settlement, never below 0.
open_receivable_centsWhat the organization owes today (ledger receivables, never negative).
pending_settlement_centsRenewal periods already running on credit and not yet invoiced.
renewals_billed_postpaidtrue when this purchase's renewals will be billed after each period
instead of in advance, as things stand now.
Why not, when the organization has a limit and they will still be prepaid.
PrepaidReasonResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, requested_cents | |
| type = object · requires: kind | |
| type = object · requires: kind |
kindrequested_centsPresignPartsRequest
keyparts1-based part numbers, at most 50 per request.
size_bytesThe object's total size, as given to start the upload.
upload_idPresignPartsResponse
PresignedUrlView
expires_atmethodurlPreviousRunRequirementResponse
What a previous_run guard requires the schedule's own last run to have
been.
PriceLineResponse
dimensionmeasurementrecurrencesort_orderunitPriceSummaryResponse
cadence_monthsThe period this Price's rates are quoted per (1 | 3 | 6 | 12).
currencyidnameterm_monthsPriceTierResponse
flatper_unitup_toPrincipalCopyResponse
carries_keytrue once the copy runs the current pod template, mount included.
A copy that has not restarted since API access changed reads false.
unit_keyThe unit's key, as GET .../units lists it.
ProcessInfoResponse
commandcpu_percentmemory_rss_bytesnamepidppidstateuptime_secsProcessTreeResponse
Always a 200 with a discriminated status: a tree being unavailable is an
expected outcome the page renders an explanation for, not an HTTP error.
truncatedroot_pidProcessTreeStatusResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
ProductEngineOptionsResponse
availableThe engine is sold here at all. When false there is nothing to pick: hide the product.
engineregionsRegion ids the engine is offered in.
unavailableWhy not, as stable codes: not_configured, no_region, no_image. Empty when
available.
Newest first. Empty when nothing can be bought.
The copies the product sells. Null when nothing can be bought.
The slot used when the customer picks none. Null when nothing can be bought.
region_offeredWhether the region_id asked about is one of regions. Null when none was asked about.
timezoneThe IANA time zone of the region asked about. Null when none was asked about or it is not offered.
ProductFamilyView
Mirrors the domain [ProductFamily] 1:1, as its own /v2 response type --
never ProductFamily itself -- so a domain rename or reorder must be a
deliberate, matching edit to this From impl rather than a silent
wire-format drift. The retired ProductKindResponse (deleted A2-S13c
alongside CatalogServiceKind) existed for the same reason.
ProductPublicPortsResponse
free_port_slotsPorts the plan includes at no charge. Zero on a product whose every port is priced.
https_includedThe product's own template already opens its public HTTPS front door (a Static Site,
WordPress): the purchase asks no question about internet access and sends no HTTPS
endpoint for it. Derived from the template's front_door route, never authored separately.
https_offeredAn HTTPS endpoint can be opened on this product (decision-0308): a free platform host,
the customer's own verified domains and automatic TLS, never metered. True for a
workload that publishes a site (its template owns a front door, or it declares the
custom_domain capability), whatever it says about raw ports above: it needs no free
slot and no port price. False for a Worker, a Cron Job and the databases.
offeredA customer can ask for public ports on this product at all.
pricedPorts beyond the free ones are allowed and billed by the hour held. A quote with ports requested says what they cost.
ProductResizeDimensionResponse
Mirrors the domain [ResizeDimension], same rule as
[ResizePolicyKindResponse] above. Named Product* rather than the bare
ResizeDimensionResponse its admin (contracts::product_definitions) and
subscriptions (kernel_http_v2_subscriptions::contracts::resize)
siblings might suggest: schemars keys /v2's OpenAPI schema components by
Rust type name across the whole document, and
kernel_http_v2_subscriptions::contracts::resize::ResizeDimensionResponse
(a resize QUOTE's dimension: current/requested/growing/available) already
held that name (no_v2_schema_component_name_collides, crates/http/src/controllers/mod.rs).
This one is a narrower, declarative fact -- which dimensions a PRODUCT'S
resize policy grows for free -- so it takes the more specific name rather
than leaving both in the tree under one auto-disambiguated name.
ProductResponse
accepts_sourceWhether this product runs a container image the customer chooses (Web App, Worker). When true the purchase can ask what to run and POST /checkout accepts a source, which is deployed as soon as the payment provisions the service (V-0951). Decided by the rule checkout refuses by.
available_for_orderWhether this product can currently start a new order
categoryThe category derived from this product's service kind. Kept for existing clients; prefer storefront_category, which is authored per display profile rather than derived from a closed enum whose fallthrough files databases, object storage and static sites all as game servers.
created_atWhen this product was created. There is no separate published_at; console uses this as the product's introduced date for discovery dots (ZC-1302).
enabledfamilyThe provisioning shape this product deploys as (design doc §4.2/§4.5: A2 matches ProductFamily exhaustively at the one dispatch site that still needs it). Not a mirror of kind or category: several kind values can share one family, and this is the axis future dispatch actually branches on.
growable_dimensionsThe resource dimensions resize_policy_kind grows for free, if any. Always empty for catalog_plans, and may be empty for plan_change (a product offering only a plan change, no free growth).
has_free_trialWhether this product currently has an enabled, non-expired free-trial configuration. Per-account eligibility is not checked here.
idminimum_cpuminimum_memory_gbFractional gibibytes (2026-09-04 mebibyte migration): 0.5 is 512 MiB.
minimum_storage_gbnameproduct_slugThis product's own unique machine name (design doc §4.2 A2: /v2 exposes products.slug instead of the frozen /v1 service-kind enum). Distinct from slug above: slug is the shared addressable segment of the display profile this product presents under, and several products can share one display profile and therefore one slug. product_slug never collides across products.
Whether this product sells public ports and how many its plans include (V-0546). Decided by the rule checkout refuses by, so a product shown here as offering ports is never refused them for that reason.
purchase_stepsThe questions buying this product asks, in the order a checkout asks them, always ending in review. Derived here from this product's own bounds, its plan list and the regions this caller's storefront may order into -- never authored, and never a capacity signal: a step is present because the product offers a choice, not because a region happens to have room. A product sold in one region on one plan with a fixed shape is ["review"], which is the whole flow and not a flow with four screens missing.
resize_policy_kindHow this product permits a resize once bought (ZC-1481): whether it offers a self-service change to another of its own catalog plans (plan_change), free growth on growable_dimensions within its current plan (free_grow), or neither (catalog_plans). Read from this product's own product_definitions row; catalog_plans also when the product has no such row at all, since there is no kind-level fallback to inherit and no row means no self-service resize either way. Exists so a client can tell whether to offer a plan-change control without probing a quote for PlanChangeNotOffered first.
The storefronts that sell this product (V-1042): console is the cloud store, dashboard the games store. Exact ownership, so a client deciding which app a product belongs to (for a hand-off link) reads this instead of inferring it from storefront_category or from a list of slugs. Empty when the product is withdrawn from sale (a by-id read still returns it so an owner can reach it).
slugURL-safe segment addressing this product, from its display profile. Use it instead of the UUID id when building a console link. Several products sharing one display profile share this slug, as they share the name and icon beside it.
The display profile's authored teaching copy (ZC-1161): what this product is, how it works, and what people use it for. Null when nobody has authored one yet, in which case the client should fall back to its own equivalent of console's lib/nav/product-about.ts fixture table. Resolved to the platform's one shipped locale; see DisplayProfileAbout's own module doc for how a second locale is meant to be introduced without a wire-format change.
about for EVERY authored locale, keyed by IETF locale tag (V-0870): pick the viewer's locale, then en-US, then any entry. Null when nobody has authored one.
iconAn icon TOKEN from this product's display profile: a brand slug or a Lucide name, resolved by the client through @zaroz/ui's ResolvedIcon. Distinct from icon_asset_id, which is an operator-uploaded image and wins outright when both are present. Null when nobody authored one, in which case the client falls back to a monogram. PlanResponse.icon is the same field one table over, and is why this one exists: a product had the token on its display profile and this response was simply not carrying it (ZC-1125).
icon_asset_idThe managed database engine this product runs (postgres), or null for every product that is not a database. A product fact, never a capacity one: join it to GET /managed-databases/availability and hide the product when that engine is not available (or is not offered in the region the customer picked). A product that is a database also lists engine_options among its purchase_steps.
maximum_cpumaximum_memory_gbmaximum_storage_gbPer-locale names keyed by IETF locale tag (V-0870), e.g. {"es-ES": "Almacenamiento de objetos"}. name stays the canonical English name and the fallback: a viewer whose locale has no entry shows name. Null when nobody has translated this product.
What a pooled product sells: object_storage (a bucket) or container_registry. Null for every product that runs on the cluster. Read this instead of matching the slug.
starting_priceCheapest monthly price across this product's plans, in the platform's single supported currency (design doc §44.3, EUR only for now), already adjusted for the caller's reseller price multiplier if any. Null when the product has no priceable plan -- see this crate's report for why a resolver refusal surfaces as null here rather than an error.
The authored storefront shelf, from this product's display profile. Every value is a console route directory, so console links this product as /{org}/{project}/{storefront_category}/{slug}. Null when nobody has categorised the display profile yet, in which case fall back to category.
Why this product cannot start a new order; null exactly when available_for_order is true. out_of_stock: no capacity right now (a VPS needs a dedicated IPv4 and none is free), try again later. no_plans: it is sold by plan and none is on sale here. disabled: the product is not on sale.
ProductSalesChannelResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
ProductUnavailableReason
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
ProfileAboutResponse
ProjectCycleSpendResponse
amount_centsMoney is integer cents on every /v2 DTO, never a float or a
formatted string -- same convention as InvoiceSummaryResponse.
Pre-tax.
currencyISO 4217, taken from the invoice lines themselves.
tax_amount_centsThe tax on those same lines. Each line snapshots its own tax at issue time, so this is a sum of stated figures rather than a rate applied to a total.
total_amount_centsamount_cents + tax_amount_cents, carried so a caller rendering one
number does not have to decide which of the two it wanted.
ProjectRegistriesResponse
ProjectResponse
created_atidnameorganization_idslugURL-safe identifier, unique within the owning organization. Console routes are /{org}/{slug}.
updated_atdescriptionProjectStatsResponse
What the project is being charged for the service it is receiving right now, one entry per currency. Empty when nothing in the project is under a live service window -- which is the honest answer for a project with no subscriptions and for one whose subscriptions have all lapsed, never an error. In practice this holds exactly one entry: the platform transacts in EUR only.
project_idresource_countHow many live subscriptions this project holds. A "resource" here is a subscription -- design doc §34.1 puts Project directly above Subscription, so one purchase is one row -- not a resources row (which would count a single VPS as its VM plus each of its volumes) and not a service instance (which would drop a paid subscription still awaiting activation). "Live" is not deleted and not ended: Pending, Active, Suspended and PendingTermination count, while Terminated, Cancelled and Failed subscriptions are history and do not.
PublicCaptchaConfigResponse
enabledWhether any action on this host requires a solved challenge at all. false
for a missing config, a disabled one, or one missing a key -- see
CaptchaConfig::is_active.
protected_actionsStable snake_case action names the widget is required for. Empty when
enabled is false.
providerProvider wire value, e.g. turnstile. Always present, even when enabled is
false, so a client can wire up the right widget component ahead of a
provider ever being turned on.
site_keySafe to render in a browser; this is the half of the key pair that is meant
to be public. None exactly when enabled is false.
PublicDomainSearchResponse
PublicDomainSearchResultResponse
nameThe name, lowercase.
currencyISO 4217 (EUR). Only for an available name.
price_centsThe first year, net of VAT, in the currency's minor unit. Only for an available name.
renewal_centsEach later year, net of VAT (the storefront has one yearly price). Only for available.
PublicDomainStatus
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
PublicIncidentResponse
titleThe headline to show.
idA stable key for deduplicating a poll or remembering a dismissal.
started_atWhen the incident began, so the banner can date itself.
messageFurther detail, if the operator published any.
PublicMaintenanceResponse
titleThe headline to show.
idA stable key for deduplicating a poll or remembering a dismissal.
scheduled_atWhen the maintenance is scheduled to begin.
expected_duration_minutesHow long it is expected to last, if staff said.
PublicPlanResponse
descriptioncpuidmemory_gbnameproduct_idsort_orderstorage_gbtax_behavioriconpriceThis plan's resolved monthly price, already adjusted for the requested reseller storefront's price multiplier if one was named. Null when no live Price resolves for this plan's (product, hardware profile) combination -- a broken or ambiguous catalog price hides this one plan's price rather than failing the whole listing.
PublicProductResponse
available_for_orderWhether this product can currently start a new order
categoryfamilyThe provisioning shape this product deploys as. See ProductResponse's own family field (the /v2/console mount) for the full rationale; kept here too because it is shop-window information, not an account fact.
has_free_trialWhether this product currently has an enabled, non-expired free-trial configuration on this storefront. Per-account eligibility is not checked here, and cannot be: this caller has no account.
idnameproduct_slugThis product's own unique machine name. Not the display profile's shared slug (this mount does not expose that one at all today) -- see ProductResponse::product_slug (the /v2/console mount) for the distinction between the two.
The storefronts that sell this product: dashboard is the games store, console the cloud store. A landing page splits Games from Cloud on this, not on a hardcoded list of slugs.
The display profile's authored teaching copy (ZC-1161): what this product is, how it works, and what people use it for. Null when nobody has authored one yet. This is shop-window information a logged-out visitor needs at least as much as a signed-in customer does -- it is the copy an empty product page teaches with -- so it is carried onto this narrower response rather than dropped with the account-scoped fields above.
about for EVERY authored locale, keyed by IETF locale tag (V-0870): pick the viewer's locale, then en-US, then any entry. Null when nobody has authored one.
iconAn icon TOKEN from this product's display profile: a brand slug or a Lucide name, resolved by the client through @zaroz/ui's ResolvedIcon. Distinct from icon_asset_id, which is an operator-uploaded image served from GET /assets/{id} on this same public mount and wins outright when both are present. Null when nobody authored one, in which case the client falls back to a monogram. Same field as ProductResponse.icon (the /v2/console mount) and PublicPlanResponse.icon below -- this response carried icon_asset_id without it, which was the buy-page half of ZC-1144.
icon_asset_idPer-locale names keyed by IETF locale tag (V-0870), e.g. {"es-ES": "Almacenamiento de objetos"}. name stays the canonical English name and the fallback: a viewer whose locale has no entry shows name. Null when nobody has translated this product.
The authored storefront shelf from this product's display profile (the same value storefront_category carries on the console mount). Null when nobody has categorised the display profile yet.
starting_priceCheapest monthly price across this product's plans, in the platform's single supported currency (design doc §44.3, EUR only for now), already adjusted for the requested reseller storefront's price multiplier if one was named. Null when the product has no priceable plan.
Why this product cannot start a new order; null exactly when available_for_order is true. out_of_stock: no capacity right now (a VPS needs a dedicated IPv4 and none is free), try again later. no_plans: it is sold by plan and none is on sale here. disabled: the product is not on sale.
PublicResellerResponse
brand_colorcustom_plan_selector_enabledhostnameidnameog_image_modeOne of platform, logo, custom, disabled.
discord_invite_urlicon_asset_idresolved_og_image_asset_idSee [ResellerResponse::resolved_og_image_asset_id].
PublicSalesChannel
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
PublishSiteUploadRequest
labelA short note shown beside the version, up to 80 characters.
replace_working_filesAlso replace the working files with the published site, so the Files tab shows what is live. Defaults to true.
site_rootPublish from this folder of the upload instead of the detected one.
PublishSiteUploadResponse
removed_release_idsPublishWorkingFilesRequest
labelA short note shown beside the version, up to 80 characters.
PurchaseHoldResponse
available_centsWhat the wallet contains now, in cents.
reason_codeWhy the hold applies: pay_as_you_go_floor, projected_period_cost, or
standing_unavailable (the balance could not be read right now; the figures are zero
and nothing may be assumed from them, retry shortly).
required_centsWhat the wallet must contain for the purchase to run, in cents. The configured organization floor (or the open reservations when larger) for an unbounded pay-as-you-go product; the reserved projection on top of what is already withheld for one with a knowable bound.
shortfall_centsWhat is still missing, in cents (never negative). Zero means the hold is covered.
PurchaseStepResponse
Mirrors the domain [PurchaseStep] 1:1, as its own /v2 response type --
never [PurchaseStep] itself -- so a domain rename or reorder must be a
deliberate, matching edit to this From impl rather than a silent
wire-format drift. Same rule and same reason as [ProductFamilyView].
The six spellings match console's StepId union exactly
(console/components/purchase/registry.ts), because that registry is a
Record<StepId, PurchaseStep> and a value it has no entry for is a type
error there rather than an empty screen.
PutBuildExtraMinutesRequest
monthly_limit_centsThe monthly limit in cents, or null to turn extra minutes off.
QueryMode
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: mode, read_only | |
| type = object · requires: mode, read_only | |
| type = object · requires: mode, read_only |
moderead_onlyQuoteDatabaseResponse
billed_storage_gbWhat storage bills: storage_gb times copies.
copiesData-bearing copies the purchase runs and bills: 1 is standalone, 2 or more is high availability. The price is the plan's (one copy) times this.
enginestorage_gbThe volume of one copy, in GB.
versionThe version that will be installed, in the engine's own spelling.
The slot the customer chose; null keeps the default.
multiplier_lineThe multiplier in kernel's words (20 GB x 2 copies), present only when there is one.
The same words end the base line of the quote and of the invoice.
QuoteDiscountResponse
descriptionWhat the code does, in kernel's own words, e.g. "20% off for your
first 3 billing cycles". Composed by DiscountCode::describe in the
domain so the quote, the invoice and the admin preview cannot drift
into three sentences for one code.
amount_centsNegative, so the ticket is a sum and the panel renders it with the sign it arrived with rather than subtracting anything.
codeThe code as the catalog stores it, not as the customer typed it.
QuoteLineResponse
descriptionComposed by kernel, and identical to what the invoice line will say --
the same
CreateSubscriptionCheckoutServiceImpl::base_line_description writes
both. A customer reconciling a quote against an invoice compares the
words as well as the money.
amount_centsBefore any discount code.
QuoteMaintenanceWindowResponse
day_of_week0 is Sunday.
hourQuoteRequest
plan_idproduct_idbucket_nameThe bucket name to buy object storage with, the name S3 clients use
({endpoint}/{name}/{key}), immutable once the bucket exists. 3 to 40 characters of
lowercase letters, digits and single hyphens, no dots; platform names, the zb- prefix
and S3's reserved affixes are refused. Checked now like registry_namespace
(422 invalid_* / reserved, 409 name_taken with a suggestion). Omitted: the
organization's slug, or its next free variant. Refused for a product that is not object
storage. GET /catalog/products/{id}/bucket-name-availability answers the same question
while the customer types.
cadence_monthsThe billing term to quote. See [CheckoutRequest::cadence_months]:
omitted is the monthly term, and the quote's total is one whole term.
The managed database options to price. See CheckoutRequest::database: the same
rules refuse the same requests here, and more than one copy comes back with the
storage multiplier in database and at the end of the base line.
discount_codeAn optional discount code, exactly as the customer typed it. A code that cannot be used is refused here exactly as it would be at checkout, rather than quietly quoting the undiscounted price.
Public ports to price. See CheckoutRequest::endpoints: the same rules
refuse the same requests here. Each comes back as an informational line
of amount zero, and metered_estimate carries the worst monthly cost.
total_cents never includes them.
hardware_profile_idSee CheckoutRequest::hardware_profile_id's own doc comment.
operating_system_idSee CheckoutRequest::operating_system_id's own doc comment.
organization_idWhich organization would be buying. Decides the reseller price multiplier and the tax jurisdiction, so it is quote input rather than bookkeeping.
project_idWhich project the purchase would be filed under.
Optional, mirroring [CheckoutRequest::project_id]. When supplied it
is still checked against the buying organization -- nothing is
written, but a quote is an answer about a purchase this caller could
make, so naming somebody else's project is refused here too. When
absent, nothing is checked and nothing is resolved: unlike checkout,
a quote never creates the buying organization's default project,
because a quote is documented to write nothing at all.
region_idRequired for every family except a licence. See
CheckoutRequest::region_id's own doc comment.
registry_namespaceThe registry namespace to buy a container registry with: the first path segment of every
image (<endpoint>/<namespace>/app), immutable once the registry exists. 3 to 40
characters of lowercase letters, digits and single hyphens, starting and ending with a
letter or digit; platform names and the zr- prefix are reserved. Checked now, against
the region's registry and what it already holds: invalid is 422 with the broken rule as
code (invalid_too_short, invalid_character, reserved, ...), taken is 409
name_taken with a suggestion. Omitted: the organization's slug, or its next free
variant, when the registry is created. Refused for a product that is not a registry, and
together with bucket_name. GET /catalog/products/{id}/registry-namespace-availability
answers the same question while the customer types.
The size to price. Omitting it quotes the plan as authored.
storage_cap_bytesSee CheckoutRequest::storage_cap_bytes: refused here as checkout would refuse it.
usage_cap_centsThe most this plan may cost in a month, in cents, for a plan billed by
usage (a Cron Job): the monthly minimum plus the run-hours above it.
Optional; omitted means four times the minimum. Once a month's total
reaches it, no new run starts until next month or until the customer
raises it; runs already going finish. Refused (422) under the plan's
monthly minimum or over 100,000,000. Ignored for a plan that is not
billed by usage. The quote's usage_billing.usage_cap_cents echoes the
cap that would apply.
What the customer expects to store and send in a month, for a product billed by what it
stores and sends (a bucket, a registry). The quote answers with usage_estimate, the
month priced by kernel, so no client computes a price. Ignored for a product with no
metered storage or egress line.
QuoteResourcesResponse
cpumemory_gbMemory in GiB, fractional (0.5 = 512 MiB)
storage_gbStorage in GiB. Zero means no volume at all.
QuoteResponse
amount_centsAfter the discount, in the invoice's own terms: always the net,
pre-tax figure, never the plan's advertised (possibly tax-inclusive)
price. This is the establishing invoice's amount, and the figure the
two can be reconciled on, for both tax behaviours. See this struct's
own doc comment for why it is not a term of the customer-facing
additive chain on an Inclusive plan.
cadence_labelHow to read the figures aloud, e.g. "per month, billed monthly". Kernel's own words: it is a claim about a billing term, and a client assembling one from a month count would be deciding what that count means.
cadence_monthsThe billing term quoted, in months (1, 3, 6 or 12): the one asked for, or 1 when none was. Every figure below is one whole term (V-0717).
currencyThe currency every figure below is in.
due_now_centsWhat the customer pays now, which is not always total_cents: a
setup fee, a term paid up front or a prorated first period all move it.
Rendered, never derived. Equal to total_cents for every purchase this
endpoint can price today, and a field anyway, because the day it stops
being equal must not be the day a console starts lying.
What is being bought, described the way the invoice will describe it.
Exactly one line today, because a /v2 checkout issues exactly one
invoice line (InvoiceLineItemKind::BaseSubscription). It is a list
rather than a single field so that a setup fee, a term bundle or a
second priced component does not have to reshape the contract, and so
a client renders whatever arrives instead of a fixed row.
pay_now_centsWhat one card or PayPal payment would collect for this purchase: due_now_cents plus
hold.shortfall_cents. Equal to due_now_cents when no hold is missing.
The shape that was priced -- the customer's when they sent one, the plan's when they did not. Echoed so a console showing "2 vCPU, 4 GiB, no disk -- EUR 12.40" is reading both halves from the same answer rather than pairing a server price with its own local idea of the size.
subtotal_centsThe sum of lines, before any discount code.
Tax, as data rather than as something to work out.
The client must never derive any of this from a billing country: which
country applies, whether a business is reverse-charged, and what the rate
is on the day are all kernel's decisions, taken by
TaxResolutionService::resolve.
total_centsWhat the customer pays for one billing cycle.
Metered rates of the resolved Price, with the reseller multiplier applied.
Each tier's price is an exact decimal in major currency units per unit.
available_centsbalance - required_cents. Compared against required_cents (not
against this purchase's own total) by the caller: kernel does not
know here whether this purchase itself will reserve anything, only
what the organization's standing already looks like.
Present for a managed database: what was priced, and why more copies cost more (decisions 0394 and 0397). Null for every other product.
The code that was applied, what it does, and what it took off.
None when no code was sent; a code that was sent and cannot be used
is a refusal, never a silently absent discount.
The pay-as-you-go hold this purchase would need (decision-0407), computed by the kernel
from the buying organization's wallet: money that stays the customer's and is kept
available while the service runs, with how much is missing. null when none applies
(a prepaid product, or an organization backed by a credit limit). Checkout never
refuses for a missing hold; the invoice page collects it.
What the requested public ports can cost, present only when the request
named some. Ports are billed by the hour held, monthly in arrears, so
this is a worst case (every priced port held a whole month), shown
beside the ticket and never added to total_cents or due_now_cents.
V-0449.04: postpaid disclosure, present only for the OWNER of an
organization with a credit limit. See crate::contracts::standing::PostpaidDisclosureResponse.
required_centsZC-1324 org trust S5 (§8.4): max(organization_floor, already-reserved) -- the buying organization's own standing, not
this purchase's price. Present on every quote, not only a Measurable
one: an unmeasurable product still explains the organization's floor
this way (§8.2's closing paragraph). Absent for an API token that may not read the
wallet, as is [Self::available_cents].
The organization's own current restriction, if any -- None when its
standing is Good. Kernel supplies the reason and the numbers; the
frontend supplies the words (§8.4).
Present when the plan is billed by usage (V-0883, decision-0190):
max(minimum, run-hours x rate). Then total_cents and due_now_cents
are only the monthly minimum, the one thing the purchase charges, and
this carries the price of a run-hour of the quoted size. Never a single
monthly total: a client shows "minimum X per month + Y per run-hour, you
only pay while it runs". Null for every flat-priced plan.
The month the request's usage_estimate would cost, priced by kernel from the plan's
metered lines and floor (decision-0182: max(minimum, storage + egress)). null when
no estimate was sent or the plan has no metered lines. total_cents and
due_now_cents stay the minimum: the estimate is never charged up front.
QuoteTaxResponse
amount_centsincluded_in_linesTrue when lines already contain this tax (a plan authored
tax_behavior: inclusive). Changes the sentence, never the maths --
see [QuoteResponse].
rate_basis_pointsThe rate as an integer, e.g. 2100 for 21%. For rendering only:
amount_cents is the authority, and multiplying by this would be
computing a price.
labelKernel's word for it -- "IVA", "VAT", "Reverse charge". None when no
rate resolved at all, which is not the same as a zero rate.
noteA sentence that has to appear beside the figures when one applies, such as the intra-community reverse-charge notice. Written by kernel because it is a legal statement about this specific transaction.
QuoteUsageBillingResponse
max_usage_cap_centsThe largest cap the customer can choose for this plan. The smallest is
minimum_cents.
minimum_billed_run_secondsEvery run counts at least this many seconds.
minimum_centsThe monthly minimum, in cents: what the purchase charges now.
run_hour_priceWhat one hour of this size running costs, an exact decimal in major units (it can be a fraction of a cent).
usage_cap_centsThe most the job may cost in a month, in cents: the cap the request asked for, or four times the minimum. "You never pay more than this a month for this job."
QuoteUsageEstimateRequest
egress_gibThe GiB sent out of the service during the month. Zero or more.
stored_gibThe average GiB stored over the month. Zero or more.
QuoteUsageEstimateResponse
above_minimum_centsWhat the month would settle above the minimum already charged.
egress_centsWhat the egress GiB cost before the floor.
estimated_month_centsThe estimated month: the larger of minimum_cents and usage_cents.
minimum_centsThe monthly minimum (the floor), reseller price applied.
storage_centsWhat the stored GiB-months cost before the floor.
usage_centsStorage plus egress.
QuoteUsagePriceLineResponse
dimensionWhat the line measures, derived from dimension: switch on this, not on unit.
unitRangeSettingDto
defaultmaxminReadinessReasonResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, port, since | |
| type = object · requires: kind, port, since |
kindportsinceWhen the process started running; the service has been waiting since.
RedeemMyWalletCodeRequest
codeThe code as the customer typed it. Case and separators are normalised server-side.
RedeemMyWalletCodeResponse
amount_centscurrencyentry_idThe wallet entry the value landed in.
RefreshTokenResponse
refresh_tokensession_idtokenRegionHardwareResponse
availabletrue when a purchase on this tier would find room and a live price
right now.
disk_typeThe disk technology, e.g. nvme.
idWhat a client sends back as CheckoutRequest.hardware_profile_id.
namedescriptioncpu_modelThe processor model, when the operator named one.
unavailable_reasonWhy not, in kernel's own words; null exactly when available.
RegionResponse
availableKernel's verdict, and the only one. true when a purchase into this
region would find hardware with room and a live price right now.
Nothing is to be derived alongside it: a second verdict computed on
the client could only ever disagree with the real one.
country_codeISO 3166-1 alpha-2, for flag rendering.
The hardware tiers a customer may choose between in this region
(decision-0347: /v1 let a customer pick, say, "Helsinki Budget" or
"Helsinki Performance", each with its own Price). Send the chosen one's
id back as CheckoutRequest.hardware_profile_id (and to the plan
listing to price plans on it); omit it to let kernel place the service
on the cheapest tier that fits. Empty for a product placed on no
hardware (object storage, a registry).
idWhat a client sends back as CheckoutRequest.region_id.
latitudelongitudenameping_endpointA URL a browser can time a request against, so the console can show the customer their own latency to each region.
slugunavailable_reasonWhy not, in kernel's own words, to be rendered as written
(guard rail R2). Never composed, templated or interpolated by a
client, and never containing a number, a node, a cluster or a
percentage. null exactly when available is true.
RegisteredDomainDnsRecordResponse
typeidmanaged_bynameread_onlyRows a service manages cannot be edited here; detach the service to remove them.
ttlvalueportpriorityservice_instance_idThe service instance that manages the row, for managed_by: service.
weightRegisteredDomainDnsRecordsResponse
registered_domains.nameserver_mode (spec §9.1).
records_in_usetrue when the records here are what the internet sees (Zaroz DNS).
RegisteredDomainResponse
auto_renewcreated_atcustom_nameserversSet in custom mode; records here are then not used.
idnameThe A-label.
registered_domains.nameserver_mode (spec §9.1).
organization_idprivacyOne registration's status. Storage and wire spelling are both snake_case, from one derive
each, so they cannot drift from the CHECK constraint in spec §11.
subscription_idtldtransfer_lockedunicode_nameauth_code_issued_atWhen a transfer code was last issued.
expires_atregistered_atRegisteredDomainStatus
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
RegistrantKind
Whether the registrant is a person or an organization.
RegistrantProfileFieldsResponse
address_line1citycountryemailfull_namekindWhether the registrant is a person or an organization.
phone_country_codephone_numberpostal_codeaddress_line2organization_nameregiontax_idRegistrantProfileResponse
change_warningShow before an edit.
registrant_changed_atWhen name, organization or email last changed.
transfer_locked_untilWhile set and in the future, a transfer code is refused until then (the 60-day lock).
RegistryCredentialView
created_atidnamescopepull, push or admin.
usernameThe username to log in with.
last_used_atRegistryCredentialsRequest
passwordusernameRegistryCredentialsResponse
RegistryRepositoriesResponse
RegistryRepositoryView
nameThe repository path below the registry's namespace (busybox): the
same name the tags and delete routes take.
referenceThe full pull reference without a tag, <endpoint>/<namespace>/<path>.
size_bytestag_countRegistryResponse
RegistrySource
hostghcr.io, docker.io, registry.example.com:5000. Always present:
a reference with no host is normalised to [DOCKER_HUB_HOST] on the
way in, so a reader never has to know the defaulting rule.
repositoryacme/worker, library/nginx. Never carries the host.
tagThe mutable name the customer chose.
credential_usernameThe username half of the stored pull credential. None is an
anonymous pull.
digestThe immutable name of what was actually pulled, when the stored reference pins one.
Always None for anything this platform wrote, because nothing
resolves a tag to a digest for a third-party registry: the only
manifest client in the codebase authenticates with HTTP basic, and
ghcr.io, Docker Hub and Quay all require the Bearer challenge
exchange. Some only for a reference a customer pinned themselves.
RegistryTagView
digestThe manifest digest the tag points at (sha256:...).
namecreated_atWhen the image was built. The registry reports no push time.
size_bytesCompressed size of the image: its config and layers.
RegistryTagsResponse
truncatedThe repository has more tags than one listing describes; only the first ones (in the registry's order) are shown.
RegistryTokenErrorBody
RegistryTokenErrorItem
codeUNAUTHORIZED, DENIED or UNSUPPORTED.
messageRegistryTokenResponse
access_tokenThe same token: OAuth2-style clients read this name.
expires_inSeconds the token stays valid.
issued_attokenThe signed bearer token the registry verifies.
RegistryUsageResponse
RegistryUsageSampleView
egress_bytesstored_byteswindow_startRegistryUsageView
egress_bytesBytes served out of the platform in the window (billed once the registry's Price carries an egress line).
fromgap_hoursHours with no measurement, filled with the nearest earlier one.
Hourly measurements, oldest first.
storage_gib_monthsAverage stored GiB over the whole window, as a decimal string.
toRegistryView
accessWhat the registry allows right now: open, read_only (over the cap:
no pushes), suspended (unpaid or moderated) or deleted.
cap_bytescreated_atendpointThe host to docker login to.
idimage_prefix<endpoint>/<namespace>: what an image reference starts with.
labelnamespaceThe namespace every repository of this registry lives under: chosen at
creation, immutable. Registries that predate chosen names keep the
zr-<id> they always had.
region_idsubscription_idupdated_atpurge_atWhen the registry's images will be purged, once deleted.
stored_bytesLatest measured stored bytes (logical); absent before the first measurement (measured hourly).
ReinstallVpsRequest
confirmMust be true. Reinstalling erases all data on the disk and cannot
be undone; the client is expected to have shown that to the person
before sending it.
os_imageThe operating system to install: the id of one entry of
GET /api/v2/catalog/products/{id}/operating-systems. May be the
image already installed.
ReinstallVpsResponse
operation_idThe queued rebuild. Poll
GET /api/v2/service-instances/{id}/operations/{operation_id}.
os_imageThe operating system the machine will be rebuilt with.
resource_idservice_instance_idRenameAssistantConversationRequest
titleThe new title: 1 to 80 characters once trimmed. Control characters are removed.
ReplaceFirewallRulesRequest
ReplaceGrantsRequest
ReplaceRegisteredDomainDnsRecordsRequest
ReportClientErrorRequest
error_idThe reporter's own correlation id for this crash, echoed back to the user so a support conversation can name it. Caller-supplied and caller-shaped; see this module's doc comment for why it is not a key.
messageThe error message. Truncated to 2000 characters on the way in.
digestNext.js's build-time error digest, when the crash came from a server component and the framework withheld the real message from the browser. Absent for a plain client-side throw.
stackThe stack trace. Truncated to 8000 characters on the way in.
urlThe page the crash happened on.
user_agentThe browser, as the browser describes itself.
ReprovisionServiceInstanceRequest
keep_datatrue keeps the volumes and rebuilds everything around them. false
destroys this service's data volumes and cannot be undone -- only
an offsite backup taken beforehand can bring them back.
Required. See this type's doc comment for why it has no default.
ReprovisionServiceInstanceResponse
operation_idThe queued row's id. Poll GET .../operations/{operation_id} with
it until status leaves pending/processing.
service_instance_idRequestPortAllocationRequest
protocolinternal_portRequired when match_port is false. Ignored when it is true.
match_portResetPasswordRequest
passwordtokenResizeBillingResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, subtotal_cents, tax_cents +2 more | |
| type = object · requires: kind |
currencykindsubtotal_centstax_centstotal_centsResizeDimensionResponse
availableWhether stock currently allows this dimension's growth. Always true
for a dimension that is not growing. This is a live read, taken with
no hold and no lock, so it can change by the time POST .../resize
is called -- the authoritative answer is that call's own refusal, not
this field.
currentdimension"cpu", "memory" or "storage".
growingWhether this dimension is increasing (billed now). A dimension whose
requested is below current shrinks at downsize_applies_at; the
same request may do both on different dimensions.
requestedResizeInvoiceResponse
amount_centscurrencyidstatusResizeOptionsResponse
POST .../resize/plan-change and its quote: another of the product's catalog plans.
POST .../resize and POST .../resize/quote: an arbitrary target shape.
The running shape of one copy, the starting point of a resize. null before the service runs.
ResizePlanChangeRequest
plan_idreasonWhy staff are making this change. REQUIRED when a staff member resizes a customer's service (non-empty after trimming, at most 1000 characters) and recorded in the audit entry; refused for a customer's own resize.
ResizePolicyKindResponse
Mirrors the domain [ResizePolicyKind] discriminator (ZC-1481) as its
own /v2 response type -- same rule and reason as [PurchaseStepResponse]
below: a domain rename must be a deliberate, matching edit here rather
than a silent wire-format drift.
ResizeQuoteRequest
The target shape a resize names, in the same units CheckoutResourcesRequest
already uses -- see that type's own doc comment. A resize always names a
full target shape, not a delta: the dimension a customer does not want
to change is simply sent at its current value. Any of the three may change
in the same request, each up or down (storage only up); a request replaces
any reduction scheduled earlier, so send a scheduled dimension at its
scheduled value to keep it.
ResizeQuoteResponse
downsize_applies_atWhen the shrinking dimensions take effect: the end of the current billing period, right before the next renewal is priced at the smaller shape. null when nothing shrinks.
new_recurring_centsWhat one billing period costs at the shape after the growth, in cents before tax, on the subscription's own pinned price (multiplier included): the new monthly price. null when nothing grows.
ResizeRangeResponse
minimummaximumnull when the product sets no maximum.
ResizeRequest
The target shape a resize names, in the same units CheckoutResourcesRequest
already uses -- see that type's own doc comment. A resize always names a
full target shape, not a delta: the dimension a customer does not want
to change is simply sent at its current value. Any of the three may change
in the same request, each up or down (storage only up); a request replaces
any reduction scheduled earlier, so send a scheduled dimension at its
scheduled value to keep it.
reasonWhy staff are making this change. REQUIRED when a staff member resizes a customer's service (non-empty after trimming, at most 1000 characters) and recorded in the audit entry; refused for a customer's own resize.
ResizeResourcesRequest
cpumemory_gbMemory in GiB, fractional (0.5 = 512 MiB)
storage_gbStorage in GiB.
ResizeResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: outcome, invoice | |
| type = object · requires: outcome, scheduled_downsize |
A minimal, self-contained invoice summary for a resize response --
deliberately not the full InvoiceResponse from kernel-http-v2-billing
(a cross-crate dependency this feature crate does not otherwise carry):
enough for a client to know what it owes and pay it through the existing
invoice-id-keyed payment endpoints, nothing more.
outcomeResizeShapeResponse
cpumemory_gbMemory in GiB, fractional (0.5 = 512 MiB).
storage_gbStorage in GiB.
ResolvedJarResponse
titlegame_versionsloadersproject_idproject_slugversion_numbericon_urlResourceKindResponse
Mirrors ProvisionKind 1:1, kept as its own /v2 response type so this
crate's wire format cannot drift silently if a variant is ever renamed on
the domain enum without a matching, deliberate wire change here -- the
same convention kernel_http_v2_catalog::contracts::products:: ProductFamilyView already follows for ProductFamily (the retired
ProductKindResponse, which used to follow it for CatalogServiceKind,
was deleted alongside that enum, A2-S13d).
ResourceLifecycleTransitionResponse
kinddeployment or virtual_machine: the only kinds that have a power
state.
The recorded status before the verb.
resource_idThe same id GET /subscriptions/{id}/resources and the status stream's
frames carry, so a client can match this entry to the row it renders.
The recorded status the verb left in its place: running for a start,
stopping for a stop (the settled suspended arrives later on the
status stream), and for a restart the same as previous_status,
because a restart cycles the workload without changing what it is
meant to be doing. A restart of a stopped service does not turn it on,
and saying running here would claim it had.
ResourceLogsResponse
containerThe container these lines came from. Always populated, including when the request named none and the workload runs exactly one.
containersEvery container on this workload's current pod, so a panel can offer a container picker without a second call. A workload with one container yields one entry, and a panel should render no picker for it rather than a select with a single option.
coverageKernel's own sentence about what was actually read, to be shown
beside the results rather than paraphrased or composed in the browser
(R2).
It exists because of one specific way this endpoint can mislead: there is no log store on this platform, so a search covers only the window node log rotation still holds. A customer searching for a line that scrolled out of that window must be told what was searched, not shown an empty result that reads as "it never happened".
Oldest first, which is reading order for a log.
truncatedtrue when the read hit its own bounds, so more output exists on either
side of what was returned.
next_cursorHand this back as cursor to continue forwards from where these lines
stopped. Opaque: its spelling may change.
searchEchoed back so a client can tell a response to its current filter from a late response to the previous one.
ResourceMetricsResponse
coverageKernel's own sentence about what was actually read, to be shown
beside the charts rather than paraphrased or composed in the browser
(R2). The same field, for the same reason, as
[ResourceLogsResponse::coverage] -- named precisely because
00-program.md 15.3.1 calls it LogSearchResponse, which does not
exist, and a citation drift is how the next reader loses ten minutes.
It exists because of one specific way this endpoint misleads. Every
window returns [METRIC_BUCKETS] buckets whether or not anything was
sampled, so a resource with no samples at all comes back as four series
of sixty nulls -- four empty axes, no summary, and nothing said. A
consumer cannot tell that apart from a workload that was genuinely
stopped for the whole window, and it must not try: deciding which from
the points is exactly the reduction R2 forbids.
So kernel says which it is. The distinction the sentence carries is "no sample was stored" versus "usage was zero", and only the server knows it.
fromStart of the first bucket.
resolution_secondsBucket width, in seconds. (to - from) / resolution_seconds is the
length of every points array in series.
toEnd of the window. Exclusive: no bucket contains it.
window_minutesThe window actually served, echoed so a client can tell what it got without re-deriving it from its own request.
ResourceResponse
created_athiddenWhether this resource is hidden from a customer-facing resource list by convention today (sidecar provisions). Exposed rather than filtered out, so this surface never silently drops a resource the caller might reasonably expect to see accounted for.
idis_declared_primaryWhether this is the one resource this subscription's product family declares as primary (its ProductDefinition.primary_role), falling back to the legacy is_primary flag only for the families that declare no primary role at all (design doc §9.1). At most one resource in this response ever has this set to true.
kindMirrors ProvisionKind 1:1, kept as its own /v2 response type so this
crate's wire format cannot drift silently if a variant is ever renamed on
the domain enum without a matching, deliberate wire change here -- the
same convention kernel_http_v2_catalog::contracts::products:: ProductFamilyView already follows for ProductFamily (the retired
ProductKindResponse, which used to follow it for CatalogServiceKind,
was deleted alongside that enum, A2-S13d).
roleThe resource's own declared role (e.g. "server", "sidecar",
"sftp", "namespace"). Backfilled from is_primary for rows that
predate this column -- see Resource::role's own doc comment.
updated_atcustomer_workloadWhether this is one of the customer's own workloads rather than a platform resource beside it (SFTP, ingress, volume). Absent on the live status frames, which do not resolve the product; the resource list answers it.
ResourceSearchHitResponse
created_atidnameproduct_idproject_idproject_nameproject_slugslugsubscription_idsubscription_statusproduct_nameThe product's display name (its display profile's name), null if the
catalogue row is gone.
product_slugThe product's slug, null if the catalogue row is gone.
null until a hardware profile is assigned.
The aggregate run state folded from the service's recorded resource statuses (no live cluster call), the same fold GET /service-instances reports.
The authored storefront shelf of the product, null when none is authored.
ResourceStatusFrameResponse
Per-container status for a Deployment's pod. Omitted, not empty, for every non-Deployment resource and for any Deployment the kernel could not reach inside the bounded timeout -- an empty array would claim the pod has no containers.
created_athiddenWhether this resource is hidden from a customer-facing resource list by convention today (sidecar provisions). Exposed rather than filtered out, so this surface never silently drops a resource the caller might reasonably expect to see accounted for.
idis_declared_primaryWhether this is the one resource this subscription's product family declares as primary (its ProductDefinition.primary_role), falling back to the legacy is_primary flag only for the families that declare no primary role at all (design doc §9.1). At most one resource in this response ever has this set to true.
kindMirrors ProvisionKind 1:1, kept as its own /v2 response type so this
crate's wire format cannot drift silently if a variant is ever renamed on
the domain enum without a matching, deliberate wire change here -- the
same convention kernel_http_v2_catalog::contracts::products:: ProductFamilyView already follows for ProductFamily (the retired
ProductKindResponse, which used to follow it for CatalogServiceKind,
was deleted alongside that enum, A2-S13d).
roleThe resource's own declared role (e.g. "server", "sidecar",
"sftp", "namespace"). Backfilled from is_primary for rows that
predate this column -- see Resource::role's own doc comment.
updated_atcustomer_workloadWhether this is one of the customer's own workloads rather than a platform resource beside it (SFTP, ingress, volume). Absent on the live status frames, which do not resolve the product; the resource list answers it.
Present while the workload is stalling on memory reclaim, or was recently. Absent for a healthy workload and on kubelets that do not report memory PSI, so absence means "unknown", not "healthy".
CPU, memory and uptime as the cluster reports them right now. null
for a resource with no such reading: anything that is not a Deployment,
a Deployment with no running pod, and any resource at all while the
cluster is unreachable.
ResourceStatusResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
ResourceUsageResponse
cpu_millicoresmemory_bytesuptime_secsRestoreManagedDatabaseRequest
What to restore to.
RestoreSiteReleaseResponse
previous_release_idRestrictionResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, available_cents, required_cents | |
| type = object · requires: kind, available_cents, floor_cents | |
| type = object · requires: kind, open_receivable_cents, credit_limit_cents | |
| type = object · requires: kind | |
| type = object · requires: kind | |
| type = object · requires: kind | |
| type = object · requires: kind | |
| type = object · requires: kind |
available_centskindrequired_centsRetryBuildRequest
confirmed_max_cost_centsThe maximum the retry may cost, in cents, from GET .../builds/estimate.
RevealAssistantActionResponse
RevealCall
methodoperation_idpathRelative to the API base (/api/v2/...), ids filled in.
RevealDescriptor
The non-secret fields (host, port, database, user).
revealAssistantAction for this action, ids filled in.
Called only when the person presses the reveal button.
RevealRow
Text in both customer languages.
secretvalueRevealedEnvironmentSecretResponse
keyvalueRevealedSetupPasswordResponse
idvalueRiskTier
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
RolloutStatusResponse
replaced_unitsRunning units already on the target template.
stale_unitsRunning units still on an older template.
started_atHow a template change reaches the units. Phase 1 has rolling; phase 2 adds
replace_idle and next_start (plan 3.5), whose selection rules are P2-K8's:
until it lands they are stored and validated, and roll as rolling does.
target_templateThe template the units are moving to, an opaque fingerprint.
The stale units replace_idle waits on, each with why.
RolloutStrategy
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
RolloutWaitingOnResponse
keywhyallocated: replaced when it exits, stops or is destroyed. busy: replaced at its
next idle.
RotateManagedDatabaseCredentialsRequest
How long the old password keeps working after a rotation.
RotateSetupPasswordResponse
What landing the rotation cost the running service. Always restart
in slice 1c (see [kernel_core::domain::setup_steps::apply_mode]'s
own doc comment: any change to any setup step's answers is
Restart), carried as the same typed value the other setup-step
responses use rather than hardcoding the string here.
idpendingTrue when the rotation was saved but the reprovision attempt itself
failed. The same pending vocabulary every other setup-step and
capability write already uses.
RoutingRuleResponse
order1 is evaluated first: the highest priority.
priorityruleThe rule exactly as the ingress evaluates it.
Whether a rule can serve.
strip_prefixpathThe path prefix, absent for the default rule that answers everything else.
shadowed_by_pathFor a shadowed rule, the path of the rule that shadows it (absent when that is the
default).
RoutingSampleResponse
pathupstream_pathThe path the target receives, after any strip.
winning_orderThe order of the rule that takes it.
RoutingStateResponse
How the domain's certificate and route are doing.
RoutingTargetResponse
endpoint_idservice_instance_idservice_nameWhat a rule's target is doing.
RoutingTlsResponse
statusOne certificate covers the whole domain, whatever its paths.
RoutingUsedByResponse
servesThe paths it serves; / is the default.
RuleStatusResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
RunLogsResponse
captured_atWhen the output was read from the run's pods.
contentThe end of the run's output, one section per attempt (headed
--- attempt N ---) when the run was retried.
truncatedThe output was longer than the platform keeps and its beginning was dropped.
RunOutcomeResponse
The six, and only six, terminal answers to "what happened to this run". See this module's header for the seventh, unwritten in-flight state.
RunResponse
created_atidWho or what caused a run to be decided.
exit_codefinished_atnull until the run concludes, and always null for a skip.
log_object_keyA pointer to this run's captured output, null when none was kept
(a run that never started, one still going, one whose pod was already
gone). Read it with getServiceInstanceRunLogs.
null exactly while a fired run is in flight: decided, not yet
concluded. See this module's header -- do not treat this as a status
string with a seventh "running" value.
peak_cpu_millicorespeak_memory_bytesscheduled_forWhen this run was due. null for a manual trigger, which has no due
time by construction.
skip_reasonWhy a run was skipped or missed. null for one that fired.
started_atnull for a run that was skipped, or one that has not started yet.
termination_reasonThe Kubernetes termination reason, e.g. OOMKilled. null unless the
run concluded abnormally.
RunSettingsResponse
applied_start_commandStaged like an environment variable (G7). The fields above are the stored values; these are what the running workload has.
default_stop_grace_secondsThe stop time used when stop_grace_seconds is null.
max_stop_grace_secondsThe longest stop time that can be set.
offers_health_checkWhether this product offers an HTTP health check: only a service that serves web traffic has an HTTP port to ask.
pendingWhether the start command, health check or stop time differs from what runs. One flag
for the whole category: it has one apply, POST .../run-settings/apply.
start_commandThe command the container starts with, as it would be typed, or an empty string for the image's own. It replaces both the image's ENTRYPOINT and its CMD.
applied_health_check_pathapplied_stop_grace_secondshealth_check_pathThe path requested over HTTP to decide the service is ready, or null
for no check: the service then counts as running once its process
starts. Always null and not offered when offers_health_check is
false.
health_check_portThe port the health check is requested on (the service's HTTP port),
present when offers_health_check is true.
The last explicit apply of this category. null before the first one.
stop_grace_secondsSeconds between asking the process to stop and killing it, or null
for the platform's default.
RunSnapshotResponse
commandretriesHow many times a failing attempt was retried at most.
image_digestschedule_cron_expressionschedule_timezonetimeout_secondsRunTriggerResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind | |
| type = object · requires: kind, triggered_by_user_id |
kindschedule_idRunUsageResponse
currencydefault_usage_cap_centsThe cap the job has when the customer sets none: four times the minimum.
held_centsWhat the wallet holds against this service's run-hours above the minimum, in cents. Zero for an organization that pays by invoice.
meteredFalse when the service's Price carries no run-hour rate: it bills a flat monthly amount, and every figure below is zero.
minimum_billed_run_secondsminimum_centsThe monthly minimum, charged in advance.
monthThe calendar month (UTC) the figures cover, YYYY-MM.
projected_centsmax(minimum, usage extrapolated over the whole month). An estimate
from the pace so far.
run_hoursHours the runs held the service's resources this month, an exact
decimal. Each run counts at least minimum_billed_run_seconds.
total_centsmax(minimum, usage so far): the month's cost if nothing else runs.
usage_cap_centsThe most this job may cost in a month, in cents: the minimum plus the
run-hours above it. The customer sets it (PUT .../run-usage-cap); until
they do it is four times the minimum. Once the month's total reaches it,
no new run starts until next month or until it is raised; runs already
going finish. Zero when not metered.
usage_cap_reachedTrue once the month's total has reached usage_cap_cents: new runs are
paused.
usage_centsWhat the runs so far cost at the rates, before the minimum.
run_hour_priceWhat one run-hour of this service's size costs, an exact decimal (it can be a fraction of a cent). Absent when not metered.
spend_cap_centsThe organization's monthly spend cap in cents, when one is set. A run
does not start while the month's metered spend (these run-hours above
the minimum included) is at or over it; runs already going are never
stopped. Absent: no cap. This is the organization-wide cap staff set;
the job's own cap, which the customer sets, is usage_cap_cents.
RuntimeConfigResponse
One startup value beside the one the image itself declares.
One startup value beside the one the image itself declares.
Kernel's verdict for the deploy commands, which is genuinely different: a pre-deploy command cannot be picked up by a restart, because a restart is not a deployment.
image_defaults_availableFalse when the registry could not be asked at all.
Kernel's verdict for the startup fields, which share one.
stop_signalsThe signals a customer may choose. Closed, because the platform decides, and supplied rather than hardcoded in the client for the same reason a region is never free text.
Empty today, and that is the honest answer rather than an oversight:
there is no signal the platform can deliver but SIGTERM. A panel
renders no options and therefore offers no choice, which is exactly
the state of the world.
One startup value beside the one the image itself declares.
Whether the running container is still started the old way, and which
act would pick the new configuration up. null when nothing is
outstanding.
Same meaning and same reason as
[EnvironmentVariableResponse::pending]: a save that could not be
re-rendered is still a save, and the panel has to be able to say so.
post_deploy_commandpre_deploy_commandstop_grace_period_secondsAlways null today, meaning the platform's own 60 seconds.
stop_signalAlways null: the kubelet always sends SIGTERM and a pod spec
cannot override an image's STOPSIGNAL.
RuntimeOptionDto
default_start_commandidinstall_commandlabellabel_keystart_command_presetsdescriptiondescription_keyiconRuntimeOverrideResponse
image_defaultWhat the image declares.
null means "the image declares nothing" only when
[RuntimeConfigResponse::image_defaults_available] is true. When that
flag is false it means the registry could not be asked, which is a
different statement and must not be rendered as the first one.
valueThe customer's value. null means the image's own is used.
RuntimeStatsBatchResponse
RuntimeStatsEntryResponse
cpu_millicoresmemory_bytesservice_instance_iduptime_secsRuntimeVariantDto
idimagelabellabel_keydescriptiondescription_keySalesChannelQuery
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
SavedBuildSettingsResponse
changedThe dotted keys this save changed, such as build.timeout. Never values.
What is saved now, in zaroz.toml's shape.
Findings that did not refuse the save, such as a build.args value that looks like a
credential (put credentials in build secrets).
SavedPaymentMethodResponse
consent_scopeWhat the customer agreed it may be charged for: renewals, or renewals_and_usage. Today's
box agrees to both. A method carried from V1 is renewals, until they tick the box.
consent_sourcesubscription_purchase (saved by paying for a subscription, under a notice), invoice_checkout,
wallet_top_up, or v1_carried for a PayPal account kept from before.
consented_atWhen the customer agreed. For v1_carried this is the date of the ruling that carried it.
created_atidis_defaultThe one renewals charge. Exactly one of a non-empty list.
kindcard or paypal.
labelReady to show: "Visa •••• 4242", "PayPal ([email protected])".
brandThe card network, e.g. visa.
exp_monthexp_yearlast4method_typecard, google_pay, paypal, as reported when it was saved.
payer_emailSavedPaymentMethodsResponse
The default first.
ScalingAction
What the evaluator (or a policy change) did about the unit count. Stored as text and constrained in SQL to the same four words.
ScalingDecisionResponse
actionWhat the evaluator (or a policy change) did about the unit count. Stored as text and constrained in SQL to the same four words.
atfrom_unitsidinputsWhat the decision was made from (samples and bounds), as the evaluator recorded them. Its shape is not a contract.
last_atWhy. Stored as text and constrained in SQL to the same words. The last
two (policy_change, rollout_paused) are not the evaluator's: the first
is a customer's PATCH moving a fixed count, the second is the rolling
rollout pausing itself.
repeat_countsummaryOne sentence saying what happened and why ("Scaled 2 to 4: CPU at 83% against a 60% target"), composed by the kernel from the row so clients show words they did not assemble.
summary_codeWhich sentence summary is, <action>.<reason> such as scale_up.cpu_high.
The figures in it (from, to, and used/target/min/max when recorded), for a
client that words the sentence itself.
to_unitsScalingMarkerKind
What a marker on the count chart says happened.
ScalingMode
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
ScalingPolicyQuoteResponse
cap_bindsThe spend cap is what limits monthly_cents.
extra_unitsUnits above the plan's included ones, at the policy's ceiling.
hourly_centsWhat one extra unit costs for one hour, in cents.
meteredThe Price meters extra units. When false every amount is zero.
minimum_billed_secondsEach extra unit start bills at least this long.
minimum_start_centsWhat one extra unit start bills at that minimum, in cents.
monthly_centsThe most the policy can cost in a month, in cents: the worst case held to the cap.
worst_case_centsEvery extra unit running all month, before the spend cap, in cents.
worst_case_hoursHours of extra-unit time the worst case bills (every extra unit, the longest month).
ScalingPolicyResponse
contract_versioncode: what a unit does when its process exits, unless it was created with
its own. Always restart in the other modes.
destroy_stopped_after_daysA stopped unit of the customer's code is destroyed after this many days.
max_unitsmin_unitsWhether the number of units is a constant or follows load and the clock. Stored as text and constrained in SQL to the same two words.
auto: the phase-1 readiness; signal: Ready only once the unit signals it.
ready_timeout_secondsA unit not Ready this long after its pod started is failed (units that carry the agent only).
How a template change reaches the units. Phase 1 has rolling; phase 2 adds
replace_idle and next_start (plan 3.5), whose selection rules are P2-K8's:
until it lands they are stored and validated, and roll as rolling does.
scale_down_stabilisation_secondsscale_up_cooldown_secondsBounds overrides that take effect when their cron expression fires and hold until the next rule fires.
updated_atcpu_target_percentdrain_idle_after_secondsautoscaled: a unit idle this long may be drained while above the minimum.
code: what happens to a unit idle for idle_after_seconds.
idle_after_secondskeep_acceptingautoscaled: keep this many units accepting beside the ones that say they
are full.
The owner's cap on the size of a unit the program creates, below the plan's; absent when the plan is the only ceiling.
memory_target_percentPresent while a template change is still reaching the units; absent once every
running unit is on the current template. Only GET reads it.
spend_cap_centsThe most, in cents, the extra units may cost in a month before scaling refuses to grow. Absent means the worst case the maximum allows.
code with a warm_units target: how full the warm buffer is. Absent otherwise.
Only GET reads it.
warm_unitscode: ready, unallocated warm units kept on top of the others. Absent in
the other modes.
ScalingReason
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
ScannerSubscriptionOwnerResponse
display_nameidemailThe owner's primary email (OAuth first, password credential as
fallback), or null when none resolves.
ScannerSubscriptionPeriodResponse
ends_atstarts_atScannerSubscriptionResponse
created_atdisplay_nameThe organization's name, with a distinct owner's name in parentheses.
idThe subscription id, which is the tenant key.
product_idproduct_slugstatusnull when the subscription is not billing (pending or ended).
null when the organization has no owner left.
ScannerSubscriptionStatusRequest
Request-side twin of [SubscriptionStatusResponse]; /v2 keeps
Deserialize and Serialize on distinct enums.
ScheduleActionResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind | |
| type = object · requires: kind, tasks |
kindScheduleConditionResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: condition, starts_at, ends_at | |
| type = object · requires: condition, excluded_dates | |
| type = object · requires: condition, requires, within_seconds | |
| type = object · requires: condition, url | |
| type = object · requires: condition, schedule_id, within_seconds |
conditionends_atstarts_atScheduleResponse
What each fire does.
created_atcron_expressionidinvalidtrue when the stored schedule no longer validates (for example its
time zone is no longer known): it cannot fire until it is edited.
Every other field is the stored value as it is.
namenotify_on_failureWhether a failed run emails and notifies the organization's owners and admins.
The three concurrency policies a schedule may declare. Mirrors
[OverlapPolicy] one for one; see this module's header for why it is not
reused directly.
pausedretriesHow many times a failing run is retried before it is recorded as failed.
timeout_secondstimezoneupcoming_fire_timesThe next few fires after now (at most [UPCOMING_FIRE_TIMES]), in UTC;
empty while paused. The same computation the scheduler runs, so what is
shown is what will happen, daylight-saving changes included.
updated_atinvalid_reasonWhy the schedule is invalid; null when it is valid.
next_fire_atThe next instant the kernel's scheduler will fire this schedule, in UTC.
null while the schedule is paused or invalid, or when the expression never
matches again.
ScheduleRule
cronFive-field cron expression, numeric fields only.
max_unitsmin_unitstimezoneIANA zone name the expression is read in.
ScheduleTaskResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, command | |
| type = object · requires: kind, entrypoint | |
| type = object · requires: kind, action | |
| type = object · requires: kind | |
| type = object · requires: kind, seconds |
commandkindtimeout_secondsSeconds the command may take. Defaults to 300; at most 3600.
ScheduledDownsizeResponse
applies_atWhen it takes effect, right before the next renewal is priced.
idcpuThe vCPU it lowers the service to, or null if cpu is unchanged.
memory_gbThe memory in GiB it lowers the service to, or null if memory is unchanged.
SearchKnowledge
versionSearchKnowledgeConcept
idkebab-case, unique across the knowledge base.
kindplatformClaimsIds of claims this entry relies on.
provenanceWhat people type, per locale.
For game: whether the Gaming bridge goes before or after the answers.
nameA proper noun shown in copy; required for unsupported.
For unsupported: what to say about it.
reviewedAtISO date of the last human review.
soldInGamingSearchKnowledgePlatformClaim
idsourcesstatementcaveatreviewedAtISO date a human last confirmed this claim still holds.
SearchKnowledgeProduct
slugstatusreplacedByFor retired: the products that took over.
SearchKnowledgeRecommendation
expectOne sentence saying why, per locale.
slugA catalog product slug named in products.
tierSearchOrganizationResourcesResponse
Pagination metadata included in paginated responses
ServerImportListResponse
ServerImportResponse
bytes_transferredcancel_requestedThe customer asked to stop. The import is still running until it moves
to cleaning_up, then cancelled.
created_atdelete_extraneousfiles_transferredhostidremote_pathWhere an import is.
target_pathThe directory in the service the files are copied into.
updated_atusernamebytes_totalcompleted_atcurrent_fileThe file being copied now, when the transfer has reported one.
errorWhy the import failed, in words a customer can act on.
files_totalportprogress_percent0 to 100, by bytes when the total is known, otherwise by files.
ServerImportStatusResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
ServerPasswordsParamsDto
ServerPasswordsRequestDto
ServerPasswordsResponseDto
ServiceBuildUsageResponse
billable_minutesMinutes the builds ran.
buildsincluded_minutesOf those, in small-equivalent minutes, what the plan's allowance covered.
overage_minutesAnd what it did not.
waived_minutesMinutes past the included ones billed at zero: no opt-in when the build started.
allowance_minutesSmall-equivalent minutes the service's plan includes this month, prorated in the month
the subscription started (the figure included_minutes is split from). Null when the
plan includes none, and when the service is gone and its plan with it.
left_minutesOf this month's allowance, what is left: no ring when the plan includes none.
overage_centsWhat the overage is priced at, in the organization's currency. Absent when the service is gone and its price with it.
rate_per_minuteThe Price's rate per small-equivalent minute, in currency. Null when it bills no overage.
service_instance_idAbsent: builds of services deleted since.
ServiceConnectionResponse
The addresses, project-internal first. A public one exists only when a public port is
allocated to the service.
The wire protocol the service speaks.
tlsWhether the connection is encrypted.
databaseThe database name the customer chose at setup. None when the service has none to name.
password_idWhich setup password to reveal for this login, when there is one the customer may read.
usernameThe login. The customer's own choice at setup, or the protocol's default login.
versionThe version the running image pins (11 for mariadb:11), when it pins one.
ServiceInstanceActivityEntry
actionactor_is_staffTrue when a Zaroz staff account did this on the customer's service. The
staff member's identity (principal_id, principal_name, token and
sponsor) is withheld, so the customer sees only that it was staff.
created_atidprincipal_kindUser, Application, or System.
api_token_idapi_token_nameprincipal_idprincipal_nameproject_idservice_instance_idsponsor_application_idsponsor_application_nameServiceInstanceAvailabilityResponse
Whether this row's platform can currently be reached to answer a live
status question -- see MyServiceInstanceSummaryResponse::availability's
own doc comment for exactly what this does and does not mean.
ServiceInstanceComponentResponse
What this component offers, in the shape of GET .../capabilities entries. A volume or
backups entry names THIS component's claim.
idStable id (database), what ?component= names. Never shown.
is_primarylabelThe product word, in English ("Database").
Translations of label by IETF locale tag.
workload_resource_idThe workload's resource id, for the /resources/{resource_id}/... routes; null before
the service is first provisioned.
ServiceInstanceComponentsResponse
ServiceInstanceFeatureResponse
idServiceInstanceFeaturesResponse
ServiceInstanceLifecycleActionResponse
Mirrors ServiceInstanceLifecycleAction 1:1, kept as its own /v2
response type for the reason ResourceStatusResponse is: a rename on the
domain enum must not silently change a wire value.
ServiceInstanceLifecycleResponse
actionThe verb that ran. Echoed so a client holding several in-flight answers, or a log of them, needs no request to interpret one.
Every workload the verb acted on, in the order it acted. Never empty: an instance with nothing to act on is refused with a 422 instead. More than one entry only when a product's blueprint produces several switchable primaries, all of which a lifecycle verb switches together.
service_instance_idServiceInstanceOperationResponse
attemptskindThe operation's own wire kind, e.g. "service_instance_reprovision".
A plain string rather than a closed response enum: this route is
generic over every kind the Provisioning queue ever carries, not
reprovision-specific, and a new kind must not need a new response
type to be readable through it.
max_attemptsoperation_idservice_instance_idstatusMirrors kernel_domain::domain::operations::OperationStatus 1:1, kept as
its own /v2 response type for the reason every other mirrored enum in
this file is: a rename on the domain enum must not silently change a wire
value.
completed_atSet once status reaches completed. Still None for
dead_letter: exhausting the retry budget is not a completion, and a
client polling for a timestamp here would wait forever on a row that
has already stopped trying.
last_errorA fixed step code ("unroutable:keep_data", "provision", ...),
never a provider or database error string -- see
ProcessOperationError::step (kernel-tasks), which is what writes
this column. None while the operation has never failed an attempt.
ServiceInstanceResponse
created_atidnameproject_idThe project this service is addressed under. Its slug is unique here, not platform-wide.
How much CPU, memory and storage this service is currently configured with (ZC-1287). The same shape MyServiceInstanceSummaryResponse carries per row, published here because until now it was carried ONLY there -- on the route that returns every service the caller owns. A client that wants one service's size had to page the caller's whole inventory to find three numbers, and that listing filters by project_id only, so there was no way to ask about one. That blocked the resize screen, whose form has to open showing what the customer already has. This is the configured shape, which is what the customer bought and what a resize names a full target against -- not a live measurement of what the workload is using. GET .../resources/{resource_id}/volume is where a measurement lives.
slugsubscription_idupdated_atSet only while the debt ladder holds this service stopped (V-0482): own_debt when its organization has an unpaid balance, restricted when it is frozen because of a debt elsewhere (contact the organization's owner). null otherwise, and always null on routes other than GET ./service-instances and GET ./service-instances/{id}. Never identifies the debtor.
operating_system_idFor a VPS, the id of the operating system it runs, as listed by GET /api/v2/catalog/products/{id}/operating-systems (V-0671). A client uses it to offer only reinstall targets with the same monthly fee. null for every other service.
This subscription's pending resize (ZC-1332), or null when there is none. GET .../service-instances/{id} is the only route that populates this -- every other route returning this same shape (rename, reprovision, ...) always answers null here rather than resolving it, since none of them has a reason to.
ServiceInstanceSetupResponse
awaiting_configurationTrue while provisioning is still waiting for a configuration. A service in this state has been paid for and has no workload running.
service_instance_idServiceInstanceSetupStepOptionsResponse
degradedTrue when the upstream this field's provider depends on (Mojang,
Forge, NeoForge, Modrinth, or FTB) could not be reached and options
is either stale or empty. Never a reason by itself to refuse a save
-- see [AnswerSetupStepResponse]'s own admission behaviour.
cached_atWhen the underlying data was last fetched from the upstream, or
null when nothing could be served at all (a fully degraded, empty
result).
ServiceInstanceSetupStepResponse
One declared step's params, typed and tagged by step -- ZC-1379 slice S3
replaces GET .../setup/steps' previous raw
[serde_json::Value] with this, mirroring [StepParams] by hand so
dashboard's generated types carry a real shape for every step's params
(docs/superpowers/specs/2026-09-25-setup-steps-shared-steps-plan.md
§2.4) instead of an opaque blob. Tagged exactly like [StepAnswers]
itself: {"step": "app_runtime", "params": {...}}, or {"step": "none"}
for a step that reads none (every param-less step collapses to the same
None shape here, the same way [StepParams::None] does on the domain
side -- which step this is at all is already the parent
[ServiceInstanceSetupStepResponse::step]'s job, not this type's).
The closed vocabulary of setup steps kernel knows how to ask, validate and
render. Adding a member is a reviewed code change here, in the dashboard's
step registry, and in whichever product template starts reading its
variables -- the same "closed set, matched code change" discipline
[crate::domain::product_definitions::capabilities::CapabilityId] uses,
for the same reason: a step nothing implements is a claim the platform
cannot back.
Ord is derived so this can key a BTreeMap
([StepAnswersDocument::steps]): declaration order becomes iteration
order there, which is incidental (the document is always looked up by
key, never walked in order) but harmless.
null when this step has not been answered yet.
ServiceInstanceSetupStepsResponse
awaiting_configurationWhether provisioning is still waiting on at least one of these steps. A product declaring no steps is never awaiting one.
ServiceInstanceStatusEventResponse
Parts of this service the platform is repairing (V-1055,
decision-0403): each has failed or waited to converge for more than two
minutes. Oldest first; empty is the common case. A new field, like
operation: adding a field to an SSE payload is backward compatible.
Which of the product's declared [Capability::Lifecycle] verbs make
sense to click right now (ZC-1154): the console renders that
static list as its full set of buttons (a stopped container still
offers Stop, greyed, because the workload kind supports it), and
this is the subset that should render live. It never adds a verb the
static list omits.
The intersection of three independent answers, all required:
- the product's declared
Capability::Lifecycleverb list (what the workload kind supports at all, structural, read off its own resources); - [
kernel_core::domain::provisions::ServiceRuntimeState::permits_lifecycle_verb] (whether the verb does something sensible given the workload's live condition --stateabove, converted); and - [
SubscriptionStatus::permits_lifecycle_verb] (whether the customer is commercially entitled to ask for it right now).
A verb missing from any one of the three is not permitted. This is
deliberately a new field and state is unchanged: the frontend
entitlement decision console/components/apps/bg-status-vocabulary.ts
tried to own client-side is a decision this list now makes instead,
but console still needs both fields -- one to render the full,
disabled set, one to know which of them are live -- and adding a
field to an SSE payload is backward compatible where removing state
would not be.
The instance's visible resources. Empty is normal: a per-seat licence
provisions none (design doc §8.1), and so does an instance whose
workloads have not been applied yet, which is what state: NotProvisioned says.
One word for the whole service, folded from its primary workloads' statuses (or, when it declares none, from all of them).
Live crash detail while state is CrashLooping. Absent otherwise,
and absent while crash looping if the cluster could not be reached
inside the bounded timeout.
Live startup-failure detail while state is Failed because the
workload never started (e.g. an image whose declared user cannot be
verified non-root). Carries the kubelet's own reason and message so a
customer is told why rather than left on a perpetual "Starting".
The in-guest first-boot gate, where the product has one (a Windows
VPS). null means there is no gate, not that the guest is not
ready: a consumer treating absence as "not ready" would never show a
Linux service as usable.
The operation kernel is currently carrying out against this service,
if any (ZC-1162). null is the common case: nothing is happening.
This is the field that answers "is a deploy happening right now",
which state cannot: state: Provisioning does not distinguish a
first-time bring-up from an in-place redeploy or reprovision, and a
rolling update leaves the old pods serving, so state stays Running
for the whole deployment and never signals anything happened at all
(found while building ZC-1154). Kernel already tracks this fact as a
typed, leased operation (kernel_core::domain::service_operations);
this is that fact surfaced, not a new one invented for the stream.
A new field, like permitted_lifecycle_verbs above and for the
same reason: adding a field to an SSE payload is backward compatible,
changing state is not.
Why the service stays Provisioning although its process runs: its readiness check
fails for longer than a minute. Absent otherwise. not_listening: nothing answers on the
declared port; health_check_failing: the customer's HTTP health check does not
succeed. A service with neither has no check and never carries this.
Why a unit of the service is not running and what to do about it (V-0267), the primary
workload's first. Absent while the service runs, is stopped or has nothing to explain.
Read live from the pod, so its since is always null here; the unit list carries it.
ServicePrincipalResponse
Each live copy, lowest slot first.
copies_totalHow many live copies the service has.
copies_with_keyHow many of them carry the mounted key already.
created_atidservice_instance_idThe service the principal is the identity of.
ServiceResourceRefResponse
hiddenA hidden helper (sidecar) that a customer-facing list normally omits.
idkindMirrors ProvisionKind 1:1, kept as its own /v2 response type so this
crate's wire format cannot drift silently if a variant is ever renamed on
the domain enum without a matching, deliberate wire change here -- the
same convention kernel_http_v2_catalog::contracts::products:: ProductFamilyView already follows for ProductFamily (the retired
ProductKindResponse, which used to follow it for CatalogServiceKind,
was deleted alongside that enum, A2-S13d).
roleThe resource's declared role ("server", "sidecar", "sftp", ...).
ServiceResourceRefWithPrimaryResponse
customer_workloadWhether this is one of the customer's own workloads (the program they bought), as
opposed to the platform's SFTP, ingress or volume resources beside it. A workload
switcher for Logs, Processes or Console lists exactly the resources where this is
true; when only one is, there is nothing to switch between. role is the label
vocabulary to word it with.
hiddenA hidden helper (sidecar) that a customer-facing list normally omits.
idis_declared_primarykindMirrors ProvisionKind 1:1, kept as its own /v2 response type so this
crate's wire format cannot drift silently if a variant is ever renamed on
the domain enum without a matching, deliberate wire change here -- the
same convention kernel_http_v2_catalog::contracts::products:: ProductFamilyView already follows for ProductFamily (the retired
ProductKindResponse, which used to follow it for CatalogServiceKind,
was deleted alongside that enum, A2-S13d).
roleThe resource's declared role ("server", "sidecar", "sftp", ...).
ServiceRunStateResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
ServiceSharePermission
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
ServiceShareResponse
created_atemailidservice_instance_idstatuspending until the grantee opens the share in their own list, then accepted.
updated_atavatar_asset_idThe member's avatar asset (/assets/{id}); null until accepted or when they have none.
usernameThe member's username; null until the share is accepted.
ServiceShareStatusResponse
Where a share stands: pending until its grantee opens it in "Shared with me", then
accepted.
ServiceV1
How the image is built.
How the built image is deployed.
rootThe service's root directory, relative to the repository root.
Static site output, for build.builder = "static".
SessionResponse
refresh_tokensession_idtokenMinimal caller identity carried on a session payload.
Deliberately not the full /console/me shape
(kernel_http_v2_identity::contracts::me::MeResponse): /v2 feature
crates do not depend on one another (see crates/http/CLAUDE.md), so
this is a small, independent projection sized for what a session
response needs, not a shared type.
SetAssistantConsentRequest
grantedTurn AI mode on or off. Absent leaves it alone.
notice_seentrue records that the member dismissed the notice.
SetAvatarSourceRequest
provider_idThe id of an OAuth provider the caller has already linked an account with. Must have a stored avatar (the provider returned one at some login).
SetBillingCountryRequest
country_codeTwo-letter country code, e.g. ES. Case-insensitive.
SetDomainPathsRequest
SetEnvironmentVariableRequest
secretMoving a variable between plain and secret is this same request with a different value here.
valueAbsent or null means keep the stored value, and is accepted only
for a secret that is already stored and is staying secret: those are
the only rows the client was never shown. Anywhere else it is a 400,
never an empty string.
SetGameSubdomainSrvRequest
The new choice; null removes the SRV record.
SetGitSourceRequest
auto_deployWhether a successful build deploys itself. Default: on.
Which commits build. Default: only manual, API and hook builds.
config_nameThe [services.<name>] entry of a multi-service file.
deployed_build_idChanges what the next deployment ships. It does not deploy. Must be a build of this service whose image still exists.
read_repo_configRead zaroz.toml. Default: on.
repository_link_idA repository this organization connected.
wait_for_checksWait for the commit's other checks before deploying. Default: off.
SetHttpPortRequest
portA number from 1 to 65535. Wider than u16 on the wire so that 0,
-1 and 70000 are refused with a sentence about the port rather than
by the JSON parser. Ports the platform's own processes use inside the
service (4646, 4949) are refused with the reason.
SetHttpPortResponse
The port a service's web server listens on.
sentenceKernel's sentence about what happens next, in English.
SetInitialPasswordRequest
new_passwordSetMeteredUsageCapRequest
usage_cap_centsThe most a month may cost, in cents of the subscription's currency, minimum included.
At least the plan's monthly minimum (usage_cap_min_cents in the metered usage), at
most usage_cap_max_cents. null removes the cap. The field must be present, so an
empty body can never clear a cap by accident.
SetOrganizationAssistantPolicyRequest
members_allowedWhether members of the organization may use the assistant.
SetRegisteredDomainNameserversRequest
zaroz_dns is the explicit way back to our DNS hosting; custom needs nameservers.
nameservers2 to 13 host names, only with custom.
SetRegistrySourceRequest
hostghcr.io, docker.io, registry.example.com:5000.
repositoryacme/worker. A single-segment repository on Docker Hub is qualified
with library/ by kernel, so a customer types nginx.
tagThree states, and two would not be enough.
| Body | Meaning |
|---|---|
| field absent | leave the stored credentials alone |
null | clear them, pull anonymously |
{ username, password } | replace them |
An Option that is None would have to mean either "unchanged" or
"clear", and whichever it meant, the other would be unreachable from a
panel that is never shown the password it would otherwise resend.
http_portThe container port the web server listens on (V-0950). Absent: the platform reads it from the image's declared ports unless a person already chose one. Present: this port, kept when the image changes later. Ignored for a product that serves no web traffic.
volume_mount_pathWhere to mount the service's volume. Absent: the platform suggests one from the image's declared volumes unless a person already chose one. Present: this path, and it is kept when the image changes later.
watch_tagAccepted so a client that sends it gets an answer rather than silence,
and refused when true. See [SourceResponse::watch_tag].
SetRunSettingsRequest
health_check_pathThe path to request, starting with a slash. Blank or absent: no health check. Refused with 422 on a product that serves no web traffic.
stagedScheduled workloads only (a service with no deploy). Absent or false: the save
re-renders the job in place and the next run uses the settings, as it always did.
true: the settings are staged like any other service's and
POST .../run-settings/apply updates the job. Ignored for every other service, which
always stages.
start_commandThe command to start with, for example node server.js --port 8080.
Quotes keep a word together. Blank: the image's own command.
stop_grace_secondsSeconds from 1 to 300. Absent: the platform's default. Wider than
u16 on the wire so a bad number is refused with a sentence.
SetRunSettingsResponse
How a container service runs (Wave H, H8).
sentenceKernel's sentence about what happens next, in English.
SetSourceRequest
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: host, repository, tag +1 more | |
| type = object · requires: kind | |
| type = object · requires: kind | |
| type = object · requires: kind |
kindhostghcr.io, docker.io, registry.example.com:5000.
repositoryacme/worker. A single-segment repository on Docker Hub is qualified
with library/ by kernel, so a customer types nginx.
tagThree states, and two would not be enough.
| Body | Meaning |
|---|---|
| field absent | leave the stored credentials alone |
null | clear them, pull anonymously |
{ username, password } | replace them |
An Option that is None would have to mean either "unchanged" or
"clear", and whichever it meant, the other would be unreachable from a
panel that is never shown the password it would otherwise resend.
http_portThe container port the web server listens on (V-0950). Absent: the platform reads it from the image's declared ports unless a person already chose one. Present: this port, kept when the image changes later. Ignored for a product that serves no web traffic.
volume_mount_pathWhere to mount the service's volume. Absent: the platform suggests one from the image's declared volumes unless a person already chose one. Present: this path, and it is kept when the image changes later.
watch_tagAccepted so a client that sends it gets an answer rather than silence,
and refused when true. See [SourceResponse::watch_tag].
SetSubscriptionCancellationRequest
cancel_at_period_endtrue to stop this subscription at the end of the period already
paid for, false to withdraw a scheduled end and keep it running.
effective_immediatelyDelete now (ZC-0747, opened to the owning organization by V-0949). true ends the subscription now instead
of at the close of the paid period: cancels_at is written at the
present instant, which the reaper takes on its next tick.
Defaults to false, so a customer's request means exactly what it
meant before this field existed and a staff member who does not ask
for it gets the same safe answer. The unused part of the paid period is
forfeited: use the wallet-credit routes to get it back as credit where the
product allows. Sending true through a service share is 403; sending it alongside
cancel_at_period_end: false is 422, because withdrawing an end and
taking one now are contradictory instructions rather than a pair.
It is not withdrawable afterwards, by anyone. The moment has
passed by the time any later request arrives, and a passed deadline is
refused -- which is /v1's "cancelled by an administrator and cannot
be reinstated", reached through the deadline rather than the status.
SetSubscriptionRenewalRequest
auto_renewtrue to be charged again when the current period ends, false to
stop after it.
SetUsageCapRequest
usage_cap_centsThe most this job may cost in a month, in cents of the organization's
currency. At least the plan's monthly minimum (minimum_cents in the
run usage), at most 100,000,000 (1,000,000.00).
SetVolumeMountRequest
pathAn absolute directory, for example /data. Normalised on the way in;
.. and system directories (/, /proc, /etc, /usr, ...) are
refused.
SetVolumeMountResponse
sentenceKernel's sentence about what happens next, in English: it applies the next time the service is deployed, the data on the volume is kept, and the app only sees it if it reads the new path.
Where a service's volume appears in its container.
SetupOptionDto
labelvaluedetailSetupStepAnswersDto
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers |
SetupStepId::MinecraftSoftware's
answers.
stepSetupStepAnswersResponseDto
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers | |
| type = object · requires: step, answers |
SetupStepId::MinecraftSoftware's
answers.
stepSetupStepId
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
SetupStepParamsDto
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: step | |
| type = object · requires: step, params | |
| type = object · requires: step, params | |
| type = object · requires: step, params | |
| type = object · requires: step, params | |
| type = object · requires: step, params | |
| type = object · requires: step, params | |
| type = object · requires: step, params | |
| type = object · requires: step, params | |
| type = object · requires: step, params |
stepSftpConnectionResponse
enabledWhether the account is currently reachable.
usernameThe single account name every SFTP deployment is provisioned with.
hostnull when the account's public port has not resolved yet (a
placement fault, or the external allocation is still landing) --
the read itself still succeeds, the same rendering
CustomDomainsResponse.platformHost uses for the same situation.
portSftpCredentialResponse
enabledpasswordThe new password. Shown here once; it is never returned by a subsequent read. The staff and support-grant doors never reach this response: they are refused before the password is rotated.
usernamehostportShapeResizeOptionsResponse
availablegrowableThe dimensions that may grow (cpu, memory, storage): the ones the product lets grow and the subscription's price charges for. Empty when closed.
reducibleThe dimensions that may shrink: cpu and memory when the subscription renews, none otherwise. Storage never shrinks.
The product's minimum and maximum per dimension, for one copy. A dimension a request changes must stay inside them. null when closed.
reductions_apply_atWhen a reduction asked for now would apply (the end of the current billing period). null when nothing can shrink.
refusalWhy the operation is closed, null when available: subscription_not_active, not_resizable (the product offers no arbitrary resize) or no_service_instance.
SharedDatabaseColumnView
column_typedata_typeextranamenullableordinal_positionprimary_keydefault_valueSharedDatabaseEntitlementResponse
heldActive databases the subscription holds now. A real count.
limitThe entitlement: 10.
quota_bytes_eachEach database's quota in bytes: 67108864 (64 MiB).
remaininglimit - held, never below zero.
SharedDatabaseRegionAvailabilityView
country_codeengineregion_idregion_nameregion_slugSharedDatabaseRegionsResponse
SharedDatabaseResponse
SharedDatabaseRowsView
columnshas_morelimitpagination_modetablecursor_columnnext_cursorSharedDatabaseSqlResultView
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind, columns, rows +1 more | |
| type = object · requires: kind, affected_rows |
columnskindtruncatedSharedDatabaseTableView
nameprimary_keytable_typedata_lengthengineindex_lengthkeyset_cursor_columnrow_estimateSharedDatabaseTransferOperationResponse
allocation_idattemptskind"shared_database_export" or "shared_database_import".
max_attemptsoperation_idstatusMirrors kernel_domain::domain::operations::OperationStatus 1:1, kept as
its own /v2 response type for the reason every other mirrored enum in
this file is: a rename on the domain enum must not silently change a wire
value.
completed_atlast_errorSharedDatabaseTransferStartedResponse
allocation_idoperation_idSharedDatabaseView
created_atdatabasedisplay_nameengineexternal_hostexternal_portidincludedinternal_connection_availableinternal_hostinternal_portupdated_atusernameover_quota_sincepasswordAbsent in the answer to a create or a rotation reached through the staff door
(V-1285): staff never read a customer's secret back. The customer's list carries it,
except to an API token without services.manage (V-1357).
quota_bytesregion_country_coderegion_idregion_nameSharedDatabasesResponse
SharedServiceInstanceResponse
nameowner_nameThe owning organization's display name.
The product a shared service runs, by name.
The service's live resources (id, kind, role, status), which the console, files, logs
and metrics routes are addressed by. Empty when none exist yet. For which one is the
declared primary, call GET /service-instances/{id}/resources.
service_instance_idshare_idshared_atslugstatusThe service's commercial status (active, suspended, ...): a suspended service is
listed, and its capability routes answer 404 until the owner settles it.
SharedServiceProductResponse
idnamenull when the product could not be named.
SiteLimitsResponse
max_file_bytesmax_filesmax_total_bytesThe most the site's space can hold, in bytes (the plan's storage).
SiteReleaseResponse
created_atfile_countidis_livesite_rootFolder of the upload the site was published from; empty for the top.
size_bytesWho published a version, as the customer may be told. A teammate is named
(display_name is resolved by kernel); Zaroz staff are operator and
anonymous; an API token is automation.
labelSiteReleaseSourceResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
SiteUploadEdgeResponse
base_urlexpires_attokenSiteUploadPreviewResponse
detected_site_rootfile_countindex_documentThe page that opens first.
site_rootThe folder of the upload that will be published; empty for the top.
size_bytesstateThe first twenty entries.
upload_idSiteUploadProblem
codepathSiteUploadProblemCode
SiteUploadTopLevelEntry
is_dirnamesize_bytesSiteUploadWarning
codepathSnippetLanguage
The languages a snippet is written in. The console labels them; this is the id.
Source
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: host, repository, tag +1 more | |
| type = object · requires: repository_link_id, build_on, auto_deploy +3 more |
kindhostghcr.io, docker.io, registry.example.com:5000. Always present:
a reference with no host is normalised to [DOCKER_HUB_HOST] on the
way in, so a reader never has to know the defaulting rule.
repositoryacme/worker, library/nginx. Never carries the host.
tagThe mutable name the customer chose.
credential_usernameThe username half of the stored pull credential. None is an
anonymous pull.
digestThe immutable name of what was actually pulled, when the stored reference pins one.
Always None for anything this platform wrote, because nothing
resolves a tag to a digest for a third-party registry: the only
manifest client in the codebase authenticates with HTTP basic, and
ghcr.io, Docker Hub and Quay all require the Bearer challenge
exchange. Some only for a reference a customer pinned themselves.
SourceArmId
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
SourceResponse
auto_deploy_replaces_rollbackA git source only: auto-deploy is on and the service runs something older than its newest good build, so the next push replaces this rollback. The panel says so, with a way to pause auto-deploy.
The arms this product permits, in the order it declared them.
A product with exactly one permitted arm renders no chooser at all: a radio group with a single option is a control that asks a question with one answer. Supplied by kernel rather than held as a frontend literal, for the same reason a region list is.
How the image runs: the start command, the health check and the stop time (Wave H, H8). Always present; a service that never set any reads as the platform's defaults.
watch_tagWhether the platform re-pulls when the tag moves.
Always false, and that is the honest answer rather than a
placeholder. Nothing polls a registry for a moved tag, so there is no
watcher to turn on; a stored flag would promise a redeploy that never
happens, which 12-source.md §8 names as the failure to avoid and then
asks for anyway. A write that sets it is refused with the reason.
Present only on the write that saved the service's first image and deployed it in the same request (V-0951). Absent on every read and on every later write, which keep the explicit deploy.
The container port the HTTPS front door forwards visitors to, or null
when this service serves no web traffic (V-0950).
image_referenceThe reference the next deployment will pull, null when nothing has
been chosen.
Composed here rather than in the panel (R2), because the rules that
build it are the platform's: a digest wins over a tag, and Docker Hub's
own images live under library/.
pendingWhether what is running differs from what is saved.
null means kernel could not tell, because the instance's resources
could not be read. That is a third answer on purpose: false would
claim the running workload is up to date, which is a statement rather
than an absence of one.
running_imageThe reference the workload is running right now, read off the
instance's primary resource. null when nothing is deployed.
What this service runs, or null for one that has not been told yet.
null is the panel's empty state and covers a subscription that has
been paid for and never configured. It is not an error and it is not a
broken service.
Where the service's volume is mounted in the container, or null when
the service has no volume to mount (decision-0389).
SpendUsageResponse
current_centsWhat every service of the organization has spent on metered usage this month, in cents.
ok, near (80 percent of the cap or more) or at_limit (growth is refused).
cap_centsThe cap staff set, in cents; absent when there is none and growth is not refused for spend.
SrvKindOptionResponse
The SRV services a customer may choose for a subdomain whose product publishes none
(V-0931). The record is _<service>._<protocol>.<hostname>.
protocolThe record's protocol label, _tcp or _udp.
serviceThe record's service label, e.g. _minecraft.
SrvKindResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
SshConnectionDetailsResponse
authorized_key_fingerprintsSHA-256 fingerprints of the public keys the machine was built trusting.
browser_ssh_statusready, enrolling_host_key or unavailable.
commandA ready-to-paste ssh user@host, or empty while there is no host.
hostThe machine's own public address, or empty while it has none.
host_key_fingerprintsSHA-256 fingerprints of the host keys the machine enrolled on first boot: what a client should see on its first connection.
operating_systemAlways linux: the capability is only derived for a Linux guest.
password_auth_enabledportpublic_route_statusready once the public address routes to the machine, else pending.
usernameThe guest account the machine was built with.
SshSessionTicketResponse
expires_insession_idurlwss://<edge>/ssh?ticket=.... Redeemable once, within expires_in
seconds, and only from the dashboard origin it was issued for.
StandingResponse
available_centsbalance_centscredit_limit_centscurrencyfloor_centsopen_receivable_centsrequired_centsreserved_centsrestrictedStartBuildRequest
confirmed_max_cost_centsThe maximum this build may cost, in cents, as read from GET .../builds/estimate. Needed
when a person starts a build that may cost money: a start without it is refused.
deploytrue deploys it once it succeeds, whatever the source's auto-deploy says. false
leaves it for "Deploy". Unset, the source decides, and a ref off its rule does not
deploy.
no_cacheBuild without the layer and dependency caches.
refA branch name or a full ref. Default: the tracked branch.
shaA commit, which must be on the ref. Default: the head of the ref.
sizeA builder size name. It changes the price of the minutes it uses.
StartGitConnectRequest
redirect_uriStartInvoiceCheckoutRequest
include_holdCollect, in this one payment, the invoice total PLUS the wallet money the purchase's
pay-as-you-go hold is missing (hold.shortfall_cents on the invoice, pay_now_cents is
the sum). The shortfall is credited to the wallet as real cash and stays the customer's;
the invoice is settled for its own total. Defaults to false. Ignored when no hold is
missing, and when a checkout for the invoice was already started (its amount is fixed
at the provider).
renewal_notice_idThe identifier of the notice the client showed beside the Pay button, currently
subscription_purchase.2026-11-07: "Your card is saved and charged at each renewal.
Cancel anytime." Send it only when that notice is on screen. With it, and for the purchase
of a subscription (an invoice of kind initial or trial_purchase) paid by a caller who
holds the authority switching autopay on (Owner or Admin, or a token granted
organizations.wallet.spend), the payment method is saved for renewals without a
checkbox, recorded as consent source subscription_purchase naming this notice (renewals
only, never usage). Without it nothing is saved on the purchase's strength. A caller
without the authority simply pays, and for any other invoice kind it has no effect. Any
other identifier is a 422 (business-rule-violation) whose details start with unknown-renewal-notice: the kernel does not
stand behind those words, so the client must update. Saving makes the method the
organization's default renewal method, replacing the previous default, which stays listed
and usable (the latest purchase's method wins). Ignored by Mollie, which keeps no method.
return_targetWhere to return after a card or PayPal checkout. Defaults to the gaming dashboard for callers written before the console payment page existed. A retry reuses an already-started provider checkout and its original return page.
save_payment_methodThe customer ticked an explicit box agreeing to keep this payment method and have it charged
automatically for renewals and for usage, when their balance reaches their threshold or on
the 1st of each month. Usage is not charged yet; the agreement is recorded now. Never
defaulted on by a client. Standing consent to be charged, so it needs
the authority switching autopay on needs (Owner or Admin, or a token granted
organizations.wallet.spend): anyone else is a 403. invalid-field-value on a provider
that cannot keep one. Follows the last request: asking differently from a checkout already
started, or another person asking, ends that checkout and starts a new one, so a client must
use the client_secret or checkout_url this answers with. A checkout that may already be
capturing cannot be replaced, and is refused like any other active checkout.
StartManagedDatabaseImportRequest
formatsize_bytescleandata_onlyStartServerImportRequest
hostThe remote server's host name or public IP address. Private, loopback and link-local addresses are refused.
passwordThe remote account's password. Stored encrypted for the length of the transfer and never returned.
usernamedelete_extraneousAlso delete files in the service's data directory that the remote server does not have (a sync rather than a copy). Defaults to false.
portThe remote SFTP port. Defaults to 22.
remote_pathThe directory on the remote server to copy from. Defaults to the account's root.
StartUnitRequest
Replaces the unit's labels whole when given.
user_dataReplaces the unit's user_data whole when given.
StartUploadRequest
keysize_bytesThe exact size in bytes. A single PUT is signed for exactly this many.
content_typeStartUploadResponse
StartUploadView
modesingle or multipart.
part_bytesmultipart: every part but the last is this many bytes.
partsmultipart: how many parts there are.
single: PUT exactly size_bytes here.
upload_idmultipart: the upload to add parts to.
StartedBuildResponse
build_idduplicateThe commit was already building or waiting: this is that build.
supersededThe build this one replaced in the queue.
StartedConversationResponse
conversation_idturn_idStartupFailureResponse
kindCustomer-facing classification (kebab code): registry-auth-required,
registry-denied, image-not-found, registry-rate-limited,
registry-unreachable, invalid-image-name or other. Clients word it themselves.
next_actionWhat to do next (kebab code): add-registry-credentials, check-image,
try-again-later or view-details.
reasonRaw kubelet waiting reason, e.g. ImagePullBackOff. For a collapsed Details only.
messageStaticSiteDto
error_documentindex_documentspa_fallbackStaticV1
indexThe index page inside the output. Default index.html.
not_found"spa" serves the index for unknown paths; otherwise a page inside the
output, such as "404.html".
outputThe build output directory, relative to the root directory.
SteamBranchDto
branchSteamBranchParamsDto
SteamWorkshopDto
collection_iddownload_collection_idmod_idsmod_namesSteamWorkshopParamsDto
collectiondownload_collectionmod_namesmodsStorageMode
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
StorefrontCategory
Which storefront shelf a product appears on, authored rather than derived.
Every variant is a console route directory. The seven wire spellings are
exactly the directory names under console/app/[org]/[project]/(document)/,
because console links a product as /{org}/{project}/{category}/{slug}:
| Variant | Wire spelling | Console route directory |
|---|---|---|
Storage | storage | console/app/[org]/[project]/(document)/storage |
Compute | compute | console/app/[org]/[project]/(document)/compute |
Apps | apps | console/app/[org]/[project]/(document)/apps |
Databases | databases | console/app/[org]/[project]/(document)/databases |
ManagedApps | managed-apps | console/app/[org]/[project]/(document)/managed-apps |
ManagedPlatforms | managed-platforms | console/app/[org]/[project]/(document)/managed-platforms |
Registry | registry | console/app/[org]/[project]/(document)/registry |
A category with no matching directory navigates nowhere: the link renders, the click 404s. Adding a variant here therefore requires adding the matching console route directory in the same change, and removing a directory requires removing the variant. That is the whole anti-drift mechanism: this enum reaches the OpenAPI document as a real string enum, admin renders its authoring dropdown from the generated client, and console checks its own route directories against the same generated list.
This is not [CatalogCategory], and does not replace it.
[product_category] derives a category from a product's stored family
and slug, and its fallthrough is blunt: everything that is not a fleet,
a VPS, a container kind or a flat-fee license kind becomes
[CatalogCategory::GameServer], so postgres, object_storage and
static_website all land on one shelf. A v2 product is authored data
(Product + DisplayProfile + ProductDefinition), so its shelf is
authored too, and lives on the display profile alongside the name and icon
it is already presented with. Migrating the derived callers is a later
slice; both answers coexist for now.
SubmitTicketReviewRequest
problem_solvedresolution_speedresponse_qualitycommentSubscriptionCancellationResponse
auto_renewThe renewal setting, untouched by this write and returned so a client can see that for itself. Scheduling an end does not turn renewal off: the billing engine skips every subscription that is not active, so the status alone already stops the next invoice, and leaving this alone is what makes withdrawing the end restore exactly the arrangement that was in force. Change it through PUT /subscriptions/{id}/renewal.
changedWhether this request is what changed the decision. false means it already said this -- a retry, or somebody else deciding the same thing first. Both are successes; a client must not render false as a failure. On a retry the existing cancels_at is returned unchanged: a repeated request never moves the customer's end date.
statusThe subscription's commercial status, which this write does move
-- unlike the renewal decision beside it. pending_termination after
scheduling, active after withdrawing.
subscription_idcancels_atWhen this subscription stops. Non-null exactly when status is pending_termination: the two are written in one statement and cannot disagree. Ordinarily it is the close of the billing period the subscription is currently in, computed from its own anchor and cadence, so it is the same instant the renewal invoice would otherwise have been raised. For a staff cancellation sent with effective_immediately it is the present instant instead. Until this moment passes the decision can be withdrawn by sending cancel_at_period_end: false; after it, it cannot.
SubscriptionHardwareProfileResponse
idnameSubscriptionRegionResponse
country_codeISO 3166-1 alpha-2 code of the region's country (ES, FI), for the flag.
idnameSubscriptionRenewalResponse
auto_renewchangedWhether this request is what changed the setting. false means it already said this -- a retry, or somebody else deciding the same thing first. Both are successes; a client must not render false as a failure.
statusThe subscription's commercial status, unchanged by this write.
Returned so a client can see that for itself rather than take it on
trust: turning renewal off is not a cancellation, and an Active
subscription is still Active afterwards.
subscription_idcancels_atWhen this subscription is scheduled to end. Unchanged by this route, which is why it is returned: turning renewal off is not a cancellation, and a client can see here that no end was scheduled. It is non-null only for a subscription somebody scheduled to end through PUT /subscriptions/{id}/cancellation, which is the only writer of this field.
SubscriptionResponse
anchor_atauto_renewcadence_monthsThe billing period this subscription renews on -- distinct from the
pinned Price's own cadence_months (the period its rates are quoted
per). See price.cadence_months and design doc §3.4, "cadence_months
appears on both prices and subscriptions".
created_atidorganization_idThe Price this subscription is pinned to -- what it renews at. Always the pinned Price's own stored rates, never a fresh selection: design doc §3.4.2 guard rail 1 reserves resolve_acquisition_price for a brand-new purchase, and a subscription's renewal reads its own price_id, never that resolver. The figures below are the Price's stored price_lines verbatim -- no discount, proration, or reseller multiplier is applied, so this can never show a number that does not exist in the pinned row.
product_definition_idproduct_idproject_idThe project this subscription belongs to (§34.1's
Organization -> Project -> Subscription -> Resource).
Always present. The link is NOT NULL in the schema, so there is no
"not yet attributed" case for a reader to handle.
quantitystatusactivated_atcancels_atThe hardware profile this subscription's workload runs on, by name. null under the same conditions as region.
internal_addressThe bare, human-readable Kubernetes Service name for this subscription's internal ClusterIP endpoint (design doc docs/V2Plan/111-internal-naming-and-region.md §7.2) -- e.g. postgres, never the FQDN and never the s-{uuid} form (§7.3). null is the correct, common answer, not a disabled state: it means no provisioned ClusterIpService exists yet for this subscription, or its slug does not qualify as a DNS-1035 label (a leading digit -- Slug::parse allows one, Kubernetes does not). A null must not be read as "this address is unreachable": absence here says only that there is no name to offer at all. Reachability from elsewhere is a separate, pairwise question this field does not answer by itself (§7.1) -- compare region below against the region of whatever would be connecting to it (e.g. the subscription that owns the field this value would be pasted into); the two share a Kubernetes cluster only when their regions match. Kernel does not compute or return that verdict directly, since a single subscription's own read never holds both sides of the comparison.
next_billing_atWhen kernel raises this subscription's next renewal invoice, computed by kernel so no client projects it from anchor_at (which, for free trials migrated from v1, is a leftover date in 2027). An unconverted trial with renewal on is first billed at trial_ends_at; one with renewal off is never billed, so this is null and trial_ends_at says when it stops. Null for anything not billed again: not active, renewal off, a lifetime purchase, or a bundle member (only the bundle bills).
parent_subscription_idZC-0984: the bundle this subscription is a member of, or null for
a bundle itself and for every ordinary, standalone subscription.
pending_invoice_idThe pending first invoice, if checkout still awaits payment.
The region this subscription's workload is placed in. null before a hardware profile has resolved (never yet activated, or the profile row itself no longer resolves). Compare id against another subscription's region.id to decide whether internal_address above would resolve from there -- see that field's own doc comment.
trial_converted_atWhen billing converted the trial to a paid subscription. Null until conversion.
trial_ends_atThe persisted trial deadline, or null for a subscription without a trial.
Whether this lapsed free trial can still be bought (ZC-0782). Null for anything that is not an unconverted free trial past its end -- an ordinary subscription, a running trial, or one already bought. available carries the deadline; payment_pending means a purchase invoice is open (resume paying it); closed means the three days are over and the trial is being deleted.
The tax on the next renewal, computed by kernel. Present only on the single-subscription read (getSubscription); null in listings, and when the renewal cannot be calculated (no tax code resolves, or the Price is gone).
SubscriptionStatusResponse
SudoDisableRequest
methodWhich admin-elevation module a credential belongs to, or a verification
attempt is checked against. AdminElevationModule gives each method
(PIN, WebAuthn, TOTP) a home behind this same enum without touching every
caller that only cares about routing by name. Serializable so callers of
/auth/sudo/* can pick a method by name instead of the HTTP layer
assuming PIN.
SudoElevateRequest
pinThe six ASCII digits the caller enrolled. A wrong PIN and an account
with no PIN enrolled are answered identically; see
controllers::sudo::elevate_error_response.
SudoElevateResponse
elevated_untiltokenSudoExitResponse
tokenSudoSetupRequest
pinSix ASCII digits. Format is validated by AdminElevationService.
SudoSetupResponse
elevated_untiltokenSudoStatusResponse
available_methodsThe elevation methods this surface can actually verify.
Was PIN-only before ZC-0716: /v2 ported no challenge-issuing route,
so a client offered webauthn or totp here would have had no way
to produce a secret for either. Now equal to
AdminElevationService::available_methods() (every module registered
in the deployment), because ZC-0716 added the missing enroll/verify
challenge routes for both. See controllers::sudo::V2_ELEVATION_METHODS.
enrolled_methodsEvery method the caller has actually enrolled, unfiltered, which
can include a method available_methods does not list.
That asymmetry is intentional rather than an oversight: a user who
enrolled TOTP while /v1 existed still has that credential, and it is
what makes POST /auth/sudo/setup demand an already-elevated session
before adding a second method (AdminElevationService::enroll). A
client that saw only the filtered list would have no way to explain
that refusal.
is_elevatedWhether the bearer token on THIS request is elevated right now.
Equal to elevated_until.is_some(), and published as its own field so
a client never has to compare a timestamp against its own clock to
answer the only question it usually asks. elevated_until is already
filtered against server time by utils::elevation::elevated_until, so
an expired window reads as false with a null deadline rather than
as a past date.
elevated_untilWhen the current elevation lapses, or null when the caller is not
elevated.
SuggestVolumeMountRequest
hostrepositorytagAbsent: use the service's stored login. An object: use this one for the question only; it is not stored.
SupportAccessRequestResponse
chat_message_idThe message in the ticket thread that carries this prompt.
created_atidmax_duration_hoursThe longest an approval can last, from the domain's MAX_GRANT_DURATION.
Served on every request, pending ones included, because that is when the
customer needs it: it is the "for how long" half of what they are being
asked to agree to. Closing the ticket ends the grant sooner.
service_instance_idThe one service this request would reach. A grant is scoped to a service instance and to nothing else -- not the subscription, not the organization, not the customer's other services.
stateWhere one request sits in its lifecycle.
Five states and not four: Denied, Revoked and Expired are three
different stories about why access is not live, and collapsing them would
make the audit trail the customer reads disagree with the one the platform
keeps. Mirrors the domain enum's own snake_case wire form
(SupportAccessRequestState), which is persisted, so the two cannot drift.
ticket_idexpires_atWhen an approved grant stops working. Null until approval, and null forever on a request that was denied.
responded_atWhen the request was approved, denied or revoked. Null while pending.
SupportAccessRequestStateResponse
Where one request sits in its lifecycle.
Five states and not four: Denied, Revoked and Expired are three
different stories about why access is not live, and collapsing them would
make the audit trail the customer reads disagree with the one the platform
keeps. Mirrors the domain enum's own snake_case wire form
(SupportAccessRequestState), which is persisted, so the two cannot drift.
SupportTicketReviewResponse
problem_solvedresolution_speedresponse_qualitysubmitted_atticket_idcommentTargetStateResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string |
TextSettingDto
defaultmax_lengthTicketDetailResponse
One ticket visible to the caller, in the detail view (paired with its messages in
TicketDetailResponse) -- any ticket belonging to any organization the caller may see
(design doc §44.2), not only ones the caller personally opened. Same no-staff-identity
rule as TicketSummaryResponse.
TicketEventResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: type, ticketId, messageId +1 more | |
| type = object · requires: type, ticketId, messageId +1 more | |
| type = object · requires: type, ticketId, messageId +1 more | |
| type = object · requires: type, ticketId, isStaff | |
| type = object · requires: type, ticketId, isStaff +1 more | |
| type = object · requires: type, ticketId, claimed | |
| type = object · requires: type, ticketId, isStaff | |
| type = object · requires: type, ticketId |
typeisStaffmessageIdticketIdauthorIdTicketMessageAttachmentRequest
asset_idmime_typeoriginal_filenamesize_bytesTicketMessageAttachmentResponse
asset_idmime_typeoriginal_filenamesize_bytesTicketMessageEditResponse
edited_atidprevious_bodyTicketMessageResponse
author_is_callerWhether the caller wrote this message.
ZC-1110. A ticket thread is visible to the whole organization
(design doc 44.2), so author_name alone cannot answer this: two
colleagues can share a display name, and offering edit or retract on
the wrong bubble is worse than offering neither.
Stated as a boolean rather than by publishing the author's id on
purpose. The id would answer this question and one nobody asked --
which member of staff wrote a staff reply -- and this module
deliberately shows staff only as "Support Team". A boolean cannot leak
that however it is later refactored; an Option<Uuid> could, by being
populated in one branch somebody forgot to guard. It is always false
for a staff message.
author_is_staffauthor_namebodycan_editWhether the caller may correct this message right now.
The server's own rule, not a hint to re-derive. EditSupportMessage
refuses a non-author with Forbidden and refuses ANY edit on a closed
ticket with TicketClosed, so this is both conditions already
resolved. A client computing author_is_caller && !closed for itself
would be deciding an entitlement, which is the boundary every frontend
in this program is told not to cross, and it would silently drift the
day kernel adds a third condition.
can_retractWhether the caller may retract this message right now.
Separate from can_edit because the rules genuinely
differ: retraction stays available on a CLOSED ticket, where editing
does not. Somebody who posted something they regret can always take it
back; rewriting history after the conversation ended is what the
closed-ticket rule exists to stop. Collapsing these into one flag
would quietly pick one of those two behaviours for both.
created_atidkindauthor_avatar_asset_idThe customer author's avatar (V-0880), as an asset id the client
resolves through the asset route. None for every staff message
(staff are shown only as "Support Team") and for a customer with no
avatar; the client falls back to a monogram.
edited_atTicketResponse
claimedcreated_atidreviewedWhether the ticket's owner has already submitted a CSAT review for this ticket, regardless of who is viewing it. Orthogonal to whether staff has answered -- see TicketSummaryResponse::reviewed.
statussubjectclosed_atowner_last_read_atstaff_last_read_atTicketSummaryResponse
claimedcreated_atidorganization_idThe organization this ticket belongs to.
Carried even when the caller filtered to a single organization, for the
same reason InvoiceSummaryResponse carries one: a row that cannot say
who it belongs to forces the client to infer it from the request it
happened to send, and an unfiltered listing then has no way to group or
label rows at all.
reviewedWhether the ticket's owner has already submitted a CSAT review for this ticket (support_ticket_reviews.submitted_by_id). A customer-filed survey tied to the ticket's owner regardless of who is viewing it, entirely independent of last_message_from_staff.
statussubjectunread_countMessages unread since the ticket's own owner last read it (support_tickets.owner_last_read_at), not since the caller personally last read it. For the ticket's own owner this is exactly "tickets you have unread". For another organization member viewing a colleague's ticket, there is no per-member read cursor to compute one from, so this instead reports staff replies the ticket's owner has not yet seen -- still a meaningful freshness signal for the shared workspace, but not a claim about what this viewer has read.
closed_atlast_message_atlast_message_from_staffWhether the most recently posted message came from staff. Independent of reviewed below: a customer may submit a CSAT review at any time regardless of whether staff has replied, and a staff reply does not imply a review exists. 'Answered' and 'reviewed' are orthogonal, not sequential -- see this crate's report.
last_message_previewowner_last_read_atTitleRuleDto
max_lengthTopUpProviderRequest
A provider a top-up can be started with. Mollie is deliberately absent: a Mollie top-up has no checkout and no settlement path in the kernel.
TopUpStatusResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
TotpEnrollConfirmRequest
codeThe current 6-digit code from the authenticator app. Verified against
the secret POST /auth/sudo/totp/enroll-options generated for this
caller, which must still be pending (ENROLL_TTL_SECONDS, 5 minutes)
-- see TotpElevationModule::read_pending_secret.
TotpEnrollOptionsResponse
accountissuerotpauth_urlotpauth:// URI encoding the same secret, issuer and account name,
for a QR code.
secretBase32-encoded shared secret, for manual entry.
TotpVerifyRequest
codeThe current 6-digit code from the enrolled authenticator app. A wrong
code, an already-used code and an account with no TOTP enrolled are
answered identically; see controllers::sudo::elevate_error_response.
TrialPurchaseKindResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
TrialPurchaseQuoteResponse
amount_centsPre-tax amount, in cents.
currencydeadlineWhen the offer lapses: the trial's own end for an upgrade, the moment the trial is handed over for deletion for a restore.
Which way a free trial is bought (V-0153).
subscription_idtax_amount_centsTax, in cents.
total_amount_centsAmount including tax, in cents -- what the purchase charges.
open_invoice_idThe purchase invoice already raised and still payable, whose figures these are; null when buying would raise a new one.
tax_labeltax_rateThe tax rate applied, as a fraction (0.21), when there is one.
TrialPurchaseResponse
amount_centsPre-tax amount, in cents.
createdtrue when this request raised the invoice (201), false when it handed back the invoice an earlier request raised (200). Both are success; a client must not render the second as a failure.
currencydeadlineThe moment the trial is handed over for deletion. Payment must be settled before it; a payment already in progress is honoured for a bounded time past it.
invoice_idThe one payable purchase invoice for this trial.
upgrade for a trial still running (the paid period starts at
payment, on the same running service), restore for a lapsed one.
subscription_idtotal_amount_centsAmount including tax, in cents -- what the customer pays.
TrialPurchaseStateResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: state, kind, deadline | |
| type = object · requires: state, kind, invoice_id | |
| type = object · requires: state |
deadlineWhich way a free trial is bought (V-0153).
stateTrialRefusalCodeResponse
Why a trial cannot be claimed, as a stable wire value.
Three, mirroring TrialClaimRefusal one for one. They are not collapsed
into a single "unavailable" because the customer's next action differs for
each: nothing (not_available), nothing ever (already_claimed), or come
back later (capacity_reached).
TrialRefusalResponse
codeWhy a trial cannot be claimed, as a stable wire value.
Three, mirroring TrialClaimRefusal one for one. They are not collapsed
into a single "unavailable" because the customer's next action differs for
each: nothing (not_available), nothing ever (already_claimed), or come
back later (capacity_reached).
messageTxAdminSetupPinResponse
noteKernel's own sentence about what this means, to be shown beside the PIN (R2).
Whether a setup PIN could be read.
pinThe four digit PIN. Present only when state is available. Never stored: it is read
from the output on each request.
seen_atWhen txAdmin printed it, as the container's log recorded it. Present only with pin.
TxAdminSetupPinState
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
UnitActivityResponse
What a unit's process last said about its activity.
UnitAllocationResponse
allocated_atallocation_idThe id the unit's agent acknowledges in /zaroz/allocation.json.
generationHow many allocations the unit has had, this one included.
delivered_atWhen the unit's agent wrote the allocation's files; null until then.
?wait=delivered on allocate waits for it.
UnitControlRefusalResponse
descriptionWhat was refused, in a sentence.
codeStable, kebab-case like the code of every refusal: policy-not-code,
unit-input-differs, no-warm-unit, region-unreachable, container-unit-limit,
stopped-unit-limit, org-unit-limit, start-rate, spend-cap, not-provisioned,
container-busy, invalid-idempotency-key, a size refusal (invalid-unit-size,
unit-size-above-plan, unit-size-above-cap, unit-size-differs), or an input
refusal (invalid-unit-key, reserved-unit-key, user-data-too-large, ...).
detailscode: description, the shape every units refusal takes.
docs_urlThe page that explains this refusal and what to do about it.
retry_after_secondsHow long to wait before trying again, when waiting helps (also the
Retry-After header).
warm_readyno_warm_unit: warm units ready to allocate (zero) and still starting.
warm_startingUnitCountBucketResponse
atThe bucket's start.
extraThe most units billed as extra (beyond the plan's included units) at one instant inside the bucket.
max_runningThe most units running at one instant inside the bucket.
min_runningThe fewest units running at one instant inside the bucket.
UnitCountResponse
fromincludedThe units the plan includes: units beyond this are billed as extra. Drawn as a threshold.
step_secondstowindowA window a customer may ask for.
Absent for a service that has no scaling policy and no scaling history.
UnitEventResponse
typecontract_versiondataThe type's own fields.
idevt_ and the event's UUID.
occurred_atseqGapless and strictly increasing per Container.
service_instance_idnull for an event about the Container (units.scaled, rollout.*).
UnitEventUnitResponse
idkeyUnitFailureKindResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
UnitFailureResponse
fixWhat to do about it, in English.
Why a unit is not running.
messageWhat happened, in English.
reasonThe cluster's own word for it, for support: ImagePullBackOff, CrashLoopBackOff,
OOMKilled, Unschedulable, ...
detailThe registry's or the cluster's short answer, e.g. 403 Forbidden.
exit_codeThe last exit code of a process that keeps exiting.
imageThe image reference that could not be pulled.
registryThe registry host of image (ghcr.io, docker.io).
sinceWhen this failure started. null when it was not recorded yet.
UnitLoadResponse
cpu_millicoresmemory_bytesreadysampled_atWhen this was measured; a client judges how fresh it is.
cpu_limit_millicoresAbsent when the pod has no CPU limit.
memory_limit_bytesUnitLogLineResponse
atid<unit_id>:<incarnation>:<container>:<instant>#<n>. The same line has the same id in a
history page and on the live stream, so a client draws it once.
textThe line, verbatim.
containerincarnationunit_idunit_ordinalThe unit's slot, for the chip beside a line.
UnitLogMarkerResponse
atidStable across reads: a client that polls forward and meets a fact twice draws it once.
kindtextunit_idunit_ordinalcontainerexit_codeincarnationOnly on overflow: the range and number of lines dropped.
reasonFor container_restarted, why the container ended (OOMKilled, Error, ...).
UnitLogsResponse
coverageThe kernel's sentence about what this read covered.
The same, as separate facts a client may word itself.
Oldest first, whatever the direction read.
Lifecycle facts in the span this page owns, oldest first.
poll_after_msHow long a follow polls for, in milliseconds, so a client never hard-codes it.
truncatedMore lines exist in the direction read.
follow_cursorThe cursor that follows the newest line of this page: how a follow starts after the first (newest) page of a backward read, and where the next poll continues from after a forward one. Null for an empty page read backward.
last_line_atWhen the newest kept line was written, on an empty first page of a window with a from
and no to: "no output in this window, the last line was at". Null for every other
read, and when nothing older is kept.
next_cursorWhere to continue in the direction read. Reading backward it is null once the retention edge is reached; reading forward it is the cursor to poll with next.
UnitMaximumSource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
UnitMetricKind
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
UnitMetricLineResponse
[bucket start in epoch milliseconds, value], 120 of them.
unit_idunit_ordinalThe unit's slot, which is what a chart's legend calls it (u1, u2).
limitThe ceiling this line is measured against, or null when it is unmetered or the unit
has no limit set.
Latest, mean and max of the buckets with a value; absent when there is none.
UnitMetricSeriesResponse
availablefalse when the source of this series did not answer; its lines are then all null.
What a customer may ask a metrics read for.
unitThe unit every number of this series is in: millicores, bytes,
bytes_per_second or lines.
Each unit's own line, lowest slot first, at most ten (the ten with the highest mean over the window).
The whole service: the units summed. Absent when the read was narrowed to one unit.
UnitMetricsResponse
available_windowsThe windows worth offering for this service: a service created an hour ago has no use
for 30d.
bucket_countHow many buckets every points array holds.
coverageThe kernel's sentence about what was read, shown beside the charts as given.
coverage_codeWhich sentence coverage is: metrics_shown or metrics_none_recorded.
The facts in it: window and to (RFC 3339), for a client that words it itself.
fromStart of the first bucket.
omitted_unitsUnits that wrote samples in the window beyond the ones drawn.
step_secondstoEnd of the window.
windowA window a customer may ask for.
unit_idUnitOrderedBy
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: kind | |
| type = object · requires: kind, user_id | |
| type = object · requires: kind | |
| type = object · requires: kind | |
| type = object · requires: kind |
kindUnitOriginResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
UnitPhase
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
UnitPodEndResponse
atcontainerreasonOOMKilled, Error, Completed, ... or unknown.
exit_codeUnitPodResponse
billing_classincluded when the plan's price covered the pod, extra when it was billed on top.
idincarnation1, 2, 3, ... per unit; the highest is the unit's current pod.
pod_namerestartsContainer terminations inside this pod.
started_atunit_idWhy the pod ended: replaced (the platform made the next one), stopped,
torn_down or lost (it went away unasked: node loss, eviction). Absent while it runs.
ended_atAbsent while the pod is the unit's current one.
The newest container termination inside this pod, with its reason and exit code.
UnitPublicEndpointResponse
endpoint_idThe endpoint's id, to read its bill line or remove the port.
internal_portThe port the unit listens on inside its container.
protocolThe protocols one endpoint carries. TcpUdp is one endpoint, one price,
over one allocation carrying both labels ([PortProtocol::Both]).
public_ippublic_portUnitReadiness
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
UnitResourcesRequest
cpuvCPU, at least 0.25, in steps of 0.25 (0.25, 0.5, 1.75). At most the plan's.
memory_mibMemory in MiB, at least 256, in steps of 128 (256, 384, 1024). At most the
plan's.
UnitResourcesResponse
cpuvCPU (0.25, 2).
memory_mibMemory in MiB.
UnitResponse
desired_staterunning when the platform wants the unit's pod to exist, stopped
when it wants it gone.
keyThe unit's stable name and the first label of its private name: u{ordinal} for a
unit the policy made, the customer's own key otherwise. Addresses the unit in
.../units/{key}.
The unit's labels, {} when it has none. Filter the list with label=key:value.
Who made the unit.
own_sizeWhether resources is the unit's own size rather than the plan's.
The public addresses that reach this unit alone, one per per-unit port (kind: unit
endpoints). Held for as long as the unit's slot exists, so each survives every pod
restart of the unit. Empty when the service has no per-unit port.
restarts_24hContainer terminations in the last 24 hours.
What the unit's pod says, or what its desired state implies when it has
no pod. A unit that is gone reads as suspended; deleted_at says it is gone.
unit_idThe unit's id, the key of its logs. A slot can have had several units over time.
user_dataWhat the unit was given as input. Present only when asked for (include=user_data
on the list, always on GET .../units/{key}); null means the unit has none. Not a
secret store: every reader of the unit sees it.
acceptingWhether the unit says it takes new work, from its agent's last report. Absent until the agent has reported, and for a unit that is stopped or gone.
idle or busy, as the unit's process last said. Absent like accepting.
activity_sinceWhen activity last changed. Present exactly when activity is.
Set once allocate handed the unit to a caller (Units phase 2); null while it
has not been. An allocation is never undone: the unit ends by its exit, a stop
or a destroy.
Whether the unit's pod is covered by the plan's price (included) or
billed as an extra unit (extra). Absent while the unit has no pod.
current_incarnationThe newest pod this unit has had, running or not. Present for a stopped or gone unit too.
deleted_atWhen the unit was scaled away. Only listed with include_gone=true.
Why the unit is not running and what to do about it (V-0267). null while it runs, is
starting normally, is meant to be stopped, or is gone.
incarnationHow many pods this unit has had, counting the current one. Absent while it has no pod.
kept_untilWhen a gone unit's logs, pods and terminations age out and are no longer listed.
Present exactly when deleted_at is.
Absent for a unit never sampled, a gone one, or while samples cannot be read.
ordinalThe slot, 1..N, held while the unit can run. Null for a stopped unit of the customer's code or the warm buffer, which gives its slot back (Units phase 2).
pod_nameprivate_nameThe name another service in the same project resolves to reach this unit
alone, <key>.<service slug> (for example u2.worker). The service's slug
by itself reaches every ready unit. Absent when the service has no private name.
The size the unit runs at and is billed by: its own when it was created with one
(own_size: true), the plan's otherwise. Absent only when the plan cannot be read
for a unit without a size of its own (a service not provisioned yet).
start_beforeWhen the platform destroys this stopped unit unless it is started first: the deadline
it was created with (start_within_seconds) or the scaling policy's
destroy_stopped_after_days after it stopped, whichever is sooner. null while it
runs, once it is gone, and outside policy mode code.
started_atWhen the current pod was created.
stopped_atWhen the unit was stopped. Present only while it is stopped.
Why and how the unit's newest incarnation ended, so a program and its operators can tell
a stop the platform ordered from the program's own health check. Present once the
incarnation has ended and its ending event is still kept (30 days), null otherwise.
The same fields ride in the data of unit.stopped, unit.exited, unit.failed and
unit.destroyed.
UnitScalingMarkerResponse
actionWhat a marker on the count chart says happened.
atfrom_unitsidsummaryThe kernel's sentence, for example "Scaled 2 to 4: CPU at 83% against a 60% target".
summary_codeWhich sentence summary is, <action>.<reason> such as scale_up.cpu_high.
The figures in it (from, to, and used/target/min/max when recorded), for a
client that words the sentence itself.
to_unitsUnitTerminationDetailsResponse
The on_exit policy in force for the unit: restart, stop or destroy.
oom_killedWhether the kubelet killed the container for running out of memory.
Who ordered the ending: program (the unit control API with a service principal),
person (a member of the organization that owns the service, by user_id), staff (Zaroz
staff acting on the service, never identified), platform (memory enforcement, the scaling policy, a
rollout, a service stop) or process (the container ended by itself).
reasonThe reason: the reason of unit.stopped or unit.destroyed (requested, exited,
service_stopped, memory_limit, idle, ready_timeout, removed, scaled_in, ...),
exited for a process that ended, or the reason of unit.failed.
exit_codeThe process's exit code, when one was recorded.
last_heartbeat_atWhen the unit's agent last reported before the ending. null when the agent never
reported.
How far the incarnation got: starting (never Ready), ready, or draining. null
when it never had a pod or the event predates this field.
UnitTerminationEntryResponse
containeridincarnationThe pod incarnation the container was in.
observed_atWhen the kernel saw the restart.
reasonOOMKilled, Error, Completed, ... or unknown.
restart_countThe kubelet's restart count after this termination.
unit_idexit_codefinished_atUnitTerminationResponse
atWhen the container ended, or when the platform noticed that it had.
containerreasonOOMKilled, Error, Completed, ... or unknown when the kubelet did not say.
exit_codeUnitWebhookDeliveryResponse
attemptThe attempt's number for this batch, from 1.
attempted_atduration_msidkindevents (a batch) or ping (a test).
errorWhy it failed: address_not_allowed, dns, connect, timeout,
http_status, redirect_not_followed, invalid_url, transport.
null for a 2xx.
from_seqThe first and last event seq of a batch; null for a ping.
next_attempt_atWhen the batch is tried again; null unless a batch failed and will be
retried.
response_excerptThe first 4 KiB of the receiver's answer.
status_codeThe receiver's status; null when it never answered.
to_seqUnitWebhookMetricsListResponse
One entry per webhook of the service, oldest webhook first.
window_hoursThe window the figures cover, in hours back from the request.
UnitWebhookMetricsResponse
failedAttempts that failed, whatever the cause (see error in the delivery log).
succeededAttempts the receiver answered with a 2xx.
webhook_idaverage_duration_msLatency of the window's attempts in milliseconds; null without an attempt.
max_duration_msp95_duration_mssuccess_ratesucceeded over all attempts, 0 to 1; null without an attempt.
UnitWebhookResponse
attemptConsecutive failed attempts of the current batch.
created_atcursor_seqThe last event seq the receiver acknowledged.
event_typesEmpty means every type.
idnext_attempt_atWhen the next attempt is due.
stateactive, failing (retrying the same batch) or disabled.
updated_aturldisabled_reasonWhy it is disabled: failing_72h. null unless disabled.
failing_sinceWhen the current run of failures began. null when the last attempt
succeeded.
previous_secret_expires_atUntil when the previous secret still signs beside the current one after
a rotation; null when only one secret signs.
UnitWebhookSecretResponse
secretwhsec_ and 43 characters. Sign check: Zaroz-Signature carries
v1=<hex HMAC-SHA256(secret, "{Zaroz-Timestamp}.{raw body}")>, with the
whole secret string as the key. The staff and support-grant doors never
reach this response: they are refused before the secret is minted.
A webhook, never its secret.
UnitsCostFiguresResponse
The extra unit-hours by unit size. The invoice puts them on ONE extra_unit_hours
line (priced together, rounded once); each group here is priced alone, so the groups
can add up to a cent or so away from that line.
The usage invoice's lines, as the invoice words them. A line that rounds to nothing is not billed and not listed.
metered_centsWhat the usage invoice bills: the sum of lines.
port_monthsBilled public port-months (free slots excluded, one port at most one a month).
total_centsplan_monthly_cents plus metered_cents.
UnitsCostLineResponse
descriptionThe invoice line's text, e.g. Extra units, 2026-11: 12.5 unit-hours.
centsdimensionextra_unit_hours or public_port.
quantityUnitsCostProjectionResponse
ruletrailing_24h: extra units keep running until the month ends at the rate they ran
over the last 24 hours (window_start to as_of, shorter early in the month), each
start at its five-minute minimum and its own size; public ports open now stay open
until the month ends. Nothing else changes.
window_hoursThe window's length in hours: 24, or less on the month's first day.
window_startUnitsCostResponse
as_ofWhen the figures were read.
currencyThe currency of every *_cents figure: the subscription's pinned Price's.
The whole month under projection's rule.
period_endperiod_startThe month billed: extra units and public ports are invoiced after it ends.
How the estimate is made.
service_instance_idThe month up to as_of: exactly what the usage invoice would bill if the month ended
now.
subscription_idplan_monthly_centsThe plan's monthly price, prepaid with the subscription's renewal at the plan's size
(the included units), before discounts. null for a free plan. Never on the usage
invoice.
UnitsCostSizeGroupResponse
centsThese hours priced alone at this size's rate. 0 where this size is not metered.
hoursBilled hours: each start bills at least five minutes.
The units' own size; null is the plan's size.
UnitsSummaryResponse
ended_14dUnits that ended in the last 14 days, the window their logs are kept for.
ended_24hUnits that ended in the last 24 hours.
The 14-day figure by why the unit ended: removed, memory_limit, exited, idle,
requested, ... or unknown when none was recorded.
runningLive units.
UnknownAnswerKeysResponse
descriptioncodedetailsunknown_keysThe keys the request sent that the step does not declare, sorted.
valid_keysEvery key the step declares.
UpcomingChargeResponse
currencysubtotal_centsThe renewal's pre-tax amount, in cents.
tax_amount_centsThe tax on it, in cents; 0 when no tax applies.
total_centsWhat the invoice will total (subtotal_cents + tax_amount_cents), in cents.
tax_labelThe tax's name (VAT); null when no rate applies.
tax_rate_basis_pointsThe tax rate in basis points (2100 is 21%); null when no rate applies.
UpdateBackupScheduleRequest
enabledhour_utcretentionUpdateBucketRequest
cap_byteslabelpublic_readServe the bucket's objects to anonymous readers.
UpdateFirewallRuleRequest
descriptioncidrenabledport_fromport_topriorityUpdateManagedDatabaseMaintenanceWindowRequest
day_of_week0 is Sunday.
hourUpdateManagedDatabaseNetworkRequest
public_accessReplaces every rule. Needs version.
versionThe version of the list the edit started from.
UpdateManagedMariadbParametersRequest
Name to value, every value a string as MariaDB prints it ("600", "0.5", "ON").
UpdateManagedPostgresPoolerRequest
The per-instance pooler choice (managed_postgres_settings).
UpdateMeRequest
billing_country_codeThe country this account is billed from, ISO 3166-1 alpha-2, case insensitive. Refused with 422 once onboarding is complete and a country is already stored: the value decides tax treatment, so it is deliberately not something a customer can re-answer later.
discord_notifications_enabledWhether to relay notifications to Discord.
languageA new display language. Must be the exact code of a supported language
(for example en-US or es-ES); any other value is refused with 422
unknown-language, whose details list the valid codes.
nameA new display name. Moderated by Username::try_new_moderated, so a
name that is too short, too long, wrongly shaped or offensive is
refused rather than stored.
UpdateMyWalletPreferencesRequest
autopay_enabledUpdateNetworkProtectionModeRequest
modeUpdateOrganizationMemberRequest
roleDistinct from OrganizationRoleResponse because request and response
enums are separate types on /v2 (design doc §43.4), even where they
currently carry the same variants.
UpdateOrganizationRequest
nameslugUpdateProjectRequest
descriptionnameslugUpdateRegistryRequest
cap_byteslabelUpdateRuntimeConfigRequest
commandOne string, tokenised by kernel. A client splitting a command line
would be a component computing a value (R2).
entrypointpost_deploy_commandRefused when not null; there is no post-rollout mechanism at all.
pre_deploy_commandRefused when not null; nothing renders an init container from this.
stop_grace_period_secondsThe text that was typed, unparsed, so a browser that rounds or clamps
cannot decide a value the scheduler owns. Refused when not null;
the grace period is hardcoded in the Kubernetes renderer today.
stop_signalRefused when not null; see [RuntimeConfigResponse::stop_signals].
working_directoryRefused when not null; nothing renders a workingDir today.
UpdateScalingPolicyRequest
contract_versioncpu_target_percentdestroy_stopped_after_daysdrain_idle_after_secondsidle_after_secondskeep_acceptingThe largest size a unit of the customer's program may be created at, below the
plan's ({"cpu": 1, "memory_mib": 2048}, on the grid of a unit's own size); null
clears it, leaving the plan as the only ceiling. A unit created without a size gets
this one when it is lower than the plan, and so do new warm units. Units that
exist keep their size.
max_unitsmemory_target_percentmin_unitsready_timeout_secondsscale_down_stabilisation_secondsscale_up_cooldown_secondsspend_cap_centswarm_unitsUpdateScheduleRequest
What each fire does (V-0702). Required: run_job for a cron-job
service, tasks for any other.
cron_expressionnameThe three concurrency policies a schedule may declare. Mirrors
[OverlapPolicy] one for one; see this module's header for why it is not
reused directly.
timeout_secondstimezonenotify_on_failureWhether a failed run notifies the organization. Absent keeps the schedule's current value.
pausedretriesHow many times a failing run is retried (0 to 5). Absent keeps the schedule's current value.
UpdateServiceInstanceRequest
nameslugUpdateServiceShareRequest
The complete new set, replacing the old one.
UpdateSftpRequest
enabledUpdateUnitRequest
At most 16 pairs. A key is 1 to 32 lowercase letters, digits, dots, underscores or hyphens; a value is at most 64 characters without control characters; the whole map at most 2 KiB serialized.
UpdateUnitWebhookRequest
event_typesEmpty for every type.
urlUploadTicketAttachmentResponse
asset_idmime_typeoriginal_filenamesize_bytesUploadedByResponse
kindavatar_asset_iddisplay_nameuser_idUpsertRegistrantProfileRequest
address_line1citycountryISO 3166-1 alpha-2.
emailfull_namekindWhether the registrant is a person or an organization.
phone_country_codeDigits only, without +.
phone_numberpostal_codeaddress_line2organization_nameregiontax_idFor extensions that ask for an identification number.
UsageEndpointResponse
idkindWhat an endpoint is (decision-0308). A Container offers two, and a customer chooses by what they run: a website or API, or anything else.
port: a raw TCP/UDP public port through Warden. Priced, metered, backed by a port allocation.https: one container port behind Traefik, on a free platform host plus the customer's verified domains, with automatic TLS. Free, never metered, holds no allocation. Carries TCP only (WebSockets included); TLS ends at Traefik.unit: a raw port likeport, but one per unit slot, reaching exactly that unit's pod (Units phase 1, S13). One allocation per slot, held while the slot exists, so the address survives pod restarts and is released on scale-down. Priced and metered per port exactly asportis.
UsageFailureResponse
codecertificate-failed (usually DNS not pointing at the platform yet) or route-failed.
messageUsageHostStatusResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
UsageMeasurementResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
UsagePathsResponse
brokenRules, default included, whose target cannot answer.
countPath rules, not counting the default route every hostname has.
shadowedPath rules another rule always beats.
UsageProjectResponse
idnameslugUsageServiceResponse
idnameproduct_idThe product the service was bought as (GET /products names it): with slug, what a
client needs to build the service's URL.
slugUserLocationResponse
latitudelongitudeUserScope
databasesdb_numberskey_prefixesUserState
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string |
UsernameRuleDto
denymax_lengthmin_lengthdefaultUsersFeature
max_userspresetsValidateGitConfigResponse
Each with its line, column and fix.
servicesThe services a multi-service file declares. Empty for a single-service file.
validVerifyEmailRequest
tokenVerifyLoginCodeRequest
challenge_idcodeVersionsV1
gojavanodephppythonrubyVmAccessRequestDto
passwordusernameextra_packagesv1's free-text extra packages (commas, spaces or newlines separate); Linux only.
install_qemu_agentv1's "install qemu-guest-agent" checkbox; Linux only, default true.
keyboardlanguagepackage_updatev1's "package update" checkbox; Linux only, default true.
package_upgradev1's "package upgrade" checkbox; Linux only, default false.
ssh_authorized_keysssh_password_authtimezoneVmAccessResponseDto
extra_packagesinstall_qemu_agentkeyboardlanguagepackage_updatepackage_upgradepassword_setssh_authorized_keysssh_password_authtimezoneusernameVolumeMountResponse
applied_pathStaged like an environment variable (G7): path is the stored value and applied_path
what the running workload has.
pathAn absolute directory, for example /data. The directory the
service's own app has to write to for its files to be kept, and the
directory the file browser opens at.
pendingWhether the stored path differs from the applied one. Cleared by
POST .../volume-mount/apply (or by any deployment).
Where the path came from: image (the first volume the image
declares), default (the image declares none, so /data), or
customer (typed by a person, never replaced by a suggestion).
The last explicit apply of the mount path. null before the first one.
VolumeSummaryResponse
capacity_bytesThe claim's configured size. A quota rather than a measurement, so it is exactly what the customer bought and it never disagrees with the invoice.
mount_pathWhere the volume is bound inside the workload, for example /data. A
cross reference rather than a property of the claim: the mount lives on
the workload that mounts it, and this is the path the file browser opens
at for the same volume.
last_backup_atWhen the customer's most recent on-demand backup of this volume
finished, or null when they have never taken one that completed.
The customer's own snapshots only. The platform's disaster-recovery backups run on a different mechanism and are not counted here, because presenting one as the other would tell a customer their data is protected by something they never invoked.
used_bytesWhat the volume holds, or null when kernel cannot measure exactly this
claim: the service has no file sidecar, the sidecar's walk covers more
than this volume, or it did not answer in time. Absent rather than
approximated.
used_fractionA number in [0, 1], already clamped. Multiplying it by 100 for a
percentage width is a unit conversion for the widget rather than a
computation; deriving it from the two byte counts instead is not.
null exactly when used_bytes is.
used_labelKernel's sentence about the meter, for example "3.0 GiB of 25 GiB".
Render it as written. null exactly when used_bytes is.
VpsDetails
connect_port22 for Linux (SSH), 3389 for Windows (RDP).
connect_protocolssh or rdp.
operating_systemlinux or windows.
public_ipv4The machine's public IPv4 address; empty while it has none.
usernameinternal_ipv4internal_ipv6public_ipv6VpsOperatingSystemOptionResponse
descriptiondisplay_namedistro_display_namefamily_display_nameidlogo_slugos_kindlinux or windows.
slugtagsfee_per_monthThis image's own recurring monthly fee, if it has one.
min_cpuThe smallest shape this image can run on, when the image declares one. A chosen size below any of these three is refused at checkout with the matching VpsOperatingSystem*BelowMinimum error.
min_memory_gbmin_storage_gbWalletBalanceResponse
amount_centsEvery pocket combined (real_cents + promo_cents + legacy_cents),
signed. Not what a wallet payment can spend -- see
spendable_cents. Kept for a caller reconciling this against the
ledger's own raw sum; a wallet is normally at or above zero, but the
ledger is the only source of truth and this reports what it sums to
rather than clamping.
currencyISO 4217, three uppercase letters.
legacy_centsPre-ledger-cutover money not yet classified into a pocket. Not
currently spendable by any wallet-payment path; included so
real_cents + promo_cents + legacy_cents always equals
amount_cents.
promo_centsPromotional credit (ledger design spec §6): never withdrawable, never
cash. Under the default policy it is not drawn as cash by a wallet
payment; it is applied as an invoice discount line, automatically,
when an invoice is issued AND (V-0882) when an unpaid, unnumbered
invoice is paid from the wallet. A client shows it as its own figure
("promotional credit"), apart from real_cents and not part of
spendable_cents.
real_centsThe pocket a wallet PAYMENT draws under the default policy
(PromoTreatment::Discount): top-ups, refunds settled in cash,
reseller payouts.
spendable_centsWhat a wallet payment can draw right now, under the ledger's
current policy set. This, not amount_cents, is the figure a "pay
with wallet" affordance must compare its total against: a customer
holding only promo credit under the default policy sees a non-zero
amount_cents here but a spendable_cents of zero, which is why a
wallet payment for them is refused as insufficient funds even though
the balance above reads as positive.
WalletCodePreviewResponse
amount_centsFace value in minor units of currency
currencyexpires_atWhen this code stops being redeemable, or null if it does not expire. A code already past this instant is reported as not found rather than returned with a past date.
WalletCreditQuoteLineResponse
base_centsThe refunded amount before tax, in minor units.
invoice_idinvoice_line_idtax_centsWalletCreditQuoteResponse
as_ofThe instant every figure below was computed at; redemption recomputes at exactly this instant.
below_minimumTrue when total_cents is under minimum_cents: the conversion is
not offered and redeeming this quote writes nothing.
currencyeligibleexpires_atminimum_centsperiod_remaining_secondsperiod_total_secondsquote_idOpaque and signed. Send it back unchanged to
POST /subscriptions/{id}/cancel-with-wallet-credit; an altered,
foreign or expired one is refused.
total_centsWhat the wallet would be credited, in minor units of currency.
reasonWhy the subscription is not eligible, when eligible is false: one of subscription_not_active, policy_not_prorated_to_wallet, disputed_or_charged_back_invoice, bundle_member.
WalletEntryReasonResponse
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string | |
| type = string | |
| type = string | |
| type = string |
WalletEntryResponse
amount_centsInteger cents, signed: positive credits the organization, negative debits it. Never a formatted string, and never a fraction of a cent.
created_atcurrencyISO 4217, three uppercase letters. Entries in different currencies move different balances and must never be added together.
idWhy the movement happened. A closed vocabulary -- see
[WalletEntryReasonResponse].
actor_user_idThe person who caused the movement, when a person did.
The id alone, not a name: an organization is a shared workspace, so
"who spent this" is a real question here in a way it never was on
/me/wallet -- but resolving names is a second query, and the member
listing already maps ids to people for exactly this organization.
Absent for anything the system did on its own (autopay, a scheduled
grant).
invoice_idThe invoice this entry paid or refunded, when it names one.
noteA free-text note, when one was written. Staff-authored on an adjustment; usually absent.
related_entry_idThe entry this one reverses, when it is a reversal. The ledger is append-only, so a correction is always a second row pointing back at the first, never an edit of it.
WalletResponse
One row per currency the caller's personal organization holds.
A currency with no money in it has no row. An organization that has never been credited, or one whose movements net to exactly zero, answers with an empty list -- this is a normal, fully-formed 200, not a sign that the wallet is missing. Treat an absent currency as zero.
WalletTopUpAvailabilityResponse
nowpaymentspaypalstripeCard top-ups on our own page (POST /api/v2/me/wallet/top-ups/stripe).
WarmBufferResponse
readyUnallocated warm units running now.
startingUnallocated warm units wanted running that are not yet.
targetThe warm_units the policy asks for.
Why the buffer is short, while the newest scaling decision is a refusal the buffer can name.
WebPanelLogin
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: step | |
| type = object · requires: step, password_id |
steppassword_idWebauthnAuthenticateConfirmRequest
credentialThe browser's PublicKeyCredential assertion response (from
navigator.credentials.get).
WebauthnRegisterConfirmRequest
credentialArbitrary JSON.
WorkloadRolloutResponse
is_primaryWhether this is the workload the instance's product treats as primary.
kindMirrors ProvisionKind 1:1, kept as its own /v2 response type so this
crate's wire format cannot drift silently if a variant is ever renamed on
the domain enum without a matching, deliberate wire change here -- the
same convention kernel_http_v2_catalog::contracts::products:: ProductFamilyView already follows for ProductFamily (the retired
ProductKindResponse, which used to follow it for CatalogServiceKind,
was deleted alongside that enum, A2-S13d).
resource_idroleThe resource's declared role, e.g. "server". What a panel labels the
row with when an instance owns several workloads.
updated_atWhen the reconciler last wrote this row. A rollout that landed shows a timestamp after the deployment that caused it; one that never landed shows a timestamp before it. That comparison is the closest thing to a per-deployment outcome the platform can currently support, and it is a hint rather than a verdict, which is why kernel does not present it as one.
WorldNameLabelDto
Mirrors [WorldNameLabel] by hand.
WorldNameSettingDto
defaultlabelMirrors [WorldNameLabel] by hand.
max_lengthWriteFileRequest
contentReplaces the file's contents entirely. Creates it when it does not exist.
ZarozDnsRecordResponse
name@ for the apex, or the name relative to the domain.
record_typeA, AAAA, CNAME or SRV.
ttlvalueportpriorityweightZarozDnsResponse
messageWhat happened, as a sentence to render verbatim.
registered_domain_idThe registered domain, for a link to its DNS panel.
statuswritten: Zaroz DNS now holds records for the hostname, and nothing is left for the
customer to do. managed_elsewhere: the domain uses its own nameservers, so nothing was
written and the record must be added there.
