Skip to main content

All types

Every published core API type has a reference page generated from the Dagger GraphQL schema.

TypeDescription
AddressA standardized address to load containers, directories, secrets, and other object types. Address format depends on the type, and is validated at type selection.
BindingNo description.
CacheVolumeA directory whose contents persist across runs.
ChangesetA comparison between two directories representing changes that can be applied.
CheckNo description.
CheckGroupNo description.
ClientFilesyncMirrorAn internal persistent filesync mirror.
CloudDagger Cloud configuration and state
ContainerAn OCI-compatible container, also known as a Docker container.
CurrentModuleReflective module API provided to functions at runtime.
DiffStatNo description.
DirectoryA directory.
EngineThe Dagger engine configuration and state
EngineCacheA cache storage for the Dagger engine
EngineCacheEntryAn individual cache entry in a cache entry set
EngineCacheEntrySetA set of cache entries returned by a query to a cache
EnumTypeDefA definition of a custom enum defined in a Module.
EnumValueTypeDefA definition of a value in a custom enum defined in a Module.
EnvNo description.
EnvFileA collection of environment variables.
EnvVariableAn environment variable name and value.
ErrorNo description.
ErrorValueNo description.
ExportableAn object that can be exported to the host. Calling export writes the object to a path on the host filesystem and returns the path that was written.
FieldTypeDefA definition of a field on a custom object defined in a Module. A field on an object has a static value, as opposed to a function on an object whose value is computed by invoking code (and can accept arguments).
FileA file.
FunctionFunction represents a resolver provided by a Module. A function always evaluates against a parent object and is given a set of named arguments.
FunctionArgAn argument accepted by a function. This is a specification for an argument at function definition time, not an argument passed at function call time.
FunctionCallAn active function call.
FunctionCallArgValueA value passed as a named argument to a function call.
GeneratedCodeThe result of running an SDK's codegen.
GeneratorNo description.
GeneratorGroupNo description.
GitRefA git ref (tag, branch, or commit).
GitRepositoryA git repository.
HealthcheckConfigImage healthcheck configuration.
HostInformation about the host environment.
HTTPStateAn internal persistent HTTP state.
InputTypeDefA graphql input type, which is essentially just a group of named args. This is currently only used to represent pre-existing usage of graphql input types in the core API. It is not used by user modules and shouldn't ever be as user module accept input objects via their id rather than graphql input types.
InterfaceTypeDefA definition of a custom interface defined in a Module.
JSONValueNo description.
LabelA simple key value object that represents a label.
ListTypeDefA definition of a list type in a Module.
LLMNo description.
LLMTokenUsageNo description.
ModuleA Dagger module.
ModuleConfigClientThe client generated for the module.
ModuleSourceThe source needed to load and run a module, along with any metadata about the source such as versions/urls/etc.
NodeAn object with a globally unique ID.
ObjectTypeDefA definition of a custom object defined in a Module.
PortA port exposed by a container.
QueryThe root of the DAG.
RemoteGitMirrorAn internal persistent bare git mirror.
ScalarTypeDefA definition of a custom scalar defined in a Module.
SDKConfigThe SDK config of the module.
SearchResultNo description.
SearchSubmatchNo description.
SecretA reference to a secret value, which can be handled more safely than the value itself.
ServiceA content-addressed service providing TCP connectivity.
SocketA Unix or TCP/IP socket that can be mounted into a container.
SourceMapSource location information.
StatA file or directory status object.
SyncerAn object that can be force-evaluated. Calling sync ensures that the object's entire dependency DAG has been evaluated, returning the object's ID once complete.
TerminalAn interactive terminal that clients can connect to.
TypeDefA definition of a parameter or return type in a Module.
UpNo description.
UpGroupNo description.
WorkspaceA Dagger workspace detected from the current working directory or constructed from a Directory.
WorkspaceGitLocal git state for a workspace.
WorkspaceMigrationA planned workspace migration.
WorkspaceMigrationStepA single logical part of a workspace migration.
WorkspaceModuleA module entry in the workspace configuration.
WorkspaceModuleSettingA constructor-backed module setting.