Skip to Content

Input types

Every input object a mutation or query argument takes, with its fields.

Every input type in the schema, A to Z. A ! on the type means the field is required.

AddMemberInput

FieldTypeDescription
capabilities[Capability!]
roleRoleOne of member, owner, viewer.
roleIdString
userIdString!

AddRegistryInput

FieldTypeDescription
nameString!
passwordString!
registryUrlString
typeRegistryType!One of dockerhub, generic, ghcr, gitlab.
usernameString!

AddServerInput

Register a remote server. Provisioned by a call-home bootstrap (no SSH-in): you run the returned install command on the box.

FieldTypeDescription
allTeamsBoolean
buildOnlyBoolean
hostStringOnly a migration source takes it: the other platform's machine. Deplo finds every other server's addresses itself, and refuses one given here.
importOnlyBoolean
nameString!
storageOnlyBoolean
teamIds[String!]

AppEnvInput

An initial environment variable for a new app.

FieldTypeDescription
keyString!
noteStringWhat the variable is for, at most 1000 characters. Anyone who can see the variable can read it.
typeString"plain" or "secret". Omitted is plain - nothing is typed secret on your behalf; a secret is write-only from the moment it lands.
valueString!

AppPreviewSettingsInput

FieldTypeDescription
autoDeployBooleanRebuild a preview when its pull request gets a new commit.
baseDomainStringe.g. preview.example.com, with a wildcard DNS record pointing here. Empty clears it back to the zero-configuration generated default.
buildDraftsBooleanBuild a pull request that is still a draft.
commentBooleanPost the preview URL as a comment on the pull request.
enabledBoolean
forkPolicyStringdeny | approve | allow.
httpsBooleanServe previews over HTTPS. Needs a preview domain.
maxActiveInt
portIntContainer port. Empty => the app's build port.
requiredLabelsStringNewline-separated labels a pull request must carry. Empty => no filter.
serverIdStringWhere previews run. Empty => the app's own server.
ttlDaysInt

BuildConfigInput

Partial build configuration; only the provided fields are changed.

FieldTypeDescription
buildCacheBooleanReuse the owning server's Docker layer cache between builds of this app (default true). False rebuilds every layer from scratch each time.
buildCommandString
buildMethodStringauto (Deplo picks: the Dockerfile, else the compose file, else Railpack, on every deploy), railpack, dockerfile or compose.
includeFilesOutsideRootBoolean
installCommandString
outputDirString
portInt
rootDirString
runtimeVersionString
settingsJSON
skipUnchangedDeploymentsBoolean
startCommandString

CertificateAccessInput

Which teams may serve their domains with a certificate.

FieldTypeDescription
allTeamsBoolean!
teamIds[String!]!

CertificateInput

A certificate and the private key it was issued for, as PEM text.

FieldTypeDescription
certificateString!The certificate in PEM form. Paste the FULL chain: the certificate followed by any intermediates, which browsers need.
privateKeyString!The matching private key in PEM form, without a passphrase. It is stored encrypted and is never readable afterwards.

CloneRepositoryInput

FieldTypeDescription
composeStringA link to a compose file in that repository. Alone, it names the repository too.
connectionIdStringCreate it through this git connection.
installationIdStringCreate it on this GitHub account.
nameString!
ownerString!The CloneDestination's ownerId.
privateBoolean!
repoStringA public GitHub or GitLab repository link.

ComposeNameClashesInput

FieldTypeDescription
composeString!
environmentIdString
folderIdString
projectIdString
serverIdString

ConnectGitProviderInput

FieldTypeDescription
allowPrivateEndpointBooleanAllow an address inside the deployment, for a git server on your own network. Instance-admin only; refused otherwise.
baseUrlString!Origin of the git host. A bare domain becomes https://; a path or embedded credentials are refused.
labelString!
providerString!gitlab | bitbucket | gitea | git.
tokenString!Access token. Write-only.
usernameStringBasic-auth username for the clone. Defaults per provider.

CreateAppFromTemplateInput

FieldTypeDescription
deployBooleanRequest the first deployment. Defaults to false; a token also needs deploy_apps.
environmentIdString
folderIdString
nameStringThe new App name. Omitted uses the template name.
projectIdString
serverIdString
templateSlugString!The catalog template slug from templateVariants.
variantSlugStringThe variant slug. Omitted uses the "default" variant.

CreateAppInput

FieldTypeDescription
autoDeployBoolean
autoDomainStringThe hostname for the generated address. Empty string: no generated address at all.
autoDomainPathString
buildBuildConfigInput
buildServerIdStringWhere the app COMPILES, when that is not where it runs. Omitted is Automatic - a build-only server if the fleet has one.
composeString
composePortInt
composeServiceString
composeUpArgsStringExtra flags appended to docker compose up for a compose stack. Validated against the same allow-list the app's settings use.
deployBooleanWhether to start the first deployment. Defaults to true.
dockerImageString
env[AppEnvInput!]
environmentIdString
extraDomains[ExtraDomainInput!]
folderIdString
logoString
logoFromTemplateBooleanThe logo above is a template's own. Deplo reads it once for the plate that keeps a monochrome mark visible on both themes.
mounts[MountInput!]
nameString!
projectIdString
renameClashesBooleanRename a service whose name a neighbour on the destination network already answers to (db becomes db-2), carrying its references, instead of refusing the stack. See composeNameClashes.
repoGitRepoInput
serverIdString
sharedVarIds[String!]Shared variables to link to the new app, so its FIRST deploy already carries them (ADR-0012: linking is the injection, and it is opt-in).
sourceDeploySource!One of COMPOSE, DOCKER_IMAGE, GIT, GITHUB, UPLOAD.

CreateBackupInput

FieldTypeDescription
appIdString
databaseIdString
destinationIdString!
nameString!
retentionCountInt!
scheduleString!
targetKindBackupTargetKindOne of app, database.
timezoneString

CreateDatabaseForAppInput

FieldTypeDescription
dbNameString
exposedPortInt
exposedPubliclyBoolean
nameString!
passwordString
typeDatabaseType!One of clickhouse, mariadb, mongodb, mysql, postgres, redis.
usernameString
versionString!

CreateDatabaseInput

FieldTypeDescription
dbNameString
environmentIdID
exposedPortInt
exposedPubliclyBoolean
nameString!
passwordString
serverIdID
typeDatabaseType!One of clickhouse, mariadb, mongodb, mysql, postgres, redis.
usernameString
versionString!

CreateDestinationInput

FieldTypeDescription
accessKeyString
allowPrivateEndpointBoolean
bucketString
endpointString
kindDestinationKind!One of s3, server.
nameString!
pathString
providerS3ProviderOne of AWS, BACKBLAZE_B2, CLOUDFLARE_R2, DIGITALOCEAN, MINIO, OTHER, WASABI.
regionString
s3ExtraArgsString
secretKeyString
serverIdString

CreateRoleInput

FieldTypeDescription
capabilities[Capability!]
descriptionString
nameString!
requireTwoFactorBoolean
scopeRoleScopeInput

CreateTokenInput

FieldTypeDescription
appIds[String!]
capabilities[Capability!]
expiresAtString
folderIds[String!]
instanceAdminBoolean
mcpAgentStringThe agent this token is for, as the connect wizard names it ("claude-code", "cursor", ...).
nameString!
projectIds[String!]
teamIds[String!]

CronJobEnvInput

One extra variable for a job. The value is encrypted at rest and reaches the host inside the mTLS RPC - it is never readable back.

FieldTypeDescription
keyString!
valueStringOmit (or null) when editing to keep the stored value of an existing variable.

CronJobInput

Every field is optional so one input serves create and edit; create requires name, schedule and command.

FieldTypeDescription
commandString
descriptionString
enabledBoolean
env[CronJobEnvInput!]Replaces the job's variables wholesale when present.
keepRunsInt10 to 500.
maxAttemptsInt1 to 4. 1 means no retry.
nameString
overlapStringskip | allow.
scheduleString5-field cron.
serviceStringEmpty => the target's own container.
shellStringsh | bash.
timeoutSecondsIntPer attempt, 1s to 24h.
timezoneStringIANA zone, e.g. Europe/Rome.
userString
workdirString

DatabaseMountInput

One config file to write next to the database's stack and bind-mount into its container. filePath is relative to the stack's files directory; mountPath is the absolute path inside the container and may not be inside the engine's data directory.

FieldTypeDescription
contentString!
filePathString!
mountPathString!

DeleteUserInput

FieldTypeDescription
deleteCreatedAppsBoolean
deleteFoundedTeamsBoolean
deleteOwnedWorkspacesBoolean
userIdString!

DeploMoveServerMapInput

Where one of the old Deplo's servers lands here. A server left out of the map takes its preview target.

FieldTypeDescription
fromString!The old Deplo's server id.
toStringA server id here, from the preview's choices. Ignored for a migration source.

DomainConfigInput

Per-domain routing config; an omitted certProvider means no certificate (plain HTTP), unless the add-time DNS check finds the host proxied through Cloudflare, then it is stored as letsencrypt.

FieldTypeDescription
certProviderCertProviderOne of cloudflare, custom, letsencrypt, none.
corsOrigins[String!]
entrypointDomainEntrypointOne of web, websecure.
middlewares[String!]
pathPrefixString
portInt
proxiedBooleanAnother proxy answers for it. In a domain connected for automatic DNS, Deplo makes its record with Cloudflare's proxy on; omitted, DNS only.
securityHeadersBooleanOmitted means on.
serviceString
stripPrefixBoolean
tunnelBooleanServe it through a Cloudflare Tunnel. Needs a domain connected for automatic DNS that covers this name; certProvider, entrypoint, proxied and www are then ignored.
wwwDomainWwwRedirectOne of none, toCounterpart, toThis.

DomainPatchInput

Partial domain edit; only the provided fields are changed. Null clears an override.

FieldTypeDescription
certProviderCertProviderOne of cloudflare, custom, letsencrypt, none.
corsOrigins[String!]
entrypointDomainEntrypointOne of web, websecure.
middlewares[String!]
nameString
pathPrefixString
portInt
proxiedBooleanAnother proxy answers for it. When Deplo made its record in Cloudflare, that record's proxy follows: on, or DNS only straight to the server.
securityHeadersBoolean
serviceString
stripPrefixBoolean
tunnelBooleanServe it through the server's Cloudflare Tunnel, or point it back at the server. Only for a domain whose record Deplo made.
wwwDomainWwwRedirectOne of none, toCounterpart, toThis.

EnvEntryInput

FieldTypeDescription
keyString!
noteStringAt most 1000 characters. Left out keeps the stored note; an empty string removes it.
secretBooleanStore it as a secret. Left out stores it plain; a name already holding a secret is skipped either way.
valueString!

ExecConsoleInput

FieldTypeDescription
appIdString!
commandString!
containerNameString

ExecDatabaseConsoleInput

FieldTypeDescription
commandString!
databaseIdString!

ExtraDomainInput

An extra (non-primary) routed host: the compose service + port it targets, its hostname and the path it answers on. No hostname => one is generated. Registered as an auto Domain row at creation; the domains table is the sole routing source after.

FieldTypeDescription
hostString
pathString
portInt!
serviceString!

GitRepoInput

FieldTypeDescription
branchString!
connectionIdStringA git connection (any other host) that authenticates the clone and carries the push webhook.
installationIdStringA GitHub App installation that authenticates the clone.
providerString!github | gitlab | bitbucket | gitea | git. Anything else is stored as git.
repoString!
submodulesBoolean
triggerTypeString"push" or "tag".
urlString!
watchPaths[String!]

HealthCheckInput

A health check to save. Send null instead to turn it off. An http check is asked BY DEPLO through the agent, so it works on any image and never changes routing; a command check runs inside the container as a compose healthcheck:.

FieldTypeDescription
commandString
intervalSInt!
pathString
portInt
retriesInt!
startPeriodSInt!
timeoutSInt!
typeHealthCheckType!One of command, http.

MigrationPlacementInput

Where one service lands. serviceId is the sourceId a scan reports. Omit buildServerId (or send null) for Automatic - Deplo uses a build server if the fleet has one, and compiles where the app runs otherwise.

FieldTypeDescription
buildServerIdString
exposedPortIntA database's host port. Omit the field to keep the port it had over there (what the import has always done); send null to publish nothing; send a number to publish there instead - which is how a review resolves a port something else already holds on the target server. Ignored for anything that is not a database.
serverIdString!
serviceIdString!

MigrationQueuedTeamInput

FieldTypeDescription
apiKeyString!That team's own token - a key reads exactly one team.
newTeamImageString
newTeamNameString
orgNameString
servers[MigrationServerChoiceInput!]
targets[MigrationRunTargetInput!]!
teamIdStringThe Deplo team it lands in. Omit to have one created for it now, named by newTeamName.

MigrationRunTargetInput

FieldTypeDescription
buildServerIdString
exposedPortIntA database's host port. THREE values, and the difference matters: omitted keeps the source's own, null publishes nothing, a number publishes there.
projectIdString!
projectNameString!Shown while the run works through it, so the runner needs no second read of the API for a name.
serverIdString
serviceIdString!Empty picks the project itself, so a project with nothing in it still comes across.

MigrationServerChoiceInput

Map one of the panel's servers onto one of ours. from is that server's id, or the empty string for the panel's own host.

FieldTypeDescription
fromString!
toString!

MigrationSourceInput

FieldTypeDescription
apiKeyString!The panel's API key or token. Dokploy: Settings -> Profile -> API/CLI. Coolify: Keys & Tokens -> API tokens, with root ticked - a narrower token cannot read values or stop a service, and Deplo refuses it at Connect. Use an owner's or admin's either way: a plain member's is refused. Another Deplo: an API token there, limited to the one team, with Reveal secret values, Start & stop apps and Start & stop databases. Stored encrypted only for as long as the migration needs it, then wiped.
kindMigrationPlatformRead the panel as this product. Omit it and Deplo works out which it is from the address and the token. One of coolify, deplo, dokploy.
urlString!The panel's address. Deplo appends the API path itself, so paste the address you open in a browser.

MintRegistrationLinkInput

FieldTypeDescription
modeRegistrationMode!One of existing_teams, own_team.
teamAssignments[RegistrationTeamAssignmentInput!]

MountInput

A config file a template materialises into its stack at deploy.

FieldTypeDescription
contentString!
filePathString!

NodeGrantInput

One capability set, applied to every node named here. Send several to give different nodes different sets.

FieldTypeDescription
appIds[String!]
capabilities[Capability!]!
folderIds[String!]
projectIds[String!]

PublishedPortInput

A host port an app publishes.

FieldTypeDescription
idString
protocolString
publishedInt!
targetInt!

RegistrationTeamAssignmentInput

FieldTypeDescription
capabilities[Capability!]
roleRole!One of member, owner, viewer.
teamIdString!

ResourceLimitsInput

Per-container resource caps. Every field is optional and independently nullable (null => that dimension is uncapped); the form sends the full set on each save. Memory in MiB, disk in GiB, CPU in milli-CPUs (1000 = one core).

FieldTypeDescription
cpuMilliInt
cpuSharesInt
cpusetString
memoryMbInt
memoryReservationMbInt
nofileInt
nprocInt
oomScoreAdjInt
pidsLimitInt
shmSizeMbInt
storageGbInt
swapMbInt

RoleScopeInput

The nodes a role reaches. Ticking a project, one of its environments or a folder covers everything inside it, now and later; omit the field entirely for the whole team.

FieldTypeDescription
appIds[String!]
environmentIds[String!]
folderIds[String!]
projectIds[String!]

SaveSharedVarInput

Create (omit id) or update (provide id) one shared variable. It must be shared with something: the team, ≥1 environment, ≥1 project, or ≥1 app.

FieldTypeDescription
appIds[String!]The per-app links, as a whole set. OMIT to leave the existing links untouched - that is what preserves setSharedVarAppLink's app-side toggle.
environmentIds[ID!]!
idString
keyString!
noteStringAt most 1000 characters. Left out keeps the stored note; an empty string removes it.
projectIds[ID!]!
targets[EnvTarget!]One of preview, production.
teamWideBoolean!Offer it to every app of the active team. It is SUGGESTED there; the per-app link injects (ADR-0012).
typeEnvVarType!One of plain, secret.
valueString!

SetMemberAccessInput

Deliberately carries no teamId: the active team is the caller's, and an id here would be a way to write another team's memberships.

FieldTypeDescription
capabilities[Capability!]
grants[NodeGrantInput!]
granularBoolean!
roleIdString!
userIdString!

SetServerTeamsInput

Set which teams may target a server. allTeams: true opens it to every team (clearing specific grants); false restricts it to teamIds.

FieldTypeDescription
allTeamsBoolean!
serverIdString!
teamIds[String!]

SetUserTeamAccessInput

FieldTypeDescription
grants[NodeGrantInput!]
granularBoolean!
roleIdString!
teamIdString!
userIdString!

ShellLabelInput

FieldTypeDescription
appIdString!
containerNameString

TraefikLabelInput

FieldTypeDescription
keyString!
valueString!

UpdateBackupInput

FieldTypeDescription
destinationIdString!
nameString!
retentionCountInt!
scheduleString!
timezoneString

UpdateDatabaseImageInput

FieldTypeDescription
customCommandString
customImageString
versionString

UpdateDatabaseInput

FieldTypeDescription
exposedPortInt
exposedPubliclyBoolean!
serverIdID

UpdateGitConnectionInput

FieldTypeDescription
labelString
tokenStringA replacement token. Omit to keep the stored one.
usernameString

UpdateMemberInput

FieldTypeDescription
capabilities[Capability!]
roleRoleOne of member, owner, viewer.
roleIdString
userIdString!

UpdateRoleInput

FieldTypeDescription
capabilities[Capability!]
clearScopeBoolean
descriptionString
idString!
nameString!
requireTwoFactorBoolean
scopeRoleScopeInput

UpdateSourceInput

FieldTypeDescription
composeString
dockerImageString
repoGitRepoInput
serverIdString
sourceDeploySource!One of COMPOSE, DOCKER_IMAGE, GIT, GITHUB, UPLOAD.

UpdateTeamInput

FieldTypeDescription
nameString
requireTwoFactorBoolean

UpdateTokenInput

FieldTypeDescription
appIds[String!]
capabilities[Capability!]
expiresAtString
folderIds[String!]
idString!
instanceAdminBoolean
nameString!
projectIds[String!]
teamIds[String!]

UpdateUserAdminInput

FieldTypeDescription
canConfigureTraefikBoolean
canExposePortsBoolean
canMountHostVolumesBoolean
isInstanceAdminBoolean!
newPasswordString
suspendedBoolean!
userIdString!

UpsertEnvInput

FieldTypeDescription
appIdString!
keyString!
noteStringAt most 1000 characters. Left out keeps the stored note; an empty string removes it.
targets[EnvTarget!]One of preview, production.
typeEnvVarType!One of plain, secret.
valueString!

UserTeamInput

FieldTypeDescription
roleIdString
teamIdString!
userIdString!

VolumeInput

A persistent volume mounted into an app.

FieldTypeDescription
hostPathString
idString
mountPathString!
nameString
projectPathString
propagationMountPropagationOne of rshared, rslave.
readOnlyBoolean
serviceString
typeVolumeKindOne of app, host, named, service.

Did this page help you?

On this page