Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
165 changes: 160 additions & 5 deletions data/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2883,8 +2883,10 @@ input CreateAccessTokenInput
"""The ID of the model deployment for which the access token is created."""
modelDeploymentId: ID!

"""The expiration timestamp of the access token."""
expiresAt: DateTime
"""
The expiration timestamp of the access token. Required — callers must decide the token lifetime themselves.
"""
expiresAt: DateTime!
}

"""Added in 25.16.0. Payload for creating an access token."""
Expand Down Expand Up @@ -3068,7 +3070,7 @@ input CreateDeploymentInput
metadata: ModelDeploymentMetadataInput!
networkAccess: ModelDeploymentNetworkAccessInput!
defaultDeploymentStrategy: DeploymentStrategyInput!
desiredReplicaCount: Int!
replicaCount: Int!
initialRevision: CreateRevisionInput = null
}

Expand Down Expand Up @@ -3103,6 +3105,57 @@ input CreateDeploymentRevisionPresetInput

"""Default deployment strategy for deployments created from this preset."""
deploymentStrategy: PresetDeploymentStrategyInput = null

"""Added in UNRELEASED. Container image to run the inference server."""
imageId: UUID!

"""
Added in UNRELEASED. Detailed explanation of when and why to use this preset configuration.
"""
description: String = null

"""
Added in UNRELEASED. Parsed model definition specifying health checks, ports, and service configuration for the inference endpoint.
"""
modelDefinition: ModelDefinitionInput = null

"""
Added in UNRELEASED. Resource slot allocations (e.g. cpu, mem, cuda.device).
"""
resourceSlots: [ResourceSlotEntryInput!] = null

"""
Added in UNRELEASED. Additional resource options such as shared memory (shmem) size.
"""
resourceOpts: [ResourceOptsEntryInput!] = null

"""
Added in UNRELEASED. Deployment topology mode (single-node or multi-node).
"""
clusterMode: ClusterMode = null

"""Added in UNRELEASED. Number of worker nodes in the cluster."""
clusterSize: Int = null

"""
Added in UNRELEASED. Command to start the inference server process inside the container.
"""
startupCommand: String = null

"""
Added in UNRELEASED. Script executed before the main process starts (e.g. to download model weights).
"""
bootstrapScript: String = null

"""
Added in UNRELEASED. Environment variables injected into the inference container.
"""
environ: [EnvironEntryInput!] = null

"""
Added in UNRELEASED. Runtime variant preset values applied when using this deployment preset.
"""
presetValues: [DeploymentRevisionPresetValueEntryInput!] = null
}

"""Added in 26.4.2. Create deployment revision preset payload."""
Expand Down Expand Up @@ -4328,6 +4381,22 @@ type DelegateScanArtifactsPayload
artifacts: [Artifact!]!
}

"""Added in UNRELEASED. Input for deleting an access token."""
input DeleteAccessTokenInput
@join__type(graph: STRAWBERRY)
{
"""The ID of the access token to delete."""
id: ID!
}

"""Added in UNRELEASED. Payload for deleting an access token."""
type DeleteAccessTokenPayload
@join__type(graph: STRAWBERRY)
{
"""ID of the deleted access token"""
id: UUID!
}

"""
Added in 24.09.0. Input for soft-deleting artifacts from the system.

Expand Down Expand Up @@ -5121,6 +5190,19 @@ type DeploymentRevisionPresetEdge
node: DeploymentRevisionPreset!
}

"""
Added in 26.4.2. A single environment variable key-value pair injected into the inference container when a deployment revision preset is applied.
"""
type DeploymentRevisionPresetEnvironEntry
@join__type(graph: STRAWBERRY)
{
"""Environment variable key."""
key: String!

"""Environment variable value."""
value: String!
}

"""Added in 26.4.2. Filter for deployment revision presets."""
input DeploymentRevisionPresetFilter
@join__type(graph: STRAWBERRY)
Expand Down Expand Up @@ -5165,6 +5247,19 @@ type DeploymentRevisionPresetValueEntry
value: String!
}

"""
Added in UNRELEASED. A mapping of a runtime variant preset to a concrete value, used to auto-configure runtime parameters when this deployment preset is applied.
"""
input DeploymentRevisionPresetValueEntryInput
@join__type(graph: STRAWBERRY)
{
"""The runtime variant preset that this value applies to."""
presetId: UUID!

"""The concrete value to set for the referenced preset parameter."""
value: String!
}

"""Added in 24.09.0. Scope for deployment scheduling history query"""
input DeploymentScope
@join__type(graph: STRAWBERRY)
Expand Down Expand Up @@ -6439,6 +6534,19 @@ type EntityTimestamps
modifiedAt: DateTime
}

"""
Added in UNRELEASED. A single environment variable entry with key and value.
"""
input EnvironEntryInput
@join__type(graph: STRAWBERRY)
{
"""Environment variable key (e.g., 'CUDA_VISIBLE_DEVICES')."""
key: String!

"""Environment variable value."""
value: String!
}

"""
Added in 26.1.0. A single environment variable entry with name and value.
"""
Expand Down Expand Up @@ -10677,6 +10785,9 @@ type Mutation
"""Added in 25.16.0. Create access token."""
createAccessToken(input: CreateAccessTokenInput!): CreateAccessTokenPayload! @join__field(graph: STRAWBERRY)

"""Added in UNRELEASED. Delete access token."""
deleteAccessToken(input: DeleteAccessTokenInput!): DeleteAccessTokenPayload! @join__field(graph: STRAWBERRY)

"""
Added in 25.19.0. Activate a specific revision to be the current revision
"""
Expand Down Expand Up @@ -11835,7 +11946,7 @@ type PresetExecutionSpec
bootstrapScript: String

"""Environment variables."""
environ: [EnvironmentVariableEntry!]!
environ: [DeploymentRevisionPresetEnvironEntry!]!
}

"""
Expand Down Expand Up @@ -17659,7 +17770,7 @@ input UpdateDeploymentInput
tags: [String!]
defaultDeploymentStrategy: DeploymentStrategyInput
activeRevisionId: ID
desiredReplicaCount: Int
replicaCount: Int
name: String
preferredDomainName: String
}
Expand Down Expand Up @@ -17733,6 +17844,50 @@ input UpdateDeploymentRevisionPresetInput
Default deployment strategy for deployments created from this preset. Set to null to clear.
"""
deploymentStrategy: PresetDeploymentStrategyInput

"""
Added in UNRELEASED. Container image for the inference server. Set to null to clear.
"""
imageId: UUID

"""Added in UNRELEASED. Parsed model definition. Set to null to clear."""
modelDefinition: ModelDefinitionInput

"""Added in UNRELEASED. Container startup command. Set to null to clear."""
startupCommand: String

"""
Added in UNRELEASED. Bootstrap script run before the main process. Set to null to clear.
"""
bootstrapScript: String

"""
Added in UNRELEASED. Replace resource slot allocations. Omit to leave unchanged.
"""
resourceSlots: [ResourceSlotEntryInput!] = null

"""
Added in UNRELEASED. Replace additional resource options. Omit to leave unchanged.
"""
resourceOpts: [ResourceOptsEntryInput!] = null

"""
Added in UNRELEASED. New cluster topology mode. Omit to leave unchanged.
"""
clusterMode: ClusterMode = null

"""Added in UNRELEASED. New cluster size. Omit to leave unchanged."""
clusterSize: Int = null

"""
Added in UNRELEASED. Replace environment variables. Omit to leave unchanged.
"""
environ: [EnvironEntryInput!] = null

"""
Added in UNRELEASED. Replace runtime variant preset values. Omit to leave unchanged.
"""
presetValues: [DeploymentRevisionPresetValueEntryInput!] = null
}

"""Added in 26.4.2. Update deployment revision preset payload."""
Expand Down
Loading
Loading