Deploy types
Type definitions referenced by Deploy queries and mutations.
AgentMessage
Section titled “AgentMessage”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
sequence |
Int! |
Monotonic per-session ordering key; feed the max back as afterSequence when polling. |
role |
String! |
One of: user, assistant, tool. |
content |
String |
— |
tool_calls |
JSON |
Anthropic-shaped tool_use blocks requested in this assistant turn. |
tool_results |
JSON |
{tool_use_id, name, output, is_error} rows for executed tools. |
created_at |
String! |
— |
AgentModelOption
Section titled “AgentModelOption”Object.
| Field | Type | Description |
|---|---|---|
id |
String! |
— |
model |
String! |
Provider model id, e.g. claude-sonnet-5-5. |
effort |
String! |
Provider effort level: low, medium, high, xhigh or max. |
label |
String! |
— |
description |
String! |
— |
speed |
Int! |
0–100, relative to the other options: higher = faster responses. |
economy |
Int! |
0–100, relative to the other options: higher = cheaper per turn. |
quality |
Int! |
0–100, relative to the other options: higher = more capable. |
is_default |
Boolean! |
— |
input_price_micros |
Int! |
Billed AI-credit price per million input tokens, USD micros (markup included). |
output_price_micros |
Int! |
Billed AI-credit price per million output tokens (incl. thinking), USD micros (markup included). |
AgentSession
Section titled “AgentSession”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
project_id |
Int! |
— |
status |
String! |
One of: idle, running, completed, failed, cancelled. |
error |
String |
— |
model_option |
String |
agentModelOptions id the session runs on (null = the platform default model). |
charged_minor |
Int! |
AI credits (USD minor units, incl. markup) debited for this session’s model calls so far. |
created_at |
String! |
— |
updated_at |
String! |
— |
AgentSessionDetail
Section titled “AgentSessionDetail”Object.
| Field | Type | Description |
|---|---|---|
session |
AgentSession! |
— |
messages |
[AgentMessage!]! |
Messages with sequence > afterSequence, oldest first. |
Application
Section titled “Application”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
name |
String! |
— |
kind |
String! |
One of: api, frontend, worker. |
source_config |
JSON |
Where the built artifact lives, e.g. {image_ref} or {artifact_url}/{script}. |
target_config |
JSON |
Where on the provider this deploys, e.g. {cluster, service} or {script_name}. |
env_var_names |
[String!]! |
Names only — actual values live encrypted in EnvVarSet, never returned here. |
provider_connection |
ProviderConnection |
— |
webhook_url |
String! |
CI push-to-deploy URL for this application (per-app token embedded). |
deployments |
DeploymentConnection! |
Cursor-paginated deployments for this application, resolved lazily (not eager-loaded). |
created_at |
String! |
— |
updated_at |
String! |
— |
ApplicationConnection
Section titled “ApplicationConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[ApplicationEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
ApplicationEdge
Section titled “ApplicationEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Application! |
— |
cursor |
String! |
— |
ApplicationFilter
Section titled “ApplicationFilter”Input object. Filter for the applications list.
| Field | Type | Description |
|---|---|---|
search |
String |
Free-text match on the application name. |
kind |
String |
One of: api, frontend, worker. |
Boolean
Section titled “Boolean”Scalar. The Boolean scalar type represents true or false.
CommandResult
Section titled “CommandResult”Object.
| Field | Type | Description |
|---|---|---|
stdout |
String! |
— |
stderr |
String! |
— |
exit_code |
Int! |
— |
ConnectProjectDomainInput
Section titled “ConnectProjectDomainInput”Input object.
| Field | Type | Description |
|---|---|---|
domain_uuid |
String! |
A domain uuid from orgDomains. |
hostname |
String! |
Fully-qualified hostname under that domain, e.g. “app.example.com”. |
auto_dns |
Boolean |
Create the CNAME through the domain’s connected DNS provider (only possible when it has an API token attached in settings). Default false: the user adds it by hand. |
ConnectProjectRepositoryInput
Section titled “ConnectProjectRepositoryInput”Input object.
| Field | Type | Description |
|---|---|---|
git_connection_id |
Int! |
— |
repository |
String |
Existing repository to link (“owner/repo”). Omit to create one named after the project slug. |
private |
Boolean |
Visibility when creating a new repository (default true). |
CreateApplicationInput
Section titled “CreateApplicationInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String! |
— |
kind |
String! |
— |
source_config |
JSON |
— |
target_config |
JSON |
— |
provider_connection_id |
Int |
— |
CreateConnectionInput
Section titled “CreateConnectionInput”Input object.
| Field | Type | Description |
|---|---|---|
provider_key |
String! |
— |
name |
String! |
— |
credentials |
JSON! |
Shape depends on provider_key; see ProviderMeta.credential_fields. |
CreateGitConnectionInput
Section titled “CreateGitConnectionInput”Input object.
| Field | Type | Description |
|---|---|---|
provider |
String! |
One of: github, gitlab. |
name |
String |
Display name; defaults to “<Provider> (<login>)”. |
token |
String! |
Personal access token; verified upstream, then stored encrypted. Never echoed back. |
CreateProjectInput
Section titled “CreateProjectInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String! |
— |
slug |
String |
Optional; derived from name when omitted. Lowercase letters, digits, hyphens. |
framework |
String! |
— |
database_kind |
String |
— |
hosting_tier |
String |
— |
prompt |
String |
The wizard’s “describe your app” text; seeds the first agent session. |
CustomDomainSetup
Section titled “CustomDomainSetup”Object. Everything the connect-domain guide shows for one hostname.
| Field | Type | Description |
|---|---|---|
hostname |
String! |
— |
zone |
String! |
The settings domain (DNS zone) the hostname belongs to. |
record_type |
String! |
Always CNAME. |
record_name |
String! |
Record name relative to the zone (“@” for the zone apex). |
record_value |
String! |
What the record must point to (the platform’s custom-domain target). |
is_apex |
Boolean! |
True when connecting the zone apex, where many DNS hosts disallow CNAME records. |
dns_host_key |
String |
Company hosting the zone’s DNS, detected from its nameservers (cloudflare, godaddy, namecheap, route53, squarespace, …); null when unknown. |
dns_host_name |
String |
— |
auto_available |
Boolean! |
True when the domain has an API token attached in settings, so the record can be created automatically. |
auto_provider_name |
String |
— |
connected |
Boolean! |
True when this hostname is the project’s connected custom domain. |
dns_status |
String! |
ok (resolves to the platform), missing (no record yet), mismatch (points elsewhere — see dns_found). |
dns_found |
String |
Current CNAME target of the hostname, if any. |
hostname_status |
String |
Cloudflare custom hostname status once connected (pending, active, …). |
certificate_status |
String |
Cloudflare certificate status once connected (pending_validation, active, …). |
live |
Boolean! |
True when the hostname is connected, routed, and serving over HTTPS. |
Deployment
Section titled “Deployment”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
number |
Int! |
Sequential per-application deployment number (not a global id). |
status |
String! |
One of: queued, in_progress, succeeded, failed, rolled_back. |
provider_ref |
String |
Provider-specific reference (ECS task def ARN, Cloudflare script id, webhook delivery id, …). |
log |
String |
Plain-text, append-only lifecycle log. |
triggered_by_user_id |
String |
— |
started_at |
String |
— |
finished_at |
String |
— |
created_at |
String! |
— |
DeploymentConnection
Section titled “DeploymentConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[DeploymentEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
DeploymentEdge
Section titled “DeploymentEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Deployment! |
— |
cursor |
String! |
— |
DeploymentFilter
Section titled “DeploymentFilter”Input object. Filter for the deployments list.
| Field | Type | Description |
|---|---|---|
status |
String |
One of: queued, in_progress, succeeded, failed, rolled_back. |
EnvVarInput
Section titled “EnvVarInput”Input object. value is nullable: omit it (or pass null) to keep a name’s existing encrypted value unchanged (used by the frontend’s masked env var editor, which never has plaintext to resend for untouched variables). A name with no existing value and a null value is rejected as BAD_USER_INPUT. Names present in a previous setEnvVars call but absent from this call’s list are removed.
| Field | Type | Description |
|---|---|---|
name |
String! |
— |
value |
String |
— |
EnvVarSetSummary
Section titled “EnvVarSetSummary”Object. Confirmation payload for setEnvVars — never echoes values back.
| Field | Type | Description |
|---|---|---|
application_id |
Int! |
— |
names |
[String!]! |
— |
updated_at |
String! |
— |
FrameworkOption
Section titled “FrameworkOption”Object. One of the five supported framework paths, as presented by the wizard.
| Field | Type | Description |
|---|---|---|
key |
String! |
static_html | static_react | react_router | nestjs_react | symfony_twig | symfony_react. |
label |
String! |
— |
description |
String! |
— |
deployment_target |
String! |
Fixed deployment target description, e.g. “Cloudflare Workers” or “AWS + Cloudflare Workers”. |
allowed_databases |
[String!]! |
Database kinds this path may select (none|mysql|postgres|d1|kv|durable_objects|hyperdrive). |
allowed_tiers |
[String!]! |
Hosting tiers this path may select (single|ha_ecs|ha_beanstalk). |
implemented |
Boolean! |
False while the path’s deploy pipeline is still in a later build phase. |
FrameworkSuggestion
Section titled “FrameworkSuggestion”Object.
| Field | Type | Description |
|---|---|---|
framework |
String! |
— |
database_kind |
String! |
— |
hosting_tier |
String! |
— |
reasoning |
String! |
— |
GitActionResult
Section titled “GitActionResult”Object.
| Field | Type | Description |
|---|---|---|
message |
String! |
— |
GitConnection
Section titled “GitConnection”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
provider |
String! |
One of: github, gitlab. |
name |
String! |
— |
account_login |
String! |
Provider account the token belongs to (e.g. GitHub login). |
created_at |
String! |
— |
updated_at |
String! |
— |
Scalar. The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Scalar. Arbitrary JSON value (objects, arrays, scalars). Serialized as-is.
OrgDomain
Section titled “OrgDomain”Object. A domain registered in settings (deploy proxies the list; domains live only there).
| Field | Type | Description |
|---|---|---|
uuid |
String! |
— |
domain |
String! |
— |
dns_provider |
String |
cloudflare | godaddy | namecheap | domain_connect; null when DNS is managed manually. |
PageInfo
Section titled “PageInfo”Object.
| Field | Type | Description |
|---|---|---|
hasNextPage |
Boolean! |
— |
hasPreviousPage |
Boolean! |
— |
startCursor |
String |
— |
endCursor |
String |
— |
PreviewInfo
Section titled “PreviewInfo”Object.
| Field | Type | Description |
|---|---|---|
url |
String! |
Token-gated dev-server URL (token embedded; expires after ~30 minutes). |
Project
Section titled “Project”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
name |
String! |
— |
slug |
String! |
Org-unique DNS-safe label; doubles as the managed Workers script name. |
framework |
String! |
— |
database_kind |
String! |
— |
hosting_tier |
String! |
— |
prompt |
String |
— |
sandbox_ready |
Boolean! |
True once the sandbox working copy exists (file APIs and the agent become usable). |
application_id |
Int |
The managed Application created on first deploy (reuses the deployments UI), if any. |
git_connection_id |
Int |
— |
git_provider |
String |
github | gitlab (null until a repository is connected). |
git_repository |
String |
Linked repository path, e.g. “owner/repo”. |
git_branch |
String |
— |
custom_domain |
String |
Custom hostname attached to the managed deployment, if any. |
last_deployment_status |
String |
Status of the newest deployment (queued, in_progress, succeeded, failed, rolled_back); null before the first deploy. |
last_deployed_at |
String |
When the most recent successful deployment finished. |
platform_url |
String |
Platform URL (https://<slug>-<org8>.<apps domain>) once a managed deployment has succeeded. |
live_url |
String |
Where the deployed site is served: the custom domain when connected, else platform_url. |
custom_domain_target |
String |
Hostname the custom domain must CNAME to (added automatically when its DNS provider is connected in settings). |
custom_domain_status |
String |
Cloudflare status of the custom hostname: pending until DNS points here and the certificate is issued, then active. |
dns_auto_configured |
Boolean |
Only in the connectProjectDomain response: whether the CNAME was created through the domain’s DNS provider. |
dns_setup_error |
String |
Only in the connectProjectDomain response: why the CNAME must be added by hand (null when dns_auto_configured). |
created_at |
String! |
— |
updated_at |
String! |
— |
ProjectConnection
Section titled “ProjectConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[ProjectEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
ProjectEdge
Section titled “ProjectEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Project! |
— |
cursor |
String! |
— |
ProjectFilter
Section titled “ProjectFilter”Input object. Filter for the builder projects list.
| Field | Type | Description |
|---|---|---|
search |
String |
Free-text match on the project name or slug. |
framework |
String |
— |
ProviderConnection
Section titled “ProviderConnection”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
provider_key |
String! |
— |
name |
String! |
— |
status |
String! |
One of: untested, active, invalid. |
last_tested_at |
String |
— |
created_at |
String! |
— |
updated_at |
String! |
— |
ProviderMeta
Section titled “ProviderMeta”Object. One credential-field descriptor, used by the frontend to render a dynamic credential form.
| Field | Type | Description |
|---|---|---|
key |
String! |
— |
label |
String! |
— |
credential_fields |
JSON! |
List of {name, label, type, required, secret, help_text?} form field descriptors. |
SearchMatch
Section titled “SearchMatch”Object.
| Field | Type | Description |
|---|---|---|
path |
String! |
— |
line |
Int! |
— |
text |
String! |
— |
SortDirection
Section titled “SortDirection”Enum. Sort direction for list queries.
| Value | Description |
|---|---|
ASC |
— |
DESC |
— |
SortInput
Section titled “SortInput”Input object. Generic sort specifier (DataTable convention): a whitelisted field name plus a direction.
| Field | Type | Description |
|---|---|---|
field |
String! |
— |
direction |
SortDirection! |
— |
String
Section titled “String”Scalar. The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
UpdateApplicationInput
Section titled “UpdateApplicationInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String |
— |
kind |
String |
— |
source_config |
JSON |
— |
target_config |
JSON |
— |
provider_connection_id |
Int |
— |
WorkspaceFile
Section titled “WorkspaceFile”Object.
| Field | Type | Description |
|---|---|---|
path |
String! |
— |
type |
String! |
file | directory. |
size |
Int! |
— |
WorkspaceFileContent
Section titled “WorkspaceFileContent”Object.
| Field | Type | Description |
|---|---|---|
path |
String! |
— |
content |
String! |
— |