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

digitalocean.getGenaiKnowledgeBases

Explore with Pulumi AI

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

    Using getGenaiKnowledgeBases

    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 getGenaiKnowledgeBases(args: GetGenaiKnowledgeBasesArgs, opts?: InvokeOptions): Promise<GetGenaiKnowledgeBasesResult>
    function getGenaiKnowledgeBasesOutput(args: GetGenaiKnowledgeBasesOutputArgs, opts?: InvokeOptions): Output<GetGenaiKnowledgeBasesResult>
    def get_genai_knowledge_bases(filters: Optional[Sequence[GetGenaiKnowledgeBasesFilter]] = None,
                                  sorts: Optional[Sequence[GetGenaiKnowledgeBasesSort]] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetGenaiKnowledgeBasesResult
    def get_genai_knowledge_bases_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetGenaiKnowledgeBasesFilterArgs]]]] = None,
                                  sorts: Optional[pulumi.Input[Sequence[pulumi.Input[GetGenaiKnowledgeBasesSortArgs]]]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetGenaiKnowledgeBasesResult]
    func GetGenaiKnowledgeBases(ctx *Context, args *GetGenaiKnowledgeBasesArgs, opts ...InvokeOption) (*GetGenaiKnowledgeBasesResult, error)
    func GetGenaiKnowledgeBasesOutput(ctx *Context, args *GetGenaiKnowledgeBasesOutputArgs, opts ...InvokeOption) GetGenaiKnowledgeBasesResultOutput

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

    public static class GetGenaiKnowledgeBases 
    {
        public static Task<GetGenaiKnowledgeBasesResult> InvokeAsync(GetGenaiKnowledgeBasesArgs args, InvokeOptions? opts = null)
        public static Output<GetGenaiKnowledgeBasesResult> Invoke(GetGenaiKnowledgeBasesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGenaiKnowledgeBasesResult> getGenaiKnowledgeBases(GetGenaiKnowledgeBasesArgs args, InvokeOptions options)
    public static Output<GetGenaiKnowledgeBasesResult> getGenaiKnowledgeBases(GetGenaiKnowledgeBasesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: digitalocean:index/getGenaiKnowledgeBases:getGenaiKnowledgeBases
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getGenaiKnowledgeBases Result

    The following output properties are available:

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

    Supporting Types

    GetGenaiKnowledgeBasesFilter

    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

    GetGenaiKnowledgeBasesKnowledgeBase

    AddedToAgentAt string
    Timestamp when the Knowledge Base was added to the Agent
    CreatedAt string
    Created At timestamp for the Knowledge Base
    DatabaseId string
    Database ID of the Knowledge Base
    EmbeddingModelUuid string
    Embedding model UUID for the Knowledge Base
    IsPublic bool
    Indicates if the Knowledge Base is public
    LastIndexingJobs List<Pulumi.DigitalOcean.Inputs.GetGenaiKnowledgeBasesKnowledgeBaseLastIndexingJob>
    Last indexing job for the Knowledge Base
    Name string
    Name of the Knowledge Base
    ProjectId string
    Project ID of the Knowledge Base
    Region string
    Region of the Knowledge Base
    Tags List<string>
    List of tags
    UpdatedAt string
    Timestamp when the Knowledge Base was updated
    UserId string
    User ID of the Knowledge Base
    Uuid string
    UUID of the Knowledge Base
    AddedToAgentAt string
    Timestamp when the Knowledge Base was added to the Agent
    CreatedAt string
    Created At timestamp for the Knowledge Base
    DatabaseId string
    Database ID of the Knowledge Base
    EmbeddingModelUuid string
    Embedding model UUID for the Knowledge Base
    IsPublic bool
    Indicates if the Knowledge Base is public
    LastIndexingJobs []GetGenaiKnowledgeBasesKnowledgeBaseLastIndexingJob
    Last indexing job for the Knowledge Base
    Name string
    Name of the Knowledge Base
    ProjectId string
    Project ID of the Knowledge Base
    Region string
    Region of the Knowledge Base
    Tags []string
    List of tags
    UpdatedAt string
    Timestamp when the Knowledge Base was updated
    UserId string
    User ID of the Knowledge Base
    Uuid string
    UUID of the Knowledge Base
    addedToAgentAt String
    Timestamp when the Knowledge Base was added to the Agent
    createdAt String
    Created At timestamp for the Knowledge Base
    databaseId String
    Database ID of the Knowledge Base
    embeddingModelUuid String
    Embedding model UUID for the Knowledge Base
    isPublic Boolean
    Indicates if the Knowledge Base is public
    lastIndexingJobs List<GetGenaiKnowledgeBasesKnowledgeBaseLastIndexingJob>
    Last indexing job for the Knowledge Base
    name String
    Name of the Knowledge Base
    projectId String
    Project ID of the Knowledge Base
    region String
    Region of the Knowledge Base
    tags List<String>
    List of tags
    updatedAt String
    Timestamp when the Knowledge Base was updated
    userId String
    User ID of the Knowledge Base
    uuid String
    UUID of the Knowledge Base
    addedToAgentAt string
    Timestamp when the Knowledge Base was added to the Agent
    createdAt string
    Created At timestamp for the Knowledge Base
    databaseId string
    Database ID of the Knowledge Base
    embeddingModelUuid string
    Embedding model UUID for the Knowledge Base
    isPublic boolean
    Indicates if the Knowledge Base is public
    lastIndexingJobs GetGenaiKnowledgeBasesKnowledgeBaseLastIndexingJob[]
    Last indexing job for the Knowledge Base
    name string
    Name of the Knowledge Base
    projectId string
    Project ID of the Knowledge Base
    region string
    Region of the Knowledge Base
    tags string[]
    List of tags
    updatedAt string
    Timestamp when the Knowledge Base was updated
    userId string
    User ID of the Knowledge Base
    uuid string
    UUID of the Knowledge Base
    added_to_agent_at str
    Timestamp when the Knowledge Base was added to the Agent
    created_at str
    Created At timestamp for the Knowledge Base
    database_id str
    Database ID of the Knowledge Base
    embedding_model_uuid str
    Embedding model UUID for the Knowledge Base
    is_public bool
    Indicates if the Knowledge Base is public
    last_indexing_jobs Sequence[GetGenaiKnowledgeBasesKnowledgeBaseLastIndexingJob]
    Last indexing job for the Knowledge Base
    name str
    Name of the Knowledge Base
    project_id str
    Project ID of the Knowledge Base
    region str
    Region of the Knowledge Base
    tags Sequence[str]
    List of tags
    updated_at str
    Timestamp when the Knowledge Base was updated
    user_id str
    User ID of the Knowledge Base
    uuid str
    UUID of the Knowledge Base
    addedToAgentAt String
    Timestamp when the Knowledge Base was added to the Agent
    createdAt String
    Created At timestamp for the Knowledge Base
    databaseId String
    Database ID of the Knowledge Base
    embeddingModelUuid String
    Embedding model UUID for the Knowledge Base
    isPublic Boolean
    Indicates if the Knowledge Base is public
    lastIndexingJobs List<Property Map>
    Last indexing job for the Knowledge Base
    name String
    Name of the Knowledge Base
    projectId String
    Project ID of the Knowledge Base
    region String
    Region of the Knowledge Base
    tags List<String>
    List of tags
    updatedAt String
    Timestamp when the Knowledge Base was updated
    userId String
    User ID of the Knowledge Base
    uuid String
    UUID of the Knowledge Base

    GetGenaiKnowledgeBasesKnowledgeBaseLastIndexingJob

    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

    GetGenaiKnowledgeBasesSort

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