1. Packages
  2. Packages
  3. DigitalOcean Provider
  4. API Docs
  5. getGradientaiCustomModels
Viewing docs for DigitalOcean v4.71.0
published on Saturday, Jun 20, 2026 by Pulumi
digitalocean logo
Viewing docs for DigitalOcean v4.71.0
published on Saturday, Jun 20, 2026 by Pulumi

    Using getGradientaiCustomModels

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getGradientaiCustomModels(args: GetGradientaiCustomModelsArgs, opts?: InvokeOptions): Promise<GetGradientaiCustomModelsResult>
    function getGradientaiCustomModelsOutput(args: GetGradientaiCustomModelsOutputArgs, opts?: InvokeOptions): Output<GetGradientaiCustomModelsResult>
    def get_gradientai_custom_models(filters: Optional[Sequence[GetGradientaiCustomModelsFilter]] = None,
                                     sorts: Optional[Sequence[GetGradientaiCustomModelsSort]] = None,
                                     status: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetGradientaiCustomModelsResult
    def get_gradientai_custom_models_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetGradientaiCustomModelsFilterArgs]]]] = None,
                                     sorts: pulumi.Input[Optional[Sequence[pulumi.Input[GetGradientaiCustomModelsSortArgs]]]] = None,
                                     status: pulumi.Input[Optional[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetGradientaiCustomModelsResult]
    func GetGradientaiCustomModels(ctx *Context, args *GetGradientaiCustomModelsArgs, opts ...InvokeOption) (*GetGradientaiCustomModelsResult, error)
    func GetGradientaiCustomModelsOutput(ctx *Context, args *GetGradientaiCustomModelsOutputArgs, opts ...InvokeOption) GetGradientaiCustomModelsResultOutput

    > Note: This function is named GetGradientaiCustomModels in the Go SDK.

    public static class GetGradientaiCustomModels 
    {
        public static Task<GetGradientaiCustomModelsResult> InvokeAsync(GetGradientaiCustomModelsArgs args, InvokeOptions? opts = null)
        public static Output<GetGradientaiCustomModelsResult> Invoke(GetGradientaiCustomModelsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGradientaiCustomModelsResult> getGradientaiCustomModels(GetGradientaiCustomModelsArgs args, InvokeOptions options)
    public static Output<GetGradientaiCustomModelsResult> getGradientaiCustomModels(GetGradientaiCustomModelsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: digitalocean:index/getGradientaiCustomModels:getGradientaiCustomModels
      arguments:
        # arguments dictionary
    data "digitalocean_getgradientaicustommodels" "name" {
        # arguments
    }

    The following arguments are supported:

    getGradientaiCustomModels Result

    The following output properties are available:

    custom_models list(object)
    id string
    The provider-assigned unique ID for this managed resource.
    filters list(object)
    sorts list(object)
    status string
    customModels List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>
    sorts List<Property Map>
    status String

    Supporting Types

    GetGradientaiCustomModelsCustomModel

    ActiveDeployments List<Pulumi.DigitalOcean.Inputs.GetGradientaiCustomModelsCustomModelActiveDeployment>
    Active dedicated inference deployments referencing this custom model.
    Architecture string
    Model architecture as reported by the importer.
    ContextLength int
    Maximum context length supported by the model.
    CostEstimatePerMonth int
    Estimated monthly cost of running the custom model.
    CreatedAt string
    Timestamp when the custom model was created.
    Description string
    Description of the custom model.
    FileCount int
    Number of files that make up the imported model.
    InputModalities List<string>
    Input modalities supported by the model (e.g. text, image).
    License string
    License of the custom model, as reported by the source.
    Name string
    Human-readable name of the custom model.
    OutputModalities List<string>
    Output modalities produced by the model.
    Parameters string
    Parameter-count summary reported by the importer.
    SourceReves List<Pulumi.DigitalOcean.Inputs.GetGradientaiCustomModelsCustomModelSourceRef>
    Reference to the source from which the custom model was imported.
    SourceType string
    Source type of the custom model (e.g. SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET).
    Status string
    Current status of the custom model (e.g. STATUS_IMPORTING, STATUS_READY, STATUS_FAILED).
    StorageRegion string
    Region where the custom model artifacts are stored.
    Tags List<string>
    User-defined tags associated with the custom model.
    TeamId string
    ID of the team that owns the custom model.
    TotalSizeBytes string
    Total size of the imported model artifacts in bytes (string-encoded int64).
    UpdatedAt string
    Timestamp when the custom model was last updated.
    Uuid string
    UUID of the custom model.
    ActiveDeployments []GetGradientaiCustomModelsCustomModelActiveDeployment
    Active dedicated inference deployments referencing this custom model.
    Architecture string
    Model architecture as reported by the importer.
    ContextLength int
    Maximum context length supported by the model.
    CostEstimatePerMonth int
    Estimated monthly cost of running the custom model.
    CreatedAt string
    Timestamp when the custom model was created.
    Description string
    Description of the custom model.
    FileCount int
    Number of files that make up the imported model.
    InputModalities []string
    Input modalities supported by the model (e.g. text, image).
    License string
    License of the custom model, as reported by the source.
    Name string
    Human-readable name of the custom model.
    OutputModalities []string
    Output modalities produced by the model.
    Parameters string
    Parameter-count summary reported by the importer.
    SourceReves []GetGradientaiCustomModelsCustomModelSourceRef
    Reference to the source from which the custom model was imported.
    SourceType string
    Source type of the custom model (e.g. SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET).
    Status string
    Current status of the custom model (e.g. STATUS_IMPORTING, STATUS_READY, STATUS_FAILED).
    StorageRegion string
    Region where the custom model artifacts are stored.
    Tags []string
    User-defined tags associated with the custom model.
    TeamId string
    ID of the team that owns the custom model.
    TotalSizeBytes string
    Total size of the imported model artifacts in bytes (string-encoded int64).
    UpdatedAt string
    Timestamp when the custom model was last updated.
    Uuid string
    UUID of the custom model.
    active_deployments list(object)
    Active dedicated inference deployments referencing this custom model.
    architecture string
    Model architecture as reported by the importer.
    context_length number
    Maximum context length supported by the model.
    cost_estimate_per_month number
    Estimated monthly cost of running the custom model.
    created_at string
    Timestamp when the custom model was created.
    description string
    Description of the custom model.
    file_count number
    Number of files that make up the imported model.
    input_modalities list(string)
    Input modalities supported by the model (e.g. text, image).
    license string
    License of the custom model, as reported by the source.
    name string
    Human-readable name of the custom model.
    output_modalities list(string)
    Output modalities produced by the model.
    parameters string
    Parameter-count summary reported by the importer.
    source_reves list(object)
    Reference to the source from which the custom model was imported.
    source_type string
    Source type of the custom model (e.g. SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET).
    status string
    Current status of the custom model (e.g. STATUS_IMPORTING, STATUS_READY, STATUS_FAILED).
    storage_region string
    Region where the custom model artifacts are stored.
    tags list(string)
    User-defined tags associated with the custom model.
    team_id string
    ID of the team that owns the custom model.
    total_size_bytes string
    Total size of the imported model artifacts in bytes (string-encoded int64).
    updated_at string
    Timestamp when the custom model was last updated.
    uuid string
    UUID of the custom model.
    activeDeployments List<GetGradientaiCustomModelsCustomModelActiveDeployment>
    Active dedicated inference deployments referencing this custom model.
    architecture String
    Model architecture as reported by the importer.
    contextLength Integer
    Maximum context length supported by the model.
    costEstimatePerMonth Integer
    Estimated monthly cost of running the custom model.
    createdAt String
    Timestamp when the custom model was created.
    description String
    Description of the custom model.
    fileCount Integer
    Number of files that make up the imported model.
    inputModalities List<String>
    Input modalities supported by the model (e.g. text, image).
    license String
    License of the custom model, as reported by the source.
    name String
    Human-readable name of the custom model.
    outputModalities List<String>
    Output modalities produced by the model.
    parameters String
    Parameter-count summary reported by the importer.
    sourceReves List<GetGradientaiCustomModelsCustomModelSourceRef>
    Reference to the source from which the custom model was imported.
    sourceType String
    Source type of the custom model (e.g. SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET).
    status String
    Current status of the custom model (e.g. STATUS_IMPORTING, STATUS_READY, STATUS_FAILED).
    storageRegion String
    Region where the custom model artifacts are stored.
    tags List<String>
    User-defined tags associated with the custom model.
    teamId String
    ID of the team that owns the custom model.
    totalSizeBytes String
    Total size of the imported model artifacts in bytes (string-encoded int64).
    updatedAt String
    Timestamp when the custom model was last updated.
    uuid String
    UUID of the custom model.
    activeDeployments GetGradientaiCustomModelsCustomModelActiveDeployment[]
    Active dedicated inference deployments referencing this custom model.
    architecture string
    Model architecture as reported by the importer.
    contextLength number
    Maximum context length supported by the model.
    costEstimatePerMonth number
    Estimated monthly cost of running the custom model.
    createdAt string
    Timestamp when the custom model was created.
    description string
    Description of the custom model.
    fileCount number
    Number of files that make up the imported model.
    inputModalities string[]
    Input modalities supported by the model (e.g. text, image).
    license string
    License of the custom model, as reported by the source.
    name string
    Human-readable name of the custom model.
    outputModalities string[]
    Output modalities produced by the model.
    parameters string
    Parameter-count summary reported by the importer.
    sourceReves GetGradientaiCustomModelsCustomModelSourceRef[]
    Reference to the source from which the custom model was imported.
    sourceType string
    Source type of the custom model (e.g. SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET).
    status string
    Current status of the custom model (e.g. STATUS_IMPORTING, STATUS_READY, STATUS_FAILED).
    storageRegion string
    Region where the custom model artifacts are stored.
    tags string[]
    User-defined tags associated with the custom model.
    teamId string
    ID of the team that owns the custom model.
    totalSizeBytes string
    Total size of the imported model artifacts in bytes (string-encoded int64).
    updatedAt string
    Timestamp when the custom model was last updated.
    uuid string
    UUID of the custom model.
    active_deployments Sequence[GetGradientaiCustomModelsCustomModelActiveDeployment]
    Active dedicated inference deployments referencing this custom model.
    architecture str
    Model architecture as reported by the importer.
    context_length int
    Maximum context length supported by the model.
    cost_estimate_per_month int
    Estimated monthly cost of running the custom model.
    created_at str
    Timestamp when the custom model was created.
    description str
    Description of the custom model.
    file_count int
    Number of files that make up the imported model.
    input_modalities Sequence[str]
    Input modalities supported by the model (e.g. text, image).
    license str
    License of the custom model, as reported by the source.
    name str
    Human-readable name of the custom model.
    output_modalities Sequence[str]
    Output modalities produced by the model.
    parameters str
    Parameter-count summary reported by the importer.
    source_reves Sequence[GetGradientaiCustomModelsCustomModelSourceRef]
    Reference to the source from which the custom model was imported.
    source_type str
    Source type of the custom model (e.g. SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET).
    status str
    Current status of the custom model (e.g. STATUS_IMPORTING, STATUS_READY, STATUS_FAILED).
    storage_region str
    Region where the custom model artifacts are stored.
    tags Sequence[str]
    User-defined tags associated with the custom model.
    team_id str
    ID of the team that owns the custom model.
    total_size_bytes str
    Total size of the imported model artifacts in bytes (string-encoded int64).
    updated_at str
    Timestamp when the custom model was last updated.
    uuid str
    UUID of the custom model.
    activeDeployments List<Property Map>
    Active dedicated inference deployments referencing this custom model.
    architecture String
    Model architecture as reported by the importer.
    contextLength Number
    Maximum context length supported by the model.
    costEstimatePerMonth Number
    Estimated monthly cost of running the custom model.
    createdAt String
    Timestamp when the custom model was created.
    description String
    Description of the custom model.
    fileCount Number
    Number of files that make up the imported model.
    inputModalities List<String>
    Input modalities supported by the model (e.g. text, image).
    license String
    License of the custom model, as reported by the source.
    name String
    Human-readable name of the custom model.
    outputModalities List<String>
    Output modalities produced by the model.
    parameters String
    Parameter-count summary reported by the importer.
    sourceReves List<Property Map>
    Reference to the source from which the custom model was imported.
    sourceType String
    Source type of the custom model (e.g. SOURCE_TYPE_HUGGINGFACE, SOURCE_TYPE_SPACES_BUCKET).
    status String
    Current status of the custom model (e.g. STATUS_IMPORTING, STATUS_READY, STATUS_FAILED).
    storageRegion String
    Region where the custom model artifacts are stored.
    tags List<String>
    User-defined tags associated with the custom model.
    teamId String
    ID of the team that owns the custom model.
    totalSizeBytes String
    Total size of the imported model artifacts in bytes (string-encoded int64).
    updatedAt String
    Timestamp when the custom model was last updated.
    uuid String
    UUID of the custom model.

    GetGradientaiCustomModelsCustomModelActiveDeployment

    CreatedAt string
    Timestamp when the deployment was created.
    Endpoints List<Pulumi.DigitalOcean.Inputs.GetGradientaiCustomModelsCustomModelActiveDeploymentEndpoint>
    Endpoint URLs exposed by the deployment.
    Id string
    ID of the dedicated inference deployment.
    Name string
    Name of the dedicated inference deployment.
    RegionSlug string
    Region slug of the dedicated inference deployment.
    State string
    Current state of the deployment.
    UpdatedAt string
    Timestamp when the deployment was last updated.
    CreatedAt string
    Timestamp when the deployment was created.
    Endpoints []GetGradientaiCustomModelsCustomModelActiveDeploymentEndpoint
    Endpoint URLs exposed by the deployment.
    Id string
    ID of the dedicated inference deployment.
    Name string
    Name of the dedicated inference deployment.
    RegionSlug string
    Region slug of the dedicated inference deployment.
    State string
    Current state of the deployment.
    UpdatedAt string
    Timestamp when the deployment was last updated.
    created_at string
    Timestamp when the deployment was created.
    endpoints list(object)
    Endpoint URLs exposed by the deployment.
    id string
    ID of the dedicated inference deployment.
    name string
    Name of the dedicated inference deployment.
    region_slug string
    Region slug of the dedicated inference deployment.
    state string
    Current state of the deployment.
    updated_at string
    Timestamp when the deployment was last updated.
    createdAt String
    Timestamp when the deployment was created.
    endpoints List<GetGradientaiCustomModelsCustomModelActiveDeploymentEndpoint>
    Endpoint URLs exposed by the deployment.
    id String
    ID of the dedicated inference deployment.
    name String
    Name of the dedicated inference deployment.
    regionSlug String
    Region slug of the dedicated inference deployment.
    state String
    Current state of the deployment.
    updatedAt String
    Timestamp when the deployment was last updated.
    createdAt string
    Timestamp when the deployment was created.
    endpoints GetGradientaiCustomModelsCustomModelActiveDeploymentEndpoint[]
    Endpoint URLs exposed by the deployment.
    id string
    ID of the dedicated inference deployment.
    name string
    Name of the dedicated inference deployment.
    regionSlug string
    Region slug of the dedicated inference deployment.
    state string
    Current state of the deployment.
    updatedAt string
    Timestamp when the deployment was last updated.
    created_at str
    Timestamp when the deployment was created.
    endpoints Sequence[GetGradientaiCustomModelsCustomModelActiveDeploymentEndpoint]
    Endpoint URLs exposed by the deployment.
    id str
    ID of the dedicated inference deployment.
    name str
    Name of the dedicated inference deployment.
    region_slug str
    Region slug of the dedicated inference deployment.
    state str
    Current state of the deployment.
    updated_at str
    Timestamp when the deployment was last updated.
    createdAt String
    Timestamp when the deployment was created.
    endpoints List<Property Map>
    Endpoint URLs exposed by the deployment.
    id String
    ID of the dedicated inference deployment.
    name String
    Name of the dedicated inference deployment.
    regionSlug String
    Region slug of the dedicated inference deployment.
    state String
    Current state of the deployment.
    updatedAt String
    Timestamp when the deployment was last updated.

    GetGradientaiCustomModelsCustomModelActiveDeploymentEndpoint

    PrivateEndpointFqdn string
    Private endpoint FQDN.
    PublicEndpointFqdn string
    Public endpoint FQDN, if enabled.
    PrivateEndpointFqdn string
    Private endpoint FQDN.
    PublicEndpointFqdn string
    Public endpoint FQDN, if enabled.
    private_endpoint_fqdn string
    Private endpoint FQDN.
    public_endpoint_fqdn string
    Public endpoint FQDN, if enabled.
    privateEndpointFqdn String
    Private endpoint FQDN.
    publicEndpointFqdn String
    Public endpoint FQDN, if enabled.
    privateEndpointFqdn string
    Private endpoint FQDN.
    publicEndpointFqdn string
    Public endpoint FQDN, if enabled.
    private_endpoint_fqdn str
    Private endpoint FQDN.
    public_endpoint_fqdn str
    Public endpoint FQDN, if enabled.
    privateEndpointFqdn String
    Private endpoint FQDN.
    publicEndpointFqdn String
    Public endpoint FQDN, if enabled.

    GetGradientaiCustomModelsCustomModelSourceRef

    AccessType string
    Access type for the source repository (e.g. ACCESS_TYPE_PUBLIC).
    Bucket string
    Spaces bucket name for SPACES_BUCKET sources.
    CommitSha string
    Commit SHA pinned for the import.
    Prefix string
    Key prefix inside the source bucket.
    Region string
    Region of the source bucket.
    RepoId string
    Repository identifier (e.g. HuggingFace repo).
    AccessType string
    Access type for the source repository (e.g. ACCESS_TYPE_PUBLIC).
    Bucket string
    Spaces bucket name for SPACES_BUCKET sources.
    CommitSha string
    Commit SHA pinned for the import.
    Prefix string
    Key prefix inside the source bucket.
    Region string
    Region of the source bucket.
    RepoId string
    Repository identifier (e.g. HuggingFace repo).
    access_type string
    Access type for the source repository (e.g. ACCESS_TYPE_PUBLIC).
    bucket string
    Spaces bucket name for SPACES_BUCKET sources.
    commit_sha string
    Commit SHA pinned for the import.
    prefix string
    Key prefix inside the source bucket.
    region string
    Region of the source bucket.
    repo_id string
    Repository identifier (e.g. HuggingFace repo).
    accessType String
    Access type for the source repository (e.g. ACCESS_TYPE_PUBLIC).
    bucket String
    Spaces bucket name for SPACES_BUCKET sources.
    commitSha String
    Commit SHA pinned for the import.
    prefix String
    Key prefix inside the source bucket.
    region String
    Region of the source bucket.
    repoId String
    Repository identifier (e.g. HuggingFace repo).
    accessType string
    Access type for the source repository (e.g. ACCESS_TYPE_PUBLIC).
    bucket string
    Spaces bucket name for SPACES_BUCKET sources.
    commitSha string
    Commit SHA pinned for the import.
    prefix string
    Key prefix inside the source bucket.
    region string
    Region of the source bucket.
    repoId string
    Repository identifier (e.g. HuggingFace repo).
    access_type str
    Access type for the source repository (e.g. ACCESS_TYPE_PUBLIC).
    bucket str
    Spaces bucket name for SPACES_BUCKET sources.
    commit_sha str
    Commit SHA pinned for the import.
    prefix str
    Key prefix inside the source bucket.
    region str
    Region of the source bucket.
    repo_id str
    Repository identifier (e.g. HuggingFace repo).
    accessType String
    Access type for the source repository (e.g. ACCESS_TYPE_PUBLIC).
    bucket String
    Spaces bucket name for SPACES_BUCKET sources.
    commitSha String
    Commit SHA pinned for the import.
    prefix String
    Key prefix inside the source bucket.
    region String
    Region of the source bucket.
    repoId String
    Repository identifier (e.g. HuggingFace repo).

    GetGradientaiCustomModelsFilter

    Key string
    Values List<string>
    All bool
    MatchBy string
    Key string
    Values []string
    All bool
    MatchBy string
    key string
    values list(string)
    all bool
    match_by string
    key String
    values List<String>
    all Boolean
    matchBy String
    key string
    values string[]
    all boolean
    matchBy string
    key str
    values Sequence[str]
    all bool
    match_by str
    key String
    values List<String>
    all Boolean
    matchBy String

    GetGradientaiCustomModelsSort

    Key string
    Direction string
    Key string
    Direction string
    key string
    direction string
    key String
    direction String
    key string
    direction string
    key str
    direction str
    key String
    direction String

    Package Details

    Repository
    DigitalOcean pulumi/pulumi-digitalocean
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the digitalocean Terraform Provider.
    digitalocean logo
    Viewing docs for DigitalOcean v4.71.0
    published on Saturday, Jun 20, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial