1. Packages
  2. DigitalOcean Provider
  3. API Docs
  4. getGenaiKnowledgeBase
DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi

digitalocean.getGenaiKnowledgeBase

Explore with Pulumi AI

digitalocean logo
DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi

    Using getGenaiKnowledgeBase

    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 getGenaiKnowledgeBase(args: GetGenaiKnowledgeBaseArgs, opts?: InvokeOptions): Promise<GetGenaiKnowledgeBaseResult>
    function getGenaiKnowledgeBaseOutput(args: GetGenaiKnowledgeBaseOutputArgs, opts?: InvokeOptions): Output<GetGenaiKnowledgeBaseResult>
    def get_genai_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[GetGenaiKnowledgeBaseLastIndexingJob]] = 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) -> GetGenaiKnowledgeBaseResult
    def get_genai_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[GetGenaiKnowledgeBaseLastIndexingJobArgs]]]] = 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[GetGenaiKnowledgeBaseResult]
    func LookupGenaiKnowledgeBase(ctx *Context, args *LookupGenaiKnowledgeBaseArgs, opts ...InvokeOption) (*LookupGenaiKnowledgeBaseResult, error)
    func LookupGenaiKnowledgeBaseOutput(ctx *Context, args *LookupGenaiKnowledgeBaseOutputArgs, opts ...InvokeOption) LookupGenaiKnowledgeBaseResultOutput

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

    public static class GetGenaiKnowledgeBase 
    {
        public static Task<GetGenaiKnowledgeBaseResult> InvokeAsync(GetGenaiKnowledgeBaseArgs args, InvokeOptions? opts = null)
        public static Output<GetGenaiKnowledgeBaseResult> Invoke(GetGenaiKnowledgeBaseInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGenaiKnowledgeBaseResult> getGenaiKnowledgeBase(GetGenaiKnowledgeBaseArgs args, InvokeOptions options)
    public static Output<GetGenaiKnowledgeBaseResult> getGenaiKnowledgeBase(GetGenaiKnowledgeBaseArgs args, InvokeOptions options)
    
    fn::invoke:
      function: digitalocean:index/getGenaiKnowledgeBase:getGenaiKnowledgeBase
      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

    getGenaiKnowledgeBase 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.GetGenaiKnowledgeBaseLastIndexingJob>
    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 []GetGenaiKnowledgeBaseLastIndexingJob
    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<GetGenaiKnowledgeBaseLastIndexingJob>
    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 GetGenaiKnowledgeBaseLastIndexingJob[]
    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[GetGenaiKnowledgeBaseLastIndexingJob]
    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

    GetGenaiKnowledgeBaseLastIndexingJob

    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.51.0 published on Thursday, Aug 14, 2025 by Pulumi