1. Packages
  2. DigitalOcean Provider
  3. API Docs
  4. getGradientaiOpenaiApiKeys
DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
digitalocean logo
DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi

    Using getGradientaiOpenaiApiKeys

    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 getGradientaiOpenaiApiKeys(args: GetGradientaiOpenaiApiKeysArgs, opts?: InvokeOptions): Promise<GetGradientaiOpenaiApiKeysResult>
    function getGradientaiOpenaiApiKeysOutput(args: GetGradientaiOpenaiApiKeysOutputArgs, opts?: InvokeOptions): Output<GetGradientaiOpenaiApiKeysResult>
    def get_gradientai_openai_api_keys(filters: Optional[Sequence[GetGradientaiOpenaiApiKeysFilter]] = None,
                                       sorts: Optional[Sequence[GetGradientaiOpenaiApiKeysSort]] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetGradientaiOpenaiApiKeysResult
    def get_gradientai_openai_api_keys_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetGradientaiOpenaiApiKeysFilterArgs]]]] = None,
                                       sorts: Optional[pulumi.Input[Sequence[pulumi.Input[GetGradientaiOpenaiApiKeysSortArgs]]]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetGradientaiOpenaiApiKeysResult]
    func GetGradientaiOpenaiApiKeys(ctx *Context, args *GetGradientaiOpenaiApiKeysArgs, opts ...InvokeOption) (*GetGradientaiOpenaiApiKeysResult, error)
    func GetGradientaiOpenaiApiKeysOutput(ctx *Context, args *GetGradientaiOpenaiApiKeysOutputArgs, opts ...InvokeOption) GetGradientaiOpenaiApiKeysResultOutput

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

    public static class GetGradientaiOpenaiApiKeys 
    {
        public static Task<GetGradientaiOpenaiApiKeysResult> InvokeAsync(GetGradientaiOpenaiApiKeysArgs args, InvokeOptions? opts = null)
        public static Output<GetGradientaiOpenaiApiKeysResult> Invoke(GetGradientaiOpenaiApiKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGradientaiOpenaiApiKeysResult> getGradientaiOpenaiApiKeys(GetGradientaiOpenaiApiKeysArgs args, InvokeOptions options)
    public static Output<GetGradientaiOpenaiApiKeysResult> getGradientaiOpenaiApiKeys(GetGradientaiOpenaiApiKeysArgs args, InvokeOptions options)
    
    fn::invoke:
      function: digitalocean:index/getGradientaiOpenaiApiKeys:getGradientaiOpenaiApiKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getGradientaiOpenaiApiKeys Result

    The following output properties are available:

    id String
    The provider-assigned unique ID for this managed resource.
    openaiApiKeys List<Property Map>
    filters List<Property Map>
    sorts List<Property Map>

    Supporting Types

    GetGradientaiOpenaiApiKeysFilter

    Key string
    Values List<string>
    All bool
    MatchBy string
    Key string
    Values []string
    All bool
    MatchBy 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

    GetGradientaiOpenaiApiKeysOpenaiApiKey

    CreatedAt string
    Timestamp when the API Key was created
    CreatedBy string
    Created By user ID for the API Key
    DeletedAt string
    Deleted At timestamp for the API Key
    Models List<Pulumi.DigitalOcean.Inputs.GetGradientaiOpenaiApiKeysOpenaiApiKeyModel>
    List of models associated with the API Key
    Name string
    Name of the API Key
    UpdatedAt string
    Updated At timestamp for the API Key
    Uuid string
    OpenAI API Key Uuid
    CreatedAt string
    Timestamp when the API Key was created
    CreatedBy string
    Created By user ID for the API Key
    DeletedAt string
    Deleted At timestamp for the API Key
    Models []GetGradientaiOpenaiApiKeysOpenaiApiKeyModel
    List of models associated with the API Key
    Name string
    Name of the API Key
    UpdatedAt string
    Updated At timestamp for the API Key
    Uuid string
    OpenAI API Key Uuid
    createdAt String
    Timestamp when the API Key was created
    createdBy String
    Created By user ID for the API Key
    deletedAt String
    Deleted At timestamp for the API Key
    models List<GetGradientaiOpenaiApiKeysOpenaiApiKeyModel>
    List of models associated with the API Key
    name String
    Name of the API Key
    updatedAt String
    Updated At timestamp for the API Key
    uuid String
    OpenAI API Key Uuid
    createdAt string
    Timestamp when the API Key was created
    createdBy string
    Created By user ID for the API Key
    deletedAt string
    Deleted At timestamp for the API Key
    models GetGradientaiOpenaiApiKeysOpenaiApiKeyModel[]
    List of models associated with the API Key
    name string
    Name of the API Key
    updatedAt string
    Updated At timestamp for the API Key
    uuid string
    OpenAI API Key Uuid
    created_at str
    Timestamp when the API Key was created
    created_by str
    Created By user ID for the API Key
    deleted_at str
    Deleted At timestamp for the API Key
    models Sequence[GetGradientaiOpenaiApiKeysOpenaiApiKeyModel]
    List of models associated with the API Key
    name str
    Name of the API Key
    updated_at str
    Updated At timestamp for the API Key
    uuid str
    OpenAI API Key Uuid
    createdAt String
    Timestamp when the API Key was created
    createdBy String
    Created By user ID for the API Key
    deletedAt String
    Deleted At timestamp for the API Key
    models List<Property Map>
    List of models associated with the API Key
    name String
    Name of the API Key
    updatedAt String
    Updated At timestamp for the API Key
    uuid String
    OpenAI API Key Uuid

    GetGradientaiOpenaiApiKeysOpenaiApiKeyModel

    CreatedAt string
    Created At timestamp for the Knowledge Base
    UpdatedAt string
    Timestamp when the Knowledge Base was updated
    Agreements List<Pulumi.DigitalOcean.Inputs.GetGradientaiOpenaiApiKeysOpenaiApiKeyModelAgreement>
    Agreement information for the model
    InferenceName string
    Inference name of the model
    InferenceVersion string
    Infernce version of the model
    IsFoundational bool
    Indicates if the Model Base is foundational
    Name string
    Name of the Knowledge Base
    ParentUuid string
    Parent UUID of the Model
    Provider string
    Provider of the Model
    UploadComplete bool
    Indicates if the Model upload is complete
    Url string
    URL of the Model
    Usecases List<string>
    List of Usecases for the Model
    Versions List<Pulumi.DigitalOcean.Inputs.GetGradientaiOpenaiApiKeysOpenaiApiKeyModelVersion>
    URL of the Model
    CreatedAt string
    Created At timestamp for the Knowledge Base
    UpdatedAt string
    Timestamp when the Knowledge Base was updated
    Agreements []GetGradientaiOpenaiApiKeysOpenaiApiKeyModelAgreement
    Agreement information for the model
    InferenceName string
    Inference name of the model
    InferenceVersion string
    Infernce version of the model
    IsFoundational bool
    Indicates if the Model Base is foundational
    Name string
    Name of the Knowledge Base
    ParentUuid string
    Parent UUID of the Model
    Provider string
    Provider of the Model
    UploadComplete bool
    Indicates if the Model upload is complete
    Url string
    URL of the Model
    Usecases []string
    List of Usecases for the Model
    Versions []GetGradientaiOpenaiApiKeysOpenaiApiKeyModelVersion
    URL of the Model
    createdAt String
    Created At timestamp for the Knowledge Base
    updatedAt String
    Timestamp when the Knowledge Base was updated
    agreements List<GetGradientaiOpenaiApiKeysOpenaiApiKeyModelAgreement>
    Agreement information for the model
    inferenceName String
    Inference name of the model
    inferenceVersion String
    Infernce version of the model
    isFoundational Boolean
    Indicates if the Model Base is foundational
    name String
    Name of the Knowledge Base
    parentUuid String
    Parent UUID of the Model
    provider String
    Provider of the Model
    uploadComplete Boolean
    Indicates if the Model upload is complete
    url String
    URL of the Model
    usecases List<String>
    List of Usecases for the Model
    versions List<GetGradientaiOpenaiApiKeysOpenaiApiKeyModelVersion>
    URL of the Model
    createdAt string
    Created At timestamp for the Knowledge Base
    updatedAt string
    Timestamp when the Knowledge Base was updated
    agreements GetGradientaiOpenaiApiKeysOpenaiApiKeyModelAgreement[]
    Agreement information for the model
    inferenceName string
    Inference name of the model
    inferenceVersion string
    Infernce version of the model
    isFoundational boolean
    Indicates if the Model Base is foundational
    name string
    Name of the Knowledge Base
    parentUuid string
    Parent UUID of the Model
    provider string
    Provider of the Model
    uploadComplete boolean
    Indicates if the Model upload is complete
    url string
    URL of the Model
    usecases string[]
    List of Usecases for the Model
    versions GetGradientaiOpenaiApiKeysOpenaiApiKeyModelVersion[]
    URL of the Model
    created_at str
    Created At timestamp for the Knowledge Base
    updated_at str
    Timestamp when the Knowledge Base was updated
    agreements Sequence[GetGradientaiOpenaiApiKeysOpenaiApiKeyModelAgreement]
    Agreement information for the model
    inference_name str
    Inference name of the model
    inference_version str
    Infernce version of the model
    is_foundational bool
    Indicates if the Model Base is foundational
    name str
    Name of the Knowledge Base
    parent_uuid str
    Parent UUID of the Model
    provider str
    Provider of the Model
    upload_complete bool
    Indicates if the Model upload is complete
    url str
    URL of the Model
    usecases Sequence[str]
    List of Usecases for the Model
    versions Sequence[GetGradientaiOpenaiApiKeysOpenaiApiKeyModelVersion]
    URL of the Model
    createdAt String
    Created At timestamp for the Knowledge Base
    updatedAt String
    Timestamp when the Knowledge Base was updated
    agreements List<Property Map>
    Agreement information for the model
    inferenceName String
    Inference name of the model
    inferenceVersion String
    Infernce version of the model
    isFoundational Boolean
    Indicates if the Model Base is foundational
    name String
    Name of the Knowledge Base
    parentUuid String
    Parent UUID of the Model
    provider String
    Provider of the Model
    uploadComplete Boolean
    Indicates if the Model upload is complete
    url String
    URL of the Model
    usecases List<String>
    List of Usecases for the Model
    versions List<Property Map>
    URL of the Model

    GetGradientaiOpenaiApiKeysOpenaiApiKeyModelAgreement

    Description string
    Description of the agreement
    Name string
    Name of the agreement
    Url string
    URL of the agreement
    Uuid string
    UUID of the agreement
    Description string
    Description of the agreement
    Name string
    Name of the agreement
    Url string
    URL of the agreement
    Uuid string
    UUID of the agreement
    description String
    Description of the agreement
    name String
    Name of the agreement
    url String
    URL of the agreement
    uuid String
    UUID of the agreement
    description string
    Description of the agreement
    name string
    Name of the agreement
    url string
    URL of the agreement
    uuid string
    UUID of the agreement
    description str
    Description of the agreement
    name str
    Name of the agreement
    url str
    URL of the agreement
    uuid str
    UUID of the agreement
    description String
    Description of the agreement
    name String
    Name of the agreement
    url String
    URL of the agreement
    uuid String
    UUID of the agreement

    GetGradientaiOpenaiApiKeysOpenaiApiKeyModelVersion

    Major int
    Major version of the model
    Minor int
    Minor version of the model
    Patch int
    Patch version of the model
    Major int
    Major version of the model
    Minor int
    Minor version of the model
    Patch int
    Patch version of the model
    major Integer
    Major version of the model
    minor Integer
    Minor version of the model
    patch Integer
    Patch version of the model
    major number
    Major version of the model
    minor number
    Minor version of the model
    patch number
    Patch version of the model
    major int
    Major version of the model
    minor int
    Minor version of the model
    patch int
    Patch version of the model
    major Number
    Major version of the model
    minor Number
    Minor version of the model
    patch Number
    Patch version of the model

    GetGradientaiOpenaiApiKeysSort

    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
    DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate