1. Packages
  2. DigitalOcean Provider
  3. API Docs
  4. getGradientaiKnowledgeBase
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 getGradientaiKnowledgeBase

    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 getGradientaiKnowledgeBase(args: GetGradientaiKnowledgeBaseArgs, opts?: InvokeOptions): Promise<GetGradientaiKnowledgeBaseResult>
    function getGradientaiKnowledgeBaseOutput(args: GetGradientaiKnowledgeBaseOutputArgs, opts?: InvokeOptions): Output<GetGradientaiKnowledgeBaseResult>
    def get_gradientai_knowledge_base(added_to_agent_at: Optional[str] = None,
                                      database_id: Optional[str] = None,
                                      embedding_model_uuid: Optional[str] = None,
                                      is_public: Optional[bool] = None,
                                      last_indexing_jobs: Optional[Sequence[GetGradientaiKnowledgeBaseLastIndexingJob]] = None,
                                      name: Optional[str] = None,
                                      project_id: Optional[str] = None,
                                      region: Optional[str] = None,
                                      tags: Optional[Sequence[str]] = None,
                                      user_id: Optional[str] = None,
                                      uuid: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetGradientaiKnowledgeBaseResult
    def get_gradientai_knowledge_base_output(added_to_agent_at: Optional[pulumi.Input[str]] = None,
                                      database_id: Optional[pulumi.Input[str]] = None,
                                      embedding_model_uuid: Optional[pulumi.Input[str]] = None,
                                      is_public: Optional[pulumi.Input[bool]] = None,
                                      last_indexing_jobs: Optional[pulumi.Input[Sequence[pulumi.Input[GetGradientaiKnowledgeBaseLastIndexingJobArgs]]]] = None,
                                      name: Optional[pulumi.Input[str]] = None,
                                      project_id: Optional[pulumi.Input[str]] = None,
                                      region: Optional[pulumi.Input[str]] = None,
                                      tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                      user_id: Optional[pulumi.Input[str]] = None,
                                      uuid: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetGradientaiKnowledgeBaseResult]
    func LookupGradientaiKnowledgeBase(ctx *Context, args *LookupGradientaiKnowledgeBaseArgs, opts ...InvokeOption) (*LookupGradientaiKnowledgeBaseResult, error)
    func LookupGradientaiKnowledgeBaseOutput(ctx *Context, args *LookupGradientaiKnowledgeBaseOutputArgs, opts ...InvokeOption) LookupGradientaiKnowledgeBaseResultOutput

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

    public static class GetGradientaiKnowledgeBase 
    {
        public static Task<GetGradientaiKnowledgeBaseResult> InvokeAsync(GetGradientaiKnowledgeBaseArgs args, InvokeOptions? opts = null)
        public static Output<GetGradientaiKnowledgeBaseResult> Invoke(GetGradientaiKnowledgeBaseInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGradientaiKnowledgeBaseResult> getGradientaiKnowledgeBase(GetGradientaiKnowledgeBaseArgs args, InvokeOptions options)
    public static Output<GetGradientaiKnowledgeBaseResult> getGradientaiKnowledgeBase(GetGradientaiKnowledgeBaseArgs args, InvokeOptions options)
    
    fn::invoke:
      function: digitalocean:index/getGradientaiKnowledgeBase:getGradientaiKnowledgeBase
      arguments:
        # arguments dictionary

    The following arguments are supported:

    addedToAgentAt String
    databaseId String
    embeddingModelUuid String
    isPublic Boolean
    lastIndexingJobs List<Property Map>
    name String
    projectId String
    region String
    tags List<String>
    userId String
    uuid String

    getGradientaiKnowledgeBase Result

    The following output properties are available:

    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    AddedToAgentAt string
    DatabaseId string
    EmbeddingModelUuid string
    IsPublic bool
    LastIndexingJobs List<Pulumi.DigitalOcean.Outputs.GetGradientaiKnowledgeBaseLastIndexingJob>
    Name string
    ProjectId string
    Region string
    Tags List<string>
    UserId string
    Uuid string
    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    AddedToAgentAt string
    DatabaseId string
    EmbeddingModelUuid string
    IsPublic bool
    LastIndexingJobs []GetGradientaiKnowledgeBaseLastIndexingJob
    Name string
    ProjectId string
    Region string
    Tags []string
    UserId string
    Uuid string
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    addedToAgentAt String
    databaseId String
    embeddingModelUuid String
    isPublic Boolean
    lastIndexingJobs List<GetGradientaiKnowledgeBaseLastIndexingJob>
    name String
    projectId String
    region String
    tags List<String>
    userId String
    uuid String
    createdAt string
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    addedToAgentAt string
    databaseId string
    embeddingModelUuid string
    isPublic boolean
    lastIndexingJobs GetGradientaiKnowledgeBaseLastIndexingJob[]
    name string
    projectId string
    region string
    tags string[]
    userId string
    uuid string
    created_at str
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    added_to_agent_at str
    database_id str
    embedding_model_uuid str
    is_public bool
    last_indexing_jobs Sequence[GetGradientaiKnowledgeBaseLastIndexingJob]
    name str
    project_id str
    region str
    tags Sequence[str]
    user_id str
    uuid str
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    addedToAgentAt String
    databaseId String
    embeddingModelUuid String
    isPublic Boolean
    lastIndexingJobs List<Property Map>
    name String
    projectId String
    region String
    tags List<String>
    userId String
    uuid String

    Supporting Types

    GetGradientaiKnowledgeBaseLastIndexingJob

    CreatedAt string
    Created At timestamp for the last indexing job
    FinishedAt string
    Timestamp when the last indexing job finished
    KnowledgeBaseUuid string
    UUID of the Knowledge Base for the last indexing job
    StartedAt string
    Timestamp when the last indexing job started
    UpdatedAt string
    Timestamp when the last indexing job updated
    CompletedDatasources int
    Number of completed datasources in the last indexing job
    DataSourceUuids List<string>
    Datasource UUIDs for the last indexing job
    Phase string
    Phase of the last indexing job
    Tokens int
    Number of tokens processed in the last indexing job
    TotalDatasources int
    Total number of datasources in the last indexing job
    Uuid string
    UUID of the last indexing job
    CreatedAt string
    Created At timestamp for the last indexing job
    FinishedAt string
    Timestamp when the last indexing job finished
    KnowledgeBaseUuid string
    UUID of the Knowledge Base for the last indexing job
    StartedAt string
    Timestamp when the last indexing job started
    UpdatedAt string
    Timestamp when the last indexing job updated
    CompletedDatasources int
    Number of completed datasources in the last indexing job
    DataSourceUuids []string
    Datasource UUIDs for the last indexing job
    Phase string
    Phase of the last indexing job
    Tokens int
    Number of tokens processed in the last indexing job
    TotalDatasources int
    Total number of datasources in the last indexing job
    Uuid string
    UUID of the last indexing job
    createdAt String
    Created At timestamp for the last indexing job
    finishedAt String
    Timestamp when the last indexing job finished
    knowledgeBaseUuid String
    UUID of the Knowledge Base for the last indexing job
    startedAt String
    Timestamp when the last indexing job started
    updatedAt String
    Timestamp when the last indexing job updated
    completedDatasources Integer
    Number of completed datasources in the last indexing job
    dataSourceUuids List<String>
    Datasource UUIDs for the last indexing job
    phase String
    Phase of the last indexing job
    tokens Integer
    Number of tokens processed in the last indexing job
    totalDatasources Integer
    Total number of datasources in the last indexing job
    uuid String
    UUID of the last indexing job
    createdAt string
    Created At timestamp for the last indexing job
    finishedAt string
    Timestamp when the last indexing job finished
    knowledgeBaseUuid string
    UUID of the Knowledge Base for the last indexing job
    startedAt string
    Timestamp when the last indexing job started
    updatedAt string
    Timestamp when the last indexing job updated
    completedDatasources number
    Number of completed datasources in the last indexing job
    dataSourceUuids string[]
    Datasource UUIDs for the last indexing job
    phase string
    Phase of the last indexing job
    tokens number
    Number of tokens processed in the last indexing job
    totalDatasources number
    Total number of datasources in the last indexing job
    uuid string
    UUID of the last indexing job
    created_at str
    Created At timestamp for the last indexing job
    finished_at str
    Timestamp when the last indexing job finished
    knowledge_base_uuid str
    UUID of the Knowledge Base for the last indexing job
    started_at str
    Timestamp when the last indexing job started
    updated_at str
    Timestamp when the last indexing job updated
    completed_datasources int
    Number of completed datasources in the last indexing job
    data_source_uuids Sequence[str]
    Datasource UUIDs for the last indexing job
    phase str
    Phase of the last indexing job
    tokens int
    Number of tokens processed in the last indexing job
    total_datasources int
    Total number of datasources in the last indexing job
    uuid str
    UUID of the last indexing job
    createdAt String
    Created At timestamp for the last indexing job
    finishedAt String
    Timestamp when the last indexing job finished
    knowledgeBaseUuid String
    UUID of the Knowledge Base for the last indexing job
    startedAt String
    Timestamp when the last indexing job started
    updatedAt String
    Timestamp when the last indexing job updated
    completedDatasources Number
    Number of completed datasources in the last indexing job
    dataSourceUuids List<String>
    Datasource UUIDs for the last indexing job
    phase String
    Phase of the last indexing job
    tokens Number
    Number of tokens processed in the last indexing job
    totalDatasources Number
    Total number of datasources in the last indexing job
    uuid String
    UUID of the last indexing job

    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