1. Registry
  2. Packages
  3. DigitalOcean Provider
  4. API Docs
  5. getAgentPlatformCustomModels
Viewing docs for DigitalOcean v4.84.1
published on Tuesday, Oct 13, 2026 by Pulumi
digitalocean logo
Viewing docs for DigitalOcean v4.84.1
published on Tuesday, Oct 13, 2026 by Pulumi

    Using getAgentPlatformCustomModels

    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 getAgentPlatformCustomModels(args: GetAgentPlatformCustomModelsArgs, opts?: InvokeOptions): Promise<GetAgentPlatformCustomModelsResult>
    function getAgentPlatformCustomModelsOutput(args: GetAgentPlatformCustomModelsOutputArgs, opts?: InvokeOutputOptions): Output<GetAgentPlatformCustomModelsResult>
    def get_agent_platform_custom_models(filters: Optional[Sequence[GetAgentPlatformCustomModelsFilter]] = None,
                                         sorts: Optional[Sequence[GetAgentPlatformCustomModelsSort]] = None,
                                         status: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetAgentPlatformCustomModelsResult
    def get_agent_platform_custom_models_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetAgentPlatformCustomModelsFilterArgs]]]] = None,
                                         sorts: pulumi.Input[Optional[Sequence[pulumi.Input[GetAgentPlatformCustomModelsSortArgs]]]] = None,
                                         status: pulumi.Input[Optional[str]] = None,
                                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetAgentPlatformCustomModelsResult]
    func GetAgentPlatformCustomModels(ctx *Context, args *GetAgentPlatformCustomModelsArgs, opts ...InvokeOption) (*GetAgentPlatformCustomModelsResult, error)
    func GetAgentPlatformCustomModelsOutput(ctx *Context, args *GetAgentPlatformCustomModelsOutputArgs, opts ...InvokeOption) GetAgentPlatformCustomModelsResultOutput

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

    public static class GetAgentPlatformCustomModels 
    {
        public static Task<GetAgentPlatformCustomModelsResult> InvokeAsync(GetAgentPlatformCustomModelsArgs args, InvokeOptions? opts = null)
        public static Output<GetAgentPlatformCustomModelsResult> Invoke(GetAgentPlatformCustomModelsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetAgentPlatformCustomModelsResult> Invoke(GetAgentPlatformCustomModelsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAgentPlatformCustomModelsResult> getAgentPlatformCustomModels(GetAgentPlatformCustomModelsArgs args, InvokeOptions options)
    public static Output<GetAgentPlatformCustomModelsResult> getAgentPlatformCustomModels(GetAgentPlatformCustomModelsArgs args, InvokeOptions options)
    public static Output<GetAgentPlatformCustomModelsResult> getAgentPlatformCustomModels(GetAgentPlatformCustomModelsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: digitalocean:index/getAgentPlatformCustomModels:getAgentPlatformCustomModels
      arguments:
        # arguments dictionary
    data "digitalocean_get_agent_platform_custom_models" "name" {
        # arguments
    }

    The following arguments are supported:

    getAgentPlatformCustomModels 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

    GetAgentPlatformCustomModelsCustomModel

    ActiveDeployments List<Pulumi.DigitalOcean.Inputs.GetAgentPlatformCustomModelsCustomModelActiveDeployment>
    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.
    ErrorMessage string
    Error message if the custom model import failed.
    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.GetAgentPlatformCustomModelsCustomModelSourceRef>
    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 []GetAgentPlatformCustomModelsCustomModelActiveDeployment
    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.
    ErrorMessage string
    Error message if the custom model import failed.
    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 []GetAgentPlatformCustomModelsCustomModelSourceRef
    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.
    error_message string
    Error message if the custom model import failed.
    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<GetAgentPlatformCustomModelsCustomModelActiveDeployment>
    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.
    errorMessage String
    Error message if the custom model import failed.
    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<GetAgentPlatformCustomModelsCustomModelSourceRef>
    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 GetAgentPlatformCustomModelsCustomModelActiveDeployment[]
    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.
    errorMessage string
    Error message if the custom model import failed.
    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 GetAgentPlatformCustomModelsCustomModelSourceRef[]
    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[GetAgentPlatformCustomModelsCustomModelActiveDeployment]
    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.
    error_message str
    Error message if the custom model import failed.
    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[GetAgentPlatformCustomModelsCustomModelSourceRef]
    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.
    errorMessage String
    Error message if the custom model import failed.
    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.

    GetAgentPlatformCustomModelsCustomModelActiveDeployment

    CreatedAt string
    Timestamp when the deployment was created.
    Endpoints List<Pulumi.DigitalOcean.Inputs.GetAgentPlatformCustomModelsCustomModelActiveDeploymentEndpoint>
    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 []GetAgentPlatformCustomModelsCustomModelActiveDeploymentEndpoint
    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<GetAgentPlatformCustomModelsCustomModelActiveDeploymentEndpoint>
    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 GetAgentPlatformCustomModelsCustomModelActiveDeploymentEndpoint[]
    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[GetAgentPlatformCustomModelsCustomModelActiveDeploymentEndpoint]
    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.

    GetAgentPlatformCustomModelsCustomModelActiveDeploymentEndpoint

    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.

    GetAgentPlatformCustomModelsCustomModelSourceRef

    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).

    GetAgentPlatformCustomModelsFilter

    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

    GetAgentPlatformCustomModelsSort

    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.84.1
    published on Tuesday, Oct 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial